Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GtkCellRendererToggle

GtkCellRendererToggle


Description

Renders a toggle button in a cell

Methods and Functions

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkCellRenderer
                     +----GtkCellRendererToggle

Detailed Description

GtkCellRendererToggle renders a toggle button in a cell. The button is drawn as a radio- or checkbutton, depending on the radio property. When activated, it emits the toggled signal.

Structures

GtkCellRendererToggle

undocumented

Convenient Construction

gtkCellRendererToggle is the equivalent of gtkCellRendererToggleNew.

Signals

toggled(cell.renderer, path, user.data)

The ::toggled signal is emitted when the cell is toggled.

cell.renderer

the object which received the signal

path

string representation of GtkTreePath describing the event location

user.data

user data set when the signal handler was connected.

Properties

activatable [logical : Read / Write]

The toggle button can be activated. Default value: TRUE

active [logical : Read / Write]

The toggle state of the button. Default value: FALSE

inconsistent [logical : Read / Write]

The inconsistent state of the button. Default value: FALSE

indicator-size [integer : Read / Write]

Size of check or radio indicator. Allowed values: >= 0 Default value: 13

radio [logical : Read / Write]

Draw the toggle button as a radio button. Default value: FALSE

Author(s)

Derived by RGtkGen from GTK+ documentation

References


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.