man Gtk2::Toolbar () - Gtk2::Toolbar
NAME
Gtk2::Toolbar
HIERARCHY
Glib::Object +----Glib::Object::_Unregistered::GInitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Toolbar
INTERFACES
Gtk2::Atk::ImplementorIface
METHODS
widget = Gtk2::Toolbar->new
$toolbar->append_space
$toolbar->set_icon_size ($icon_size)
$toolbar->insert_space ($position)
$toolbar->set_orientation ($orientation)
$toolbar->prepend_space
$toolbar->remove_space ($position)
$toolbar->set_show_arrow ($show_arrow)
$toolbar->set_style ($style)
$toolbar->set_tooltips ($enable)
$toolbar->unset_icon_size
$toolbar->unset_style
PROPERTIES
- 'orientation' (Gtk2::Orientation : readable / writable / private)
- The orientation of the toolbar
- 'show-arrow' (boolean : readable / writable / private)
- If an arrow should be shown if the toolbar doesn't fit
- 'toolbar-style' (Gtk2::ToolbarStyle : readable / writable / private)
- How to draw the toolbar
- 'tooltips' (boolean : readable / writable / private)
- If the tooltips of the toolbar should be active or not
SIGNALS
- boolean = move-focus (Gtk2::Toolbar, Gtk2::DirectionType)
- orientation-changed (Gtk2::Toolbar, Gtk2::Orientation)
- style-changed (Gtk2::Toolbar, Gtk2::ToolbarStyle)
- boolean = popup-context-menu (Gtk2::Toolbar, integer, integer, integer)
- boolean = focus-home-or-end (Gtk2::Toolbar, boolean)
ENUMS AND FLAGS
enum Gtk2::DirectionType
- * 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
- * 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
- * 'up' / 'GTK_DIR_UP'
- * 'down' / 'GTK_DIR_DOWN'
- * 'left' / 'GTK_DIR_LEFT'
- * 'right' / 'GTK_DIR_RIGHT'
enum Gtk2::IconSize
- * 'invalid' / 'GTK_ICON_SIZE_INVALID'
- * 'menu' / 'GTK_ICON_SIZE_MENU'
- * 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
- * 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
- * 'button' / 'GTK_ICON_SIZE_BUTTON'
- * 'dnd' / 'GTK_ICON_SIZE_DND'
- * 'dialog' / 'GTK_ICON_SIZE_DIALOG'
enum Gtk2::Orientation
- * 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
- * 'vertical' / 'GTK_ORIENTATION_VERTICAL'
enum Gtk2::ReliefStyle
- * 'normal' / 'GTK_RELIEF_NORMAL'
- * 'half' / 'GTK_RELIEF_HALF'
- * 'none' / 'GTK_RELIEF_NONE'
enum Gtk2::ToolbarChildType
- * 'space' / 'GTK_TOOLBAR_CHILD_SPACE'
- * 'button' / 'GTK_TOOLBAR_CHILD_BUTTON'
- * 'togglebutton' / 'GTK_TOOLBAR_CHILD_TOGGLEBUTTON'
- * 'radiobutton' / 'GTK_TOOLBAR_CHILD_RADIOBUTTON'
- * 'widget' / 'GTK_TOOLBAR_CHILD_WIDGET'
enum Gtk2::ToolbarStyle
- * 'icons' / 'GTK_TOOLBAR_ICONS'
- * 'text' / 'GTK_TOOLBAR_TEXT'
- * 'both' / 'GTK_TOOLBAR_BOTH'
- * 'both-horiz' / 'GTK_TOOLBAR_BOTH_HORIZ'
SEE ALSO
Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container
COPYRIGHT
Copyright (C) 2003-2005 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.