summaryrefslogtreecommitdiff
path: root/gtk/gtkpopovermenuprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-11-11 11:58:43 +0100
committerMatthias Clasen <mclasen@redhat.com>2019-11-11 12:42:06 +0100
commitbfa0509f08b29bb833282b47e907686a8a44ef63 (patch)
treee67826aaa6902226d316ae19b9e9d55bef2c1a0c /gtk/gtkpopovermenuprivate.h
parent07d17c5bc11126bd49a77608e55cde901c903799 (diff)
downloadgtk+-bfa0509f08b29bb833282b47e907686a8a44ef63.tar.gz
Privatize popover menu pieces
Don't allow manual creation of popover menus anymore. This lets us also make GtkModelButton private
Diffstat (limited to 'gtk/gtkpopovermenuprivate.h')
-rw-r--r--gtk/gtkpopovermenuprivate.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk/gtkpopovermenuprivate.h b/gtk/gtkpopovermenuprivate.h
index 898dc60f30..b0062cf560 100644
--- a/gtk/gtkpopovermenuprivate.h
+++ b/gtk/gtkpopovermenuprivate.h
@@ -32,6 +32,14 @@ GtkWidget *gtk_popover_menu_get_parent_menu (GtkPopoverMenu *menu);
void gtk_popover_menu_set_parent_menu (GtkPopoverMenu *menu,
GtkWidget *parent);
+GtkWidget * gtk_popover_menu_new (GtkWidget *relative_to);
+
+void gtk_popover_menu_add_submenu (GtkPopoverMenu *popover,
+ GtkWidget *submenu,
+ const char *name);
+void gtk_popover_menu_open_submenu (GtkPopoverMenu *popover,
+ const gchar *name);
+
G_END_DECLS
-#endif /* __GTK_POPOVER_PRIVATE_H__ */
+#endif /* __GTK_POPOVER_MENU_PRIVATE_H__ */