Provided by: libgtk2-perl-doc_1.249-2_all
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) • $label (string) boolean = $group->get_collapsed $group->set_collapsed ($collapsed) • $collapsed (boolean) toolitem = $group->get_drop_item ($x, $y) • $x (integer) • $y (integer) ellipsizemode = $group->get_ellipsize $group->set_ellipsize ($ellipsize) • $ellipsize (Pango::EllipsizeMode) reliefstyle = $group->get_header_relief $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) string = $group->get_label $group->set_label ($label) • $label (string) widget = $group->get_label_widget $group->set_label_widget ($label_widget) • $label_widget (Gtk2::Widget) integer = $group->get_n_items toolitem = $group->get_nth_item ($index) • $index (integer)
PROPERTIES
'collapsed' (boolean : default false : readable / writable / private) Whether the group has been collapsed and items are hidden 'ellipsize' (Pango::EllipsizeMode : default "none" : readable / writable / private) Ellipsize for item group headers 'header-relief' (Gtk2::ReliefStyle : default "normal" : readable / writable / private) Relief of the group header button 'label' (string : default "" : readable / writable / private) The human-readable title of this item group 'label-widget' (Gtk2::Widget : default undef : readable / writable / private) A widget to display in place of the usual label
CHILD PROPERTIES
'expand' (boolean : default false : readable / writable / private) Whether the item should receive extra space when the group grows 'fill' (boolean : default true : readable / writable / private) Whether the item should fill the available space 'homogeneous' (boolean : default true : readable / writable / private) Whether the item should be the same size as other homogeneous items 'new-row' (boolean : default false : readable / writable / private) Whether the item should start a new row 'position' (integer : default 0 : readable / writable / private) Position of the item within this group
STYLE PROPERTIES
'expander-size' (integer : default 16 : readable / private) Size of the expander arrow 'header-spacing' (integer : default 2 : readable / private) Spacing between expander arrow and caption
ENUMS AND FLAGS
enum Gtk2::ReliefStyle • 'normal' / 'GTK_RELIEF_NORMAL' • 'half' / 'GTK_RELIEF_HALF' • 'none' / 'GTK_RELIEF_NONE' enum Pango::EllipsizeMode • 'none' / 'PANGO_ELLIPSIZE_NONE' • 'start' / 'PANGO_ELLIPSIZE_START' • 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' • '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.