Review GtkBuildable implementations
We should get away from GtkBuildable as much as possible. If something can be done with a plain property, that is much better. In particular, custom markup should be removed in favor of making the property parser able to handle more types, and we should stop exposing internal children.
Here are buildable implementations that have equivalent properties and should just be removed:
-
GtkAspectFrame -
(deprecated: GtkAssistant) -
GtkBox -
GtkButton -
GtkExpander -
GtkFixed -
GtkFontChooserDialog (currently exposes an internal child) -
GtkFrame -
GtkMenuButton -
GtkPaned -
GtkPopover -
GtkPrintUnixDialog (currently exposes an internal child) -
GtkRevealer -
GtkScrolledWindow -
GtkSearchBar -
GtkViewport -
GtkWindow -
GtkWindowHandle -
GtkCenterBox -
GtkActionBar
These widgets need custom markup replacements:
-
GtkConstraintLayout -
GtkEntry -
handle pango attributes in gtk_builder_value_from_string
-
-
GtkFileFilter: make rules a listmodel and add a filefilterrule object? -
(deprecated: GtkInfoBar: action-widgets) -
GtkLabel -
pango attributes
-
-
GtkLevelBar: offsets -
GtkScale: marks -
GtkStringList -
items. Could add a construct-only "strings" property
-
-
GtkWidget -
layout -
style -
accessibility
-
Objects that need a closer look:
-
GtkFlowBox -
GtkGrid -
GtkHeaderBar -
(deprecated: GtkInfoBar: custom markup: action-widgets) -
GtkListBox -
GtkOverlay -
GtkPopoverMenuBar -
GtkShortcutController -
shortcuts window components -
GtkSizeGroup -
GtkTextTagTable -
GtkStack
Note: these changes affect what ui files we accept, and therefore can only be done in .90
Edited by Matthias Clasen