Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkMenuSetMonitor

gtkMenuSetMonitor


Description

Informs GTK+ on which monitor a menu should be popped up. See gdkScreenGetMonitorGeometry.

Usage

gtkMenuSetMonitor(object, monitor.num)

Arguments

object

a GtkMenu

monitor.num

the number of the monitor on which the menu should be popped up

Details

This function should be called from a GtkMenuPositionFunc if the menu should not appear on the same monitor as the pointer. This information can't be reliably inferred from the coordinates returned by a GtkMenuPositionFunc, since, for very long menus, these coordinates may extend beyond the monitor boundaries or even the screen boundaries. Since 2.4

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.