position_menu


Description:

[ CCode ( instance_pos = -1 ) ]
[ Version ( since = "2.10" ) ]
public void position_menu (Menu menu, ref int x, ref int y, out bool push_in)

Menu positioning function to use with popup to position menu aligned to the status icon user_data.

Note:

Use Notification and Application to provide status notifications; notifications do not have menus, but can have buttons, and actions associated with each button

Parameters:

menu

the Menu

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).

user_data

the status icon to position the menu on




2022 vala-language.org