MenuButton.primary

Set primary property.

  1. bool primary [@property getter]
  2. bool primary [@property setter]
    class MenuButton
    @property
    void
    primary
    (
    bool propval
    )

Parameters

propval bool

Whether the menu button acts as a primary menu.

Primary menus can be opened using the <kbd>F10</kbd> key