GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gtk2::Action(3) User Contributed Perl Documentation Gtk2::Action(3)

Gtk2::Action - wrapper for GtkAction

  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).

$accel_group (Gtk2::AccelGroup or undef)

Since: gtk+ 2.6

$accel_path (string)

Since: gtk+ 2.20

$always_show (boolean)

Since: gtk+ 2.20

Since: gtk+ 2.16

$proxy (Gtk2::Widget)

$proxy (Gtk2::Widget)

$icon_size (Gtk2::IconSize)

Since: gtk+ 2.12

$proxy (Gtk2::Widget)

Since: gtk+ 2.16

$icon_name (string or undef)

Since: gtk+ 2.16

Since: gtk+ 2.16

$is_important (boolean)

Since: gtk+ 2.16

Since: gtk+ 2.16

$label (string)

Since: gtk+ 2.16

$sensitive (boolean)

Since: gtk+ 2.6

Since: gtk+ 2.16

$short_label (string)

Since: gtk+ 2.16

Since: gtk+ 2.16

$stock_id (string or undef)

Since: gtk+ 2.16

Since: gtk+ 2.16

$tooltip (string or undef)

Since: gtk+ 2.16

Since: gtk+ 2.16

$proxy (Gtk2::Widget)

Since: gtk+ 2.16

$visible_horizontal (boolean)

Since: gtk+ 2.16

$visible (boolean)

Since: gtk+ 2.6

Since: gtk+ 2.16

$visible_vertical (boolean)

Since: gtk+ 2.16

'action-group' (Gtk2::ActionGroup : default undef : readable / writable / private / static-nick / static-blurb)
The GtkActionGroup this GtkAction is associated with, or NULL (for internal use).
'always-show-image' (boolean : default false : readable / writable / construct / private / static-nick / static-blurb)
Whether the image will always be shown
'gicon' (Glib::Object::_Unregistered::GIcon : default undef : readable / writable / private / static-nick / static-blurb)
The GIcon being displayed
'hide-if-empty' (boolean : default true : readable / writable / private / static-nick / static-blurb)
When TRUE, empty menu proxies for this action are hidden.
'icon-name' (string : default undef : readable / writable / private / static-nick / static-blurb)
The name of the icon from the icon theme
'is-important' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether the action is considered important. When TRUE, toolitem proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode.
'label' (string : default undef : readable / writable / private / static-nick / static-blurb)
The label used for menu items and buttons that activate this action.
'name' (string : default undef : readable / writable / construct-only / private / static-nick / static-blurb)
A unique name for the action.
'sensitive' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the action is enabled.
'short-label' (string : default undef : readable / writable / private / static-nick / static-blurb)
A shorter label that may be used on toolbar buttons.
'stock-id' (string : default undef : readable / writable / private / static-nick / static-blurb)
The stock icon displayed in widgets representing this action.
'tooltip' (string : default undef : readable / writable / private / static-nick / static-blurb)
A tooltip for this action.
'visible' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the action is visible.
'visible-horizontal' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the toolbar item is visible when the toolbar is in a horizontal orientation.
'visible-overflown' (boolean : default true : readable / writable / private / static-nick / static-blurb)
When TRUE, toolitem proxies for this action are represented in the toolbar overflow menu.
'visible-vertical' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether the toolbar item is visible when the toolbar is in a vertical orientation.

activate (Gtk2::Action)

  • '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'

Gtk2, Glib::Object

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.