diff options
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index 5ba3df752f..f94072b98e 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -31,6 +31,7 @@ #include <gdk/gdk.h> #include <gtk/gtkeditable.h> #include <gtk/gtkimcontext.h> +#include <gtk/gtkmenu.h> #include <pango/pango.h> #ifdef __cplusplus @@ -118,6 +119,10 @@ struct _GtkEntryClass gint start_pos, gint end_pos); + /* Hook to customize right-click popup */ + void (* populate_popup) (GtkEntry *entry, + GtkMenu *menu); + /* Action signals */ void (* activate) (GtkEntry *entry); |