gtkStatusIconPositionMenu {RGtk2}R Documentation

gtkStatusIconPositionMenu

Description

Menu positioning function to use with gtkMenuPopup to position menu aligned to the status icon user.data.

Usage

gtkStatusIconPositionMenu(menu, user.data)

Arguments

menu [GtkMenu] the GtkMenu
user.data [R object] the status icon to position the menu on

Details

Since 2.10

Value

A list containing the following elements:

x [integer] return location for the x position
y [integer] return location for the y position
push.in [logical] whether the first menu item should be offset (pushed in) to be aligned with the menu popup position (only useful for GtkOptionMenu).

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]