diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-11-22 15:10:48 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-11-23 13:00:09 -0500 |
commit | 942f8d4b4b3520307d4c93acd88aa210b33fccdf (patch) | |
tree | 73837b1a7f68fc9372de115dfc5aeb46c73c5f99 /docs | |
parent | 200f31f28571b974fea3435da1059981630d9a56 (diff) | |
download | gtk+-942f8d4b4b3520307d4c93acd88aa210b33fccdf.tar.gz |
Deprecate GtkInfoBar
This widget has a dialog-like API, which is something
we want to get rid of in GTK 5, and libadwaita has
a replacement with AdwBanner incoming.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/gtk/migrating-4to5.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/reference/gtk/migrating-4to5.md b/docs/reference/gtk/migrating-4to5.md index 6c2110aa33..a6bf2262d8 100644 --- a/docs/reference/gtk/migrating-4to5.md +++ b/docs/reference/gtk/migrating-4to5.md @@ -97,3 +97,11 @@ is much reduced, and it has awkward, archaice APIs. Therefore, it is dropped. The recommended replacement is to just create your own window and add buttons as required, either in the header or elsewhere. + +## GtkInfoBar is going away + +GtkInfoBar had a dialog API, and with dialogs going away, it was time to +retire it. If you need such a widget, it is relatively trivial to create one +using a [class@Gtk.Revealer] with labels and buttons. + +Other libraries, such as libadwaita, may provide replacements as well. |