diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-07-15 15:04:56 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-07-24 17:01:42 -0400 |
commit | 88771f7b1b056dd0a76d3eec9ee0e5e81fc43fef (patch) | |
tree | bab6d1d7019daeff14b630cd88765843d5960b6f /gtk/gtkinfobar.h | |
parent | 16e43733b96163c6365a6c04f5097722360ec5b2 (diff) | |
download | gtk+-88771f7b1b056dd0a76d3eec9ee0e5e81fc43fef.tar.gz |
Add an optional close button to the info bar
This adds gtk_info_bar_{get,set}_show_close_button.
Similar to the one for the search bar. This can replace Cancel
buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=704274
Diffstat (limited to 'gtk/gtkinfobar.h')
-rw-r--r-- | gtk/gtkinfobar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkinfobar.h b/gtk/gtkinfobar.h index 49c9d08511..a10c3a94db 100644 --- a/gtk/gtkinfobar.h +++ b/gtk/gtkinfobar.h @@ -124,6 +124,12 @@ void gtk_info_bar_set_message_type (GtkInfoBar *info_bar, GDK_AVAILABLE_IN_ALL GtkMessageType gtk_info_bar_get_message_type (GtkInfoBar *info_bar); +GDK_AVAILABLE_IN_3_10 +void gtk_info_bar_set_show_close_button (GtkInfoBar *info_bar, + gboolean setting); +GDK_AVAILABLE_IN_3_10 +gboolean gtk_info_bar_get_show_close_button (GtkInfoBar *info_bar); + G_END_DECLS #endif /* __GTK_INFO_BAR_H__ */ |