ModeSwitch.from_icon_name


Description:

public ModeSwitch.from_icon_name (string primary_icon_name, string secondary_icon_name)

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.