ModeSwitch.from_icon_name
Description:
Constructs a new Granite.ModeSwitch from icon names.
Parameters:
primary_icon_name |
The icon name to use for the primary icon for the switch. |
secondary_icon_name |
The icon name to use for the secondary icon for the switch. |