ModelButton.role

Set role property.

  1. gtk.types.ButtonRole role [@property getter]
  2. gtk.types.ButtonRole role [@property setter]
    class ModelButton
    @property
    void
    role

Parameters

propval gtk.types.ButtonRole

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.