UIManagerGidBuilderImpl.addTearoffs

T addTearoffs(bool propval)

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.

Returns

Builder instance for fluent chaining

Deprecated

Tearoff menus are deprecated and should not

be used in newly written code.