Gtk2::ToolItemGroup(3) User Contributed Perl Documentation NAME Gtk2::ToolItemGroup - wrapper for GtkToolItemGroup HIERARCHY Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::ToolItemGroup INTERFACES Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::ToolShell METHODS widget = Gtk2::ToolItemGroup->new ($label) o $label (string) boolean = $group->get_collapsed $group->set_collapsed ($collapsed) o $collapsed (boolean) toolitem = $group->get_drop_item ($x, $y) o $x (integer) o $y (integer) ellipsizemode = $group->get_ellipsize $group->set_ellipsize ($ellipsize) o $ellipsize (Pango::EllipsizeMode) reliefstyle = $group->get_header_relief $group->set_header_relief ($style) o $style (Gtk2::ReliefStyle) $group->insert ($item, $position) o $item (Gtk2::ToolItem) o $position (integer) integer = $group->get_item_position ($item) o $item (Gtk2::ToolItem) $group->set_item_position ($item, $position) o $item (Gtk2::ToolItem) o $position (integer) string = $group->get_label $group->set_label ($label) o $label (string) widget = $group->get_label_widget $group->set_label_widget ($label_widget) o $label_widget (Gtk2::Widget) integer = $group->get_n_items toolitem = $group->get_nth_item ($index) o $index (integer) PROPERTIES '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 CHILD PROPERTIES '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 STYLE PROPERTIES '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 ENUMS AND FLAGS enum Gtk2::ReliefStyle o 'normal' / 'GTK_RELIEF_NORMAL' o 'half' / 'GTK_RELIEF_HALF' o 'none' / 'GTK_RELIEF_NONE' enum Pango::EllipsizeMode o 'none' / 'PANGO_ELLIPSIZE_NONE' o 'start' / 'PANGO_ELLIPSIZE_START' o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' o 'end' / 'PANGO_ELLIPSIZE_END' SEE ALSO Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.38.0 2023-07-25 Gtk2::ToolItemGroup(3)