Migrating from Owlkettle 1.x.x to 2.0.0
Owlkettle Version 2.0.0 targets GTK 4 instead of GTK 3.
You will need install the development packages for GTK 4 and libadwaita in order to link owlkettle apps.
You can install them by running dnf install gtk4-devel libadwaita-devel
on Fedora or apt install libgtk-4-dev libadwaita-1-dev
on Ubuntu.
Breaking Changes
border_width
: Theborder_width
field has been removed. Use theBox.margin
field instead.- The
Bin
andContainer
(abstract) widgets were removed. - The
ModelButton
widget was removed - When adding widgets to a
Box
, thefill
property has been removed. - The default size for dialogs is now the same as the default size of windows
- The
HeaderBar.subtitle
field has been removed. Useadw.WindowTitle
instead. set_custom_title
has been renamed toadd_title
- The
HeaderBar.title
field has been remove. The header bar will automatically use the window title.