gtk.ToolItemGroup — a sub container used in a tool palette (new in PyGTK 2.22)
| class gtk.ToolItemGroup(gtk.Container): | 
      gtk.ToolItemGroup
      implements
      atk.ImplementorIFace,
      gtk.Buildable,
      gtk.ToolShell
    
| 
 | 
| 
 | 
| 
 | 
This widget is available in PyGTK 2.22 and above.
A gtk.ToolItemGroup
    is used together with gtk.ToolPalette
    to add gtk.ToolItem objects to
    a palette like container with different categories and drag and drop support.
    gtk.ToolItemGroup (label)| 
 | the label of the new group | 
| Returns : | a new gtk.ToolItemGroup. | 
This constructor is available in PyGTK 2.22 and above.
Creates a new tool item group with label label.
    def set_label(label)| 
 | the new human-readable label of of the group | 
This 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.
    def set_label_widget(label_widget)| 
 | the widget to be displayed in place of the usual label | 
This 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.
    def set_collapsed(collapsed)| 
 | Trueifgroupshould be collapsed,Falseotherwise | 
This method is available in PyGTK 2.22 and above.
Sets whether the group should be collapsed or expanded.
    def set_ellipsize(ellipsize)| 
 | one of the Pango Ellipsize Mode Constants labels in groupshould use | 
This method is available in PyGTK 2.22 and above.
The set_ellipsize() method sets the ellipsize mode which
      should be used by labels in group.
    def set_header_relief(style)| 
 | one of the GTK Relief Style Constants | 
This method is available in PyGTK 2.22 and above.
Set the button relief of the group header.
      See gtk.Button.set_relief for details.
    def get_label()| Returns : | the label of group. Note thatNoneis returned if a custom label has been set withgtk.ToolItemGroup.set_label_widget | 
This method is available in PyGTK 2.22 and above.
Gets the label of group.
    def get_label_widget()| Returns : | the label widget of group | 
This method is available in PyGTK 2.22 and above.
Gets the label widget of group.
      See gtk.ToolItemGroup.set_label_widget.
    def get_collapsed()| Returns : | Trueifgroupis collapsed,Falseif it is expanded | 
This method is available in PyGTK 2.22 and above.
Gets whether group is collapsed or expanded.
    def get_ellipsize()| Returns : | one of the Pango Ellipsize Mode Constants | 
This method is available in PyGTK 2.22 and above.
Gets the ellipsization mode of group.
    def get_header_relief()| Returns : | one of the GTK Relief Style Constants | 
This method is available in PyGTK 2.22 and above.
Gets the relief mode of the header button of group.
    def insert(item, position)| 
 | the gtk.ToolItemto insert intogroup | 
| 
 | the position of itemingroup, 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.
    def set_item_position(item, position)| 
 | the gtk.ToolItemto move to a new position, should be a child ofgroup. | 
| 
 | the new position of itemingroup, 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.
    def get_item_position(item)| 
 | a gtk.ToolItem | 
| Returns : | the index of itemingroupor -1 ifitemis no child ofgroup | 
This method is available in PyGTK 2.22 and above.
Gets the position of item in group as index.
    def get_n_items()| Returns : | the number of tool items in group | 
This method is available in PyGTK 2.22 and above.
Gets the number of tool items in group.
    def get_nth_item(index)| 
 | the index | 
| Returns : | the gtk.ToolItemat index | 
This method is available in PyGTK 2.22 and above.
Gets the tool item at index in group.
    def get_drop_item(x, y)| 
 | the x position | 
| 
 | the y position | 
| Returns : | the gtk.ToolItemat position (x, y) | 
This method is available in PyGTK 2.22 and above.
Gets the tool item at position (x, y).