Granite.Widgets.ModeButton.set_active – granite Reference Manual
set_active
Description:
public
void
set_active
(
int
new_active_index)
Sets item of given index's activity
Parameters:
new_active_index
index of changed item
2022 vala-language.org