summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-07 12:49:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 22:21:39 -0400
commit12ca08c3820ef5b375b2de2fa30b5fad71b4ec2b (patch)
treeb4133fd95a5db8f06a84e3194d628d94d57f6a9a /gtk/gtkinfobar.h
parent78d20b9301dde74b7fe4c4d6899fcf35937658da (diff)
downloadgtk+-12ca08c3820ef5b375b2de2fa30b5fad71b4ec2b.tar.gz
infobar: Add gtk_info_bar_add/remove_child
This is a replacement for container api that is going away.
Diffstat (limited to 'gtk/gtkinfobar.h')
-rw-r--r--gtk/gtkinfobar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkinfobar.h b/gtk/gtkinfobar.h
index 3a2997d927..834ec197b9 100644
--- a/gtk/gtkinfobar.h
+++ b/gtk/gtkinfobar.h
@@ -69,6 +69,13 @@ void gtk_info_bar_add_buttons (GtkInfoBar *info_bar,
const gchar *first_button_text,
...);
GDK_AVAILABLE_IN_ALL
+void gtk_info_bar_add_child (GtkInfoBar *info_bar,
+ GtkWidget *widget);
+GDK_AVAILABLE_IN_ALL
+void gtk_info_bar_remove_child (GtkInfoBar *info_bar,
+ GtkWidget *widget);
+
+GDK_AVAILABLE_IN_ALL
void gtk_info_bar_set_response_sensitive (GtkInfoBar *info_bar,
gint response_id,
gboolean setting);