Constructors

Creates a new CellRendererToggle. Adjust rendering parameters using
object properties. Object properties can be set globally (with
System.Glib.Attributes.set). Also, within a
Graphics.UI.Gtk.ModelView.TreeViewColumn, you can bind a property to a
value in a Graphics.UI.Gtk.ModelView.TreeModel.TreeModel using
Graphics.UI.Gtk.ModelView.CellLayout.cellLayoutSetAttributes. For
example, you can bind the cellToggleActive property on the cell renderer
to a boolean value in the model, thus causing the check button to reflect
the state of the model.

If radio is True, the cell renderer renders a radio toggle (i.e. a
toggle in a group of mutually-exclusive toggles). If False, it renders a
check toggle (a standalone boolean option). This can be set globally for
the cell renderer, or changed just before rendering each cell in the model
(for TreeView, you set up a per-row setting using TreeViewColumn to
associate model columns with cell renderer properties).