UIManager.addTearoffs

bool addTearoffs() @property

Get addTearoffs property.

Returns

The "add-tearoffs" property controls whether generated menus

have tearoff menu items.

Note that this only affects regular menus. Generated popup menus never have tearoff menu items.

Deprecated

Tearoff menus are deprecated and should not

be used in newly written code.

void addTearoffs(bool propval) @property

Set addTearoffs property.

Parameters

propvalThe "add-tearoffs" property controls whether generated menus have tearoff menu items. Note that this only affects regular menus. Generated popup menus never have tearoff menu items.

Deprecated

Tearoff menus are deprecated and should not

be used in newly written code.