set_primary


Description:

[ Version ( since = "4.4" ) ]
public void set_primary (bool primary)

Sets whether menu button acts as a primary menu.

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

Parameters:

this

a `GtkMenuButton`

primary

whether the menubutton should act as a primary menu