Gtk2::ToolItemGroup(3) User Contributed Perl Documentation Gtk2::ToolItemGroup(3)

Gtk2::ToolItemGroup - wrapper for GtkToolItemGroup

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::ToolItemGroup

Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::ToolShell

$label (string)

$group->set_collapsed ($collapsed)

$collapsed (boolean)

toolitem = $group->get_drop_item ($x, $y)

  • $x (integer)
  • $y (integer)

$group->set_ellipsize ($ellipsize)

$ellipsize (Pango::EllipsizeMode)

$group->set_header_relief ($style)

$style (Gtk2::ReliefStyle)

$group->insert ($item, $position)

  • $item (Gtk2::ToolItem)
  • $position (integer)

integer = $group->get_item_position ($item)

$item (Gtk2::ToolItem)

$group->set_item_position ($item, $position)

  • $item (Gtk2::ToolItem)
  • $position (integer)

$group->set_label ($label)

$label (string)

$group->set_label_widget ($label_widget)

$label_widget (Gtk2::Widget)

integer = $group->get_n_items

toolitem = $group->get_nth_item ($index)

$index (integer)

'collapsed' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the group has been collapsed and items are hidden
'ellipsize' (Pango::EllipsizeMode : default "none" : readable / writable / private / static-nick / static-blurb)
Ellipsize for item group headers
'header-relief' (Gtk2::ReliefStyle : default "normal" : readable / writable / private / static-nick / static-blurb)
Relief of the group header button
'label' (string : default "" : readable / writable / private / static-nick / static-blurb)
The human-readable title of this item group
'label-widget' (Gtk2::Widget : default undef : readable / writable / private / static-nick / static-blurb)
A widget to display in place of the usual label

'expand' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the item should receive extra space when the group grows
'fill' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the item should fill the available space
'homogeneous' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the item should be the same size as other homogeneous items
'new-row' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the item should start a new row
'position' (integer : default 0 : readable / writable / private / static-nick / static-blurb)
Position of the item within this group

'expander-size' (integer : default 16 : readable / private / static-nick / static-blurb)
Size of the expander arrow
'header-spacing' (integer : default 2 : readable / private / static-nick / static-blurb)
Spacing between expander arrow and caption

  • 'normal' / 'GTK_RELIEF_NORMAL'
  • 'half' / 'GTK_RELIEF_HALF'
  • 'none' / 'GTK_RELIEF_NONE'

  • 'none' / 'PANGO_ELLIPSIZE_NONE'
  • 'start' / 'PANGO_ELLIPSIZE_START'
  • 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
  • 'end' / 'PANGO_ELLIPSIZE_END'

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2023-07-25 perl v5.38.0