Gtk2::Action
Gtk2::Action
Glib::Object
+----Gtk2::Action
Gtk2::Buildable
Create and return a new action object. Note that this is the new
of Glib::Object, not gtk_action_new
. Eg.
Gtk2::Action->new (name => 'open-foo',
stock_id => 'gtk-open',
tooltip => 'Start a foo');
The keyword/value style is more flexible and a little clearer than the
four direct arguments of gtk_action_new
(and also works better for
subclasses).
Since: gtk+ 2.6
Since: gtk+ 2.12
Since: gtk+ 2.6
Since: gtk+ 2.6
- 'action-group' (Gtk2::ActionGroup : readable / writable / private)
-
The GtkActionGroup this GtkAction is associated with, or NULL (for internal use).
- 'hide-if-empty' (boolean : readable / writable / private)
-
When TRUE, empty menu proxies for this action are hidden.
- 'icon-name' (string : readable / writable / private)
-
The name of the icon from the icon theme
- 'is-important' (boolean : readable / writable / private)
-
Whether the action is considered important. When TRUE, toolitem proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode.
- 'label' (string : readable / writable / private)
-
The label used for menu items and buttons that activate this action.
- 'name' (string : readable / writable / construct-only / private)
-
A unique name for the action.
- 'sensitive' (boolean : readable / writable / private)
-
Whether the action is enabled.
- 'short-label' (string : readable / writable / private)
-
A shorter label that may be used on toolbar buttons.
- 'stock-id' (string : readable / writable / private)
-
The stock icon displayed in widgets representing this action.
- 'tooltip' (string : readable / writable / private)
-
A tooltip for this action.
- 'visible' (boolean : readable / writable / private)
-
Whether the action is visible.
- 'visible-horizontal' (boolean : readable / writable / private)
-
Whether the toolbar item is visible when the toolbar is in a horizontal orientation.
- 'visible-overflown' (boolean : readable / writable / private)
-
When TRUE, toolitem proxies for this action are represented in the toolbar overflow menu.
- 'visible-vertical' (boolean : readable / writable / private)
-
Whether the toolbar item is visible when the toolbar is in a vertical orientation.
- activate (Gtk2::Action)
Gtk2, Glib::Object
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
[Top]
Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:00:23 2009