gtk.ToolItemGroupSynopsisgtk.ToolItemGroupgtk.Containergtk.ToolItemGrouplabelset_labellabelset_label_widgetlabel_widgetset_collapsedcollapsedset_ellipsizeellipsizeset_header_reliefstyleget_labelget_label_widgetget_collapsedget_ellipsizeget_header_reliefinsertitempositionset_item_positionitempositionget_item_positionitemget_n_itemsget_nth_itemindexget_drop_itemxyAncestry+-- GObject
+-- gtk.Object
+-- gtk.Widget
+-- gtk.Container
+-- gtk.ToolItemGroup
Constructorgtk.ToolItemGrouplabellabel :the label of the new groupReturns :a new gtk.ToolItemGroup.This constructor is available in PyGTK 2.22 and above.Creates a new tool item group with label label.Methodsgtk.ToolItemGroup.set_labelset_labellabellabel :the new human-readable label of of the groupThis method is available in PyGTK 2.22 and above.The set_label() method sets the label of the tool item group. The label is displayed in the header
of the group.gtk.ToolItemGroup.set_label_widgetset_label_widgetlabel_widgetlabel_widget :the widget to be displayed in place of the usual labelThis method is available in PyGTK 2.22 and above.The set_label_widget() method sets the label of the tool item group.
The label widget is displayed in the header of the group, in place
of the usual label.gtk.ToolItemGroup.set_collapsedset_collapsedcollapsedcollapsed :whether the group should be collapsed or expandedThis method is available in PyGTK 2.22 and above.Sets whether the group should be collapsed or expanded.gtk.ToolItemGroup.set_ellipsizeset_ellipsizeellipsizeellipsize :the PangoEllipsizeMode labels in group should useThis method is available in PyGTK 2.22 and above.The set_ellipsize() method sets the ellipsization mode which should be used by labels in group.gtk.ToolItemGroup.set_header_reliefset_header_reliefstylestyle :the GtkReliefStyleThis method is available in PyGTK 2.22 and above.Set the button relief of the group header.
See gtk.Button.set_relief for details.gtk.ToolItemGroup.get_labelget_labelReturns :the label of group. The label is an internal string of group and must not be modified. Note that NULL is returned if a custom label has been set with gtk.ToolItemGroup.set_label_widgetThis method is available in PyGTK 2.22 and above.Gets the label of group.gtk.ToolItemGroup.get_label_widgetget_label_widgetReturns :the label widget of groupThis method is available in PyGTK 2.22 and above.Gets the label widget of group.
See gtk.ToolItemGroup.set_label_widget.gtk.ToolItemGroup.get_collapsedget_collapsedReturns :TRUE if group is collapsed, FALSE if it is expandedThis method is available in PyGTK 2.22 and above.Gets whether group is collapsed or expanded.gtk.ToolItemGroup.get_ellipsizeget_ellipsizeReturns :the PangoEllipsizeMode of groupThis method is available in PyGTK 2.22 and above.Gets the ellipsization mode of group.gtk.ToolItemGroup.get_header_reliefget_header_reliefReturns :the GtkReliefStyleThis method is available in PyGTK 2.22 and above.Gets the relief mode of the header button of group.gtk.ToolItemGroup.insertinsertitempositionitem :the gtk.ToolItem to insert into groupposition :the position of item in group, starting with 0. The position -1 means end of list.This method is available in PyGTK 2.22 and above.Inserts item at position in the list of children of group.gtk.ToolItemGroup.set_item_positionset_item_positionitempositionitem :the gtk.ToolItem to move to a new position, should be a child of group.position :the new position of item in group, starting with 0. The position -1 means end of list.This method is available in PyGTK 2.22 and above.The set_item_position() method sets the position of item in the list of children of group.gtk.ToolItemGroup.get_item_positionget_item_positionitemitem :a gtk.ToolItemReturns :the index of item in group or -1 if item is no child of groupThis method is available in PyGTK 2.22 and above.Gets the position of item in group as index.gtk.ToolItemGroup.get_n_itemsget_n_itemsReturns :the number of tool items in groupThis method is available in PyGTK 2.22 and above.Gets the number of tool items in group.gtk.ToolItemGroup.get_nth_itemget_nth_itemindexindex :the indexReturns :the gtk.ToolItem at indexThis method is available in PyGTK 2.22 and above.Gets the tool item at index in group.gtk.ToolItemGroup.get_drop_itemget_drop_itemxyx :the x positiony :the y positionReturns :the gtk.ToolItem at position (x, y)This method is available in PyGTK 2.22 and above.Gets the tool item at position (x, y).