gtk.RadioToolButtona toolbar item that
contains a radio button (new in PyGTK 2.4)Synopsisgtk.RadioToolButtongtk.ToggleToolButtongtk.RadioToolButtongroupNonestock_idNoneset_groupgroupget_groupAncestry+-- gobject.GObject
+-- gtk.Object
+-- gtk.Widget
+-- gtk.Container
+-- gtk.Bin
+-- gtk.ToolItem
+-- gtk.ToolButton
+-- gtk.ToggleToolButton
+-- gtk.RadioToolButton
Implemented Interfacesgtk.RadioToolButton
implements
gtk.Buildablegtk.RadioToolButton Propertiesgtk.Object Propertiesgtk.Widget Propertiesgtk.Container Propertiesgtk.ToolItem Propertiesgtk.ToolButton Propertiesgtk.ToggleToolButton Properties
"group"WriteSets a new group for a radio tool button. This property
is available in GTK+ 2.4 and above.
gtk.RadioToolButton Style Propertiesgtk.Widget Style Propertiesgtk.ToolButton Style Propertiesgtk.RadioToolButton Signal Prototypesgobject.GObject Signal Prototypesgtk.Object Signal Prototypesgtk.Widget Signal Prototypesgtk.Container Signal Prototypesgtk.ToolItem Signal Prototypesgtk.ToolButton Signal Prototypesgtk.ToggleToolButton Signal PrototypesDescriptionThis widget is available in PyGTK 2.4 and above.A gtk.RadioToolButton
is a gtk.ToolItem that
contains a radio button, that is, a button that is part of a group of toggle
buttons where only one button can be active at a time. Use the gtk.RadioToolButton()
constructor to create a new gtk.RadioToolButton.Constructorgtk.RadioToolButtongroupNonestock_idNonegroup :an existing gtk.RadioToolButtonstock_id : the name of a stock itemReturns :a new gtk.RadioToolButtonThis constructor is available in PyGTK 2.4 and above.Creates a new gtk.RadioToolButton,
adding it to the same group as the gtk.RadioToolButton
specified by group if it is not
None. The new gtk.RadioToolButton
will contain an icon and label from the stock item specified by
stock_id if it is not None.Methodsgtk.RadioToolButton.set_groupset_groupgroupgroup :an existing gtk.RadioToolButton or None.This method is available in PyGTK 2.4 and above.The set_group() method adds the radio
tool button to the same group as the gtk.RadioToolButton
specified by group.In PyGTK 2.6.2 and above, if group is
None the radiotoolbutton will be removed from its current
group.gtk.RadioToolButton.get_groupget_groupReturns :a list containing the gtk.RadioToolButtons
in the group or NoneThis method is available in PyGTK 2.4 and above.The get_group() method returns a list
containing the gtk.RadioButton
objects that are in the same group as the radio tool button or
None if the radiotoolbutton is not in a group.