- Learned how to use meson to build gjs gtk4 app
- Learned how to add titlebar to
Adwaitda application window
- In
Gtk.ApplicationWindow
we have theset_titlebar
method which is missing inAdw.ApplicationWindow
const headerBar = new Adw.HeaderBar(); const menu = new MenuButton(); headerBar.pack_end(menu); const content = new Gtk.Box({ orientation: Gtk.Orientation.VERTICAL }); content.append(headerBar); this.set_content(content);
- Make sure to use
set_content
instead ofset_child
withAdw.ApplicationWindow
- In
- Released bender with basic functionality.
- Released create-gtk npm initializer to easily bootstrap GTK apps using
TypeScript
&esbuild