Rechercher une page de manuel
Gtk2::CheckMenuItem.3pm
Langue: en
Version: 2010-08-10 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- HIERARCHY
- INTERFACES
- METHODS
- widget = Gtk2::CheckMenuItem->new ($label=undef)
- widget = Gtk2::CheckMenuItem->new_with_label ($label=undef)
- widget = Gtk2::CheckMenuItem->new_with_mnemonic ($label=undef)
- boolean = $check_menu_item->get_active
- $check_menu_item->set_active ($is_active)
- boolean = $check_menu_item->get_draw_as_radio
- $check_menu_item->set_draw_as_radio ($draw_as_radio)
- boolean = $check_menu_item->get_inconsistent
- $check_menu_item->set_inconsistent ($setting)
- $menu_item->set_show_toggle ($always)
- $check_menu_item->toggled
- PROPERTIES
- SIGNALS
- SEE ALSO
- COPYRIGHT
NAME
Gtk2::CheckMenuItem - wrapper for GtkCheckMenuItemHIERARCHY
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)
- •
- $label (string)
widget = Gtk2::CheckMenuItem->new_with_label ($label=undef)
- •
- $label (string)
widget = Gtk2::CheckMenuItem->new_with_mnemonic ($label=undef)
- •
- $label (string)
boolean = $check_menu_item->get_active
$check_menu_item->set_active ($is_active)
- •
- $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)
- •
- $draw_as_radio (boolean)
Since: gtk+ 2.4
boolean = $check_menu_item->get_inconsistent
$check_menu_item->set_inconsistent ($setting)
- •
- $setting (boolean)
$menu_item->set_show_toggle ($always)
- •
- $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::MenuItemCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre