2
2
@c %start of fragment
4
4
@deftp Class <gtk-action>
5
This @code{<gobject>} class defines the following properties:
5
Derives from @code{<gtk-buildable>}, @code{<gobject>}.
7
This class defines the following slots:
9
A unique name for the action.@item label
10
The label used for menu items and buttons that activate this action.@item short-label
11
A shorter label that may be used on toolbar buttons.@item tooltip
12
A tooltip for this action.@item stock-id
13
The stock icon displayed in widgets representing this action.@item icon-name
14
The name of the icon from the icon theme@item visible-horizontal
15
Whether the toolbar item is visible when the toolbar is in a horizontal orientation.@item visible-vertical
16
Whether the toolbar item is visible when the toolbar is in a vertical orientation.@item visible-overflown
17
When TRUE, toolitem proxies for this action are represented in the toolbar overflow menu.@item is-important
18
Whether the action is considered important. When TRUE, toolitem proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode.@item hide-if-empty
19
When TRUE, empty menu proxies for this action are hidden.@item sensitive
20
Whether the action is enabled.@item visible
21
Whether the action is visible.@item action-group
22
The GtkActionGroup this GtkAction is associated with, or NULL (for internal use).@end table
11
A unique name for the action.
14
The label used for menu items and buttons that activate this action.
17
A shorter label that may be used on toolbar buttons.
20
A tooltip for this action.
23
The stock icon displayed in widgets representing this action.
26
The name of the icon from the icon theme
28
@item visible-horizontal
29
Whether the toolbar item is visible when the toolbar is in a horizontal
32
@item visible-vertical
33
Whether the toolbar item is visible when the toolbar is in a vertical
36
@item visible-overflown
37
When TRUE, toolitem proxies for this action are represented in the toolbar
41
Whether the action is considered important. When TRUE, toolitem proxies for this
42
action show text in GTK_TOOLBAR_BOTH_HORIZ mode.
45
When TRUE, empty menu proxies for this action are hidden.
48
Whether the action is enabled.
51
Whether the action is visible.
54
The GtkActionGroup this GtkAction is associated with, or NULL (for internal