set_add_tearoffs


Description:

[ Version ( deprecated = true , deprecated_since = "3.4" , since = "2.4" ) ]
public void set_add_tearoffs (bool add_tearoffs)

Warning: set_add_tearoffs is deprecated since 3.4.

Sets the “add_tearoffs” property, which controls whether menus generated by this UIManager will have tearoff menu items.

Note:

Tearoff menus are deprecated and should not be used in newly written code.

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

Parameters:

this

a UIManager

add_tearoffs

whether tearoff menu items are added