SwitchModelButton
Object Hierarchy:
Description:
SwitchModelButton is a Gtk.ToggleButton containing a Gtk.Label and a Gtk.Switch and using the menuitem css name. It can optionally show description text when activated.
Example
var switchmodelbutton = new Granite.SwitchModelButton ("With Description") {
active = true,
description = "A description of additional affects related to the activation state of this switch"
};
Namespace: Granite
Package: granite-7
Content:
Properties:
Creation methods:
Inherited Members:
All known members inherited from class Gtk.ToggleButton
All known members inherited from class Gtk.Button
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Actionable
All known members inherited from interface Gtk.Buildable