![]() |
![]() |
![]() |
GPE Manual: libgpewidget Reference | ![]() |
---|---|---|---|---|
int gpe_get_win_position (Display *dpy, Window win, int *x, int *y); void gpe_popup_menu_position (GtkMenu *menu, gint *x, gint *y, gboolean *push, gpointer p);
int gpe_get_win_position (Display *dpy, Window win, int *x, int *y);
Return a window's position.
|
Display |
|
Window to query for position |
|
Pointer to X position |
|
Pointer to Y position |
Returns : |
TRUE on success, FALSE otherwise. |
void gpe_popup_menu_position (GtkMenu *menu, gint *x, gint *y, gboolean *push, gpointer p);
This functions is used to determine a popup menu's position on screen. This is usually used for constructing popup menus.
|
Popup menu to get position of. |
|
Pointer to X position |
|
Pointer to Y position |
|
(unused) |
|
Widget |