Gtk.Menu.prototype.get_monitor
function get_monitor():Number { // Gjs wrapper for gtk_menu_get_monitor() }
Retrieves the number of the monitor on which to show the menu.
Since 2.14
- Returns
the number of the monitor on which the menu should be popped up or -1, if no monitor has been set