PHP-GTK
Sunday, November 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previoustoggle-overwrite
GtkToggleAction Constructornext

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

GtkToggleAction

An action which can have two states: on or off.

Object Hierarchy

Direct Subclasses

Description

A GtkToggleAction corresponds roughly to a GtkCheckMenuItem. It has an "active" state specifying whether the action has been checked or not.

Constructors

GtkToggleAction (string name, string label, string tooltip, string stock_id);

-- Creates a new toggle action object.

Methods

get_active()
  Returns the checked state.
get_draw_as_radio()
  Whether the action should have proxies like a radio action.
set_active()
  Sets the checked state on the toggle action.
set_draw_as_radio()
  Sets whether the action should have proxies like a radio action.
toggled()
  Emits the "toggled" signal.

Signals

"toggled"
  The state has been toggled.


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


previoustoggle-overwrite
GtkToggleAction 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:51:00 2013 CEST