Next:
Gtk2::Clipboard
Previous:
Gtk2::CheckButton
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::CheckMenuItem



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

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

Since: gtk+ 2.4

$check_menu_item->set_draw_as_radio ($draw_as_radio)

Since: gtk+ 2.4

boolean = $check_menu_item->get_inconsistent

$check_menu_item->set_inconsistent ($setting)

$menu_item->set_show_toggle ($always)

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:00:47 2009