Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::toggleaction(3pm) [debian man page]

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

NAME
Gtk2::ToggleAction - wrapper for GtkToggleAction SYNOPSIS
my $action = Gtk2::ToggleAction->new (name => 'one', tooltip => 'One'); DESCRIPTION
Note that "new" is the plain Glib::Object "new" (see Gtk2::Action). The name, label, tooltip and stock_id arguments of the C code "gtk_toggle_action_new()" can be given as key/value pairs, plus other property values like active or sensitive. HIERARCHY
Glib::Object +----Gtk2::Action +----Gtk2::ToggleAction INTERFACES
Gtk2::Buildable METHODS
boolean = $action->get_active $action->set_active ($is_active) o $is_active (boolean) boolean = $action->get_draw_as_radio $action->set_draw_as_radio ($draw_as_radio) o $draw_as_radio (boolean) $action->toggled PROPERTIES
'active' (boolean : default false : readable / writable / private) If the toggle action should be active in or not 'draw-as-radio' (boolean : default false : readable / writable / private) Whether the proxies for this action look like radio action proxies SIGNALS
toggled (Gtk2::ToggleAction) SEE ALSO
Gtk2, Glib::Object, Gtk2::Action 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::ToggleAction(3pm)

Check Out this Related Man Page

Gtk2::CheckMenuItem(3)					User Contributed Perl Documentation				    Gtk2::CheckMenuItem(3)

NAME
Gtk2::CheckMenuItem HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Item +----Gtk2::MenuItem +----Gtk2::CheckMenuItem INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Glib::Object::_Unregistered::GtkActivatable METHODS
widget = Gtk2::CheckMenuItem->new ($label=undef) o $label (string) widget = Gtk2::CheckMenuItem->new_with_label ($label=undef) o $label (string) widget = Gtk2::CheckMenuItem->new_with_mnemonic ($label=undef) o $label (string) boolean = $check_menu_item->get_active $check_menu_item->set_active ($is_active) o $is_active (boolean) boolean = $check_menu_item->get_draw_as_radio Since: gtk+ 2.4 $check_menu_item->set_draw_as_radio ($draw_as_radio) o $draw_as_radio (boolean) Since: gtk+ 2.4 boolean = $check_menu_item->get_inconsistent $check_menu_item->set_inconsistent ($setting) o $setting (boolean) $menu_item->set_show_toggle ($always) o $always (boolean) $check_menu_item->toggled PROPERTIES
'active' (boolean : readable / writable / private) Whether the menu item is checked 'draw-as-radio' (boolean : readable / writable / private) Whether the menu item looks like a radio menu item 'inconsistent' (boolean : readable / writable / private) Whether to display an "inconsistent" state SIGNALS
toggled (Gtk2::CheckMenuItem) SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Item, Gtk2::MenuItem COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::CheckMenuItem(3)
Man Page