ModelButton.role

gtk.types.ButtonRole role() @property

Get role property.

Returns

Specifies whether the button is a plain, check or radio button.

When #GtkActionable:action-name is set, the role will be determined from the action and does not have to be set explicitly.

void role(gtk.types.ButtonRole propval) @property

Set role property.

Parameters

propvalSpecifies whether the button is a plain, check or radio button. When #GtkActionable:action-name is set, the role will be determined from the action and does not have to be set explicitly.