Description Usage Arguments Details Author(s)
Informs GTK+ on which monitor a menu should be popped up.
See gdkScreenGetMonitorGeometry
.
1 | gtkMenuSetMonitor(object, monitor.num)
|
|
a |
|
the number of the monitor on which the menu should be popped up |
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
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.