Add a menu position function for use with popups on status icons.
2006-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkstatusicon.h: * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): Add a menu position function for use with popups on status icons. (#334573, Christian Persch)
This commit is contained in:
committed by
Matthias Clasen
parent
ab7c146eb4
commit
10583204d9
@ -25,6 +25,7 @@
|
||||
#define __GTK_STATUS_ICON_H__
|
||||
|
||||
#include <gtk/gtkimage.h>
|
||||
#include <gtk/gtkmenu.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -103,6 +104,12 @@ gboolean gtk_status_icon_get_blinking (GtkStatusIcon *st
|
||||
|
||||
gboolean gtk_status_icon_is_embedded (GtkStatusIcon *status_icon);
|
||||
|
||||
void gtk_status_icon_position_menu (GtkMenu *menu,
|
||||
gint *x,
|
||||
gint *y,
|
||||
gboolean *push_in,
|
||||
gpointer user_data);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_STATUS_ICON_H__ */
|
||||
|
||||
Reference in New Issue
Block a user