summaryrefslogtreecommitdiff
path: root/gtk/gtkstack.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-07 15:49:04 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 22:21:39 -0400
commit5e0c1e6a8609dbe674ab4db9fcdcc5dff2088cec (patch)
tree56271960c20cb5038aecb931d860d8655eab4088 /gtk/gtkstack.h
parent741a9cb320d007cfafa86c7a10b639df353eadc8 (diff)
downloadgtk+-5e0c1e6a8609dbe674ab4db9fcdcc5dff2088cec.tar.gz
stack: Add gtk_stack_remove
This is a replacement for gtk_container_remove.
Diffstat (limited to 'gtk/gtkstack.h')
-rw-r--r--gtk/gtkstack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkstack.h b/gtk/gtkstack.h
index ad8b4cb697..23f22a6fb8 100644
--- a/gtk/gtkstack.h
+++ b/gtk/gtkstack.h
@@ -94,6 +94,9 @@ GtkStackPage * gtk_stack_add_titled (GtkStack
GtkWidget *child,
const gchar *name,
const gchar *title);
+GDK_AVAILABLE_IN_ALL
+void gtk_stack_remove (GtkStack *stack,
+ GtkWidget *child);
GDK_AVAILABLE_IN_ALL
GtkStackPage * gtk_stack_get_page (GtkStack *stack,