Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kephra::commandlist(3pm) [debian man page]

Kephra::CommandList(3pm)				User Contributed Perl Documentation				  Kephra::CommandList(3pm)

NAME
Kephra::API::CommandList - external API for user callable functions DESCRIPTION
The CommandList is a dynamically changeable list, that contains all the function calls for every menu item, toolbar button and most other widget items. It holds also label, help text, key binding, icon and more for each command. All these properties have to be changed globally here in a clean way. These commands where used by different gui elements, that allows menu and toolbar definitions to be very compact, readable and and easy changeable. Names of commands contain dashes as separator of namespaces. SPECIFICATION
CommandlistItem o ID - unique identifier, hashkey, following hash is its value o call - CODEREF : actual action, performed when this command is called o sub - string : name of the called routine o enable - CODEREF : returns enable status (0 for disable) o enable_event - string : API::EventTable ID when to check to en/disable o state - CODEREF : that returns state value (for switches) o state_event - string : API::EventTable ID when to check is state changed o label - string : descriptive name o help - string : short help sentence o key - string : label of key binding o keycode - numeric keycode o icon - Wx::Bitmap perl v5.12.4 2011-06-08 Kephra::CommandList(3pm)

Check Out this Related Man Page

Gtk2::ToolButton(3pm)					User Contributed Perl Documentation				     Gtk2::ToolButton(3pm)

NAME
Gtk2::ToolButton - wrapper for GtkToolButton HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::ToolItem +----Gtk2::ToolButton INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Activatable METHODS
toolitem = Gtk2::ToolButton->new ($icon_widget, $label) o $icon_widget (Gtk2::Widget or undef) o $label (string or undef) toolitem = Gtk2::ToolButton->new_from_stock ($stock_id) o $stock_id (string) string or undef = $button->get_icon_name Since: gtk+ 2.8 $button->set_icon_name ($icon_name) o $icon_name (string or undef) Since: gtk+ 2.8 widget or undef = $button->get_icon_widget $button->set_icon_widget ($icon_widget) o $icon_widget (Gtk2::Widget or undef) string or undef = $button->get_label $button->set_label ($label) o $label (string or undef) widget or undef = $button->get_label_widget $button->set_label_widget ($label_widget) o $label_widget (Gtk2::Widget or undef) string = $button->get_stock_id $button->set_stock_id ($stock_id) o $stock_id (string or undef) boolean = $button->get_use_underline $button->set_use_underline ($use_underline) o $use_underline (boolean) PROPERTIES
'icon-name' (string : default undef : readable / writable / private) The name of the themed icon displayed on the item 'icon-widget' (Gtk2::Widget : default undef : readable / writable / private) Icon widget to display in the item 'label' (string : default undef : readable / writable / private) Text to show in the item. 'label-widget' (Gtk2::Widget : default undef : readable / writable / private) Widget to use as the item label 'stock-id' (string : default undef : readable / writable / private) The stock icon displayed on the item 'use-underline' (boolean : default false : readable / writable / private) If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu STYLE PROPERTIES
'icon-spacing' (integer : default 3 : readable / writable / private) Spacing in pixels between the icon and label SIGNALS
clicked (Gtk2::ToolButton) SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::ToolButton(3pm)
Man Page