Menu.reserveToggleSize

bool reserveToggleSize() @property

Get reserveToggleSize property.

Returns

A boolean that indicates whether the menu reserves space for

toggles and icons, regardless of their actual presence.

This property should only be changed from its default value for special-purposes such as tabular menus. Regular menus that are connected to a menu bar or context menus should reserve toggle space for consistency.

void reserveToggleSize(bool propval) @property

Set reserveToggleSize property.

Parameters

propvalA boolean that indicates whether the menu reserves space for toggles and icons, regardless of their actual presence. This property should only be changed from its default value for special-purposes such as tabular menus. Regular menus that are connected to a menu bar or context menus should reserve toggle space for consistency.