| Top |
| MateMixerSwitchOption * | off-state-option | Read / Write / Construct Only |
| MateMixerSwitchOption * | on-state-option | Read / Write / Construct Only |
| gboolean | state | Read / Write |
gboolean
mate_mixer_stream_toggle_get_state (MateMixerStreamToggle *toggle);
Gets the current state of the toggle. TRUE corresponds to the 'on' state and
FALSE to the 'off' state.
gboolean mate_mixer_stream_toggle_set_state (MateMixerStreamToggle *toggle,gboolean state);
Sets the toggle
to the selected state.
This function is equivalent to using mate_mixer_switch_set_active_option()
with a MateMixerSwitchOption representing the selected state.
MateMixerSwitchOption * mate_mixer_stream_toggle_get_state_option (MateMixerStreamToggle *toggle,gboolean state);
Gets the MateMixerSwitchOption representing the selected state.
typedef struct _MateMixerStreamToggle MateMixerStreamToggle;
The MateMixerStreamToggle structure contains only private data and should only be accessed using the provided API.
struct MateMixerStreamToggleClass {
MateMixerStreamSwitchClass parent_class;
};
The class structure for MateMixerStreamToggle.
“off-state-option” property“off-state-option” MateMixerSwitchOption *
The MateMixerSwitchOption representing the 'off' value of the toggle.
Flags: Read / Write / Construct Only
“on-state-option” property“on-state-option” MateMixerSwitchOption *
The MateMixerSwitchOption representing the 'on' value of the toggle.
Flags: Read / Write / Construct Only