Menu.setTearoffState

Warning gtk_menu_set_tearoff_state is deprecated and should not be used in newly-written code. 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.

class Menu
void
setTearoffState
()

Parameters

tornOff int

If TRUE, menu is displayed as a tearoff menu.

Meta