ModeSwitch


Description:

public ModeSwitch (Icon primary_icon_gicon, Icon secondary_icon_gicon)

Constructs a new Granite.ModeSwitch using GLib.Icons.

Parameters:

primary_icon_gicon

The GLib.Icon to use for the primary icon for the switch.

secondary_icon_gicon

The GLib.Icon to use for the secondary icon for the switch.