GtkToggleAction

0th

Percentile

GtkToggleAction

An action which can be toggled between two states

Keywords
internal
Methods and Functions

gtkToggleActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL) gtkToggleActionToggled(object) gtkToggleActionSetActive(object, is.active) gtkToggleActionGetActive(object) gtkToggleActionSetDrawAsRadio(object, draw.as.radio) gtkToggleActionGetDrawAsRadio(object) gtkToggleAction(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)

Hierarchy

GObject
   +----GtkAction
         +----GtkToggleAction
               +----GtkRadioAction

Interfaces

GtkToggleAction implements GtkBuildable.

Detailed Description

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

Structures

Convenient Construction

gtkToggleAction is the equivalent of gtkToggleActionNew.

Signals

Properties

active [logical : Read / Write]
If the toggle action should be active in or not. Default value: FALSE Since 2.10
draw-as-radio [logical : Read / Write]
Whether the proxies for this action look like radio action proxies. This is an appearance property and thus only applies if "use-action-appearance" is TRUE. Default value: FALSE

References

http://library.gnome.org/devel//gtk/GtkToggleAction.html

Aliases
  • GtkToggleAction
  • gtkToggleAction
Documentation reproduced from package RGtk2, version 2.20.31, License: GPL

Community examples

Looks like there are no examples yet.