public class RadioToolButton extends ToggleToolButton
RadioToolButton
is a ToolItem
that contains a
RadioButton
. It is a part of a group of ToggleButtons
where only one button can be active at a time.ToggleToolButton.Toggled
ToolButton.Clicked
Widget.ButtonPressEvent, Widget.ButtonReleaseEvent, Widget.Destroy, Widget.Draw, Widget.EnterNotifyEvent, Widget.FocusInEvent, Widget.FocusOutEvent, Widget.Hide, Widget.KeyPressEvent, Widget.KeyReleaseEvent, Widget.LeaveNotifyEvent, Widget.MapEvent, Widget.MotionNotifyEvent, Widget.PopupMenu, Widget.QueryTooltip, Widget.ScrollEvent, Widget.SizeAllocate, Widget.UnmapEvent, Widget.VisibilityNotifyEvent
Constructor and Description |
---|
RadioToolButton(RadioGroup group)
Create a new RadioToolButton and add it to a RadioGroup.
|
RadioToolButton(RadioGroup group,
Stock stock)
Create a new RadioToolButton using a
Stock item and add
it to a RadioGroup. |
Modifier and Type | Method and Description |
---|---|
RadioGroup |
getGroup()
Get the RadioGroup that encloses this RadioToolButton and the others
that belonging to the same mutual exclusion group.
|
connect, getActive, setActive
connect, getLabel, getLabelWidget, setLabel, setLabelWidget
getExpand, getRelatedAction, setExpand, setIsImportant, setRelatedAction
add, getChildren, remove, setBorderWidth
activate, addEvents, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, destroy, getAllocatedHeight, getAllocatedWidth, getAllocation, getCanDefault, getCanFocus, getHasFocus, getName, getParent, getPreferredHeightForWidthMinimum, getPreferredHeightForWidthNatural, getPreferredHeightMinimum, getPreferredHeightNatural, getPreferredWidthForHeightMinimum, getPreferredWidthForHeightNatural, getPreferredWidthMinimum, getPreferredWidthNatural, getRequestMode, getRequisition, getSensitive, getStyleContext, getToplevel, getWindow, grabAdd, grabDefault, grabFocus, grabRemove, hide, isSensitive, overrideBackground, overrideColor, overrideFont, queueDraw, queueDrawArea, realize, setAlignHorizontal, setAlignVertical, setCanDefault, setCanFocus, setEvents, setExpandHorizontal, setExpandVertical, setName, setSensitive, setSizeRequest, setTooltipMarkup, setTooltipText, show, showAll
public RadioToolButton(RadioGroup group)
public RadioToolButton(RadioGroup group, Stock stock)
Stock item
and add
it to a RadioGroup.public RadioGroup getGroup()