Learn R Programming

RGtk2 (version 2.20.31)

gtkMenuSetTearoffState: gtkMenuSetTearoffState

Description

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.

Usage

gtkMenuSetTearoffState(object, torn.off)

Arguments

object
torn.off
If TRUE, menu is displayed as a tearoff menu.