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.ToggledToolButton.ClickedWidget.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, setActiveconnect, getLabel, getLabelWidget, setLabel, setLabelWidgetgetExpand, getRelatedAction, setExpand, setIsImportant, setRelatedActionadd, getChildren, remove, setBorderWidthactivate, 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, showAllpublic RadioToolButton(RadioGroup group)
public RadioToolButton(RadioGroup group, Stock stock)
Stock item and add
it to a RadioGroup.public RadioGroup getGroup()