Gtk.Menu.prototype.get_tearoff_state

function get_tearoff_state():Boolean {
    // Gjs wrapper for gtk_menu_get_tearoff_state()
}

Returns whether the menu is torn off. See Gtk.set_tearoff_state.

Returns

true if the menu is currently torn off.