ModelButton.role

Get role property.

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

Return Value

Type: 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.