set_tearoff_state


Description:

[ Version ( deprecated = true , deprecated_since = "3.10" ) ]
public void set_tearoff_state (bool torn_off)

Warning: set_tearoff_state is deprecated since 3.10.

Changes the tearoff state of the menu.

A menu is normally displayed as drop down menu which persists as long as the menu is active. It can also be displayed as a tearoff menu which persists until it is closed or reattached.

Parameters:

this

a Menu

torn_off

If true, menu is displayed as a tearoff menu.