SwitchModelButton


Object Hierarchy:

Granite.SwitchModelButton Granite.SwitchModelButton Granite.SwitchModelButton Gtk.ToggleButton Gtk.ToggleButton Gtk.ToggleButton->Granite.SwitchModelButton Gtk.Button Gtk.Button Gtk.Button->Gtk.ToggleButton Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Button GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.ToggleButton Gtk.Accessible->Gtk.Button Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.ToggleButton Gtk.Buildable->Gtk.Button Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.ToggleButton Gtk.ConstraintTarget->Gtk.Button Gtk.ConstraintTarget->Gtk.Widget Gtk.Actionable Gtk.Actionable Gtk.Actionable->Gtk.ToggleButton Gtk.Actionable->Gtk.Button

Description:


public class SwitchModelButton : ToggleButton

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.Widget