PHP-GTK
Wednesday, October 22, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkCheckButton Constructor
GtkCheckMenuItem Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GtkCheckMenuItem

A check box menu item.

Object Hierarchy

Direct Subclasses

Description

Constructors

GtkCheckMenuItem (string label, boolean use_underline);

-- Creates a new check menu item.

--

--

Methods

get_active()
  Returns whether the check menu item is active.
get_draw_as_radio()
  Returns TRUE if the check menu item is drawn as a radio menu item.
get_inconsistent()
 
set_active()
  Changes the state of the menu item's check box, setting the state property according to the value of is_active parameter.
set_draw_as_radio()
  It sets the check menu item to be displayed as a radio menu item if the value of draw_as_radio is TRUE.
set_inconsistent()
 
set_show_toggle()
 
toggled()
  The toggled() method emits the "toggled". signal on the check menu item.

Fields

active:
  Represents the current state of the menu item.
draw-as-radio:
  TRUE if the check menu item is shown as a radio menu item.

Signals

"toggled"
  The "toggled" signal is emitted when the check menu item changes state.


User Contributed Notes
gtk.gtkcheckmenuitem.php
add a note about notes
There are no user contributed notes for this page.


previousGtkCheckButton Constructor
GtkCheckMenuItem Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:56 2013 CEST