Learn R Programming

RGtk2 (version 2.20.31)

gtkStatusIconPositionMenu: 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
user.data
the status icon to position the menu on

Value

A list containing the following elements:
x
return location for the x position
y
return location for the y position
push.in
whether the first menu item should be offset (pushed in) to be aligned with the menu popup position (only useful for GtkOptionMenu).

Details

Since 2.10