vbsteven
04/23/2023, 1:15 PM.ui
resource files
• Connect signal handlers
• Use property binding on all objects and widgets
• Work with `ListModel`/`ListStore`/`Listview`
• Define your own GObject
types with support for properties
• Use various Gio abstractions including the file system API, menus, actions and resources
We have not published the artefacts to MavenCentral yet. However, you can still use it in your projects by building locally and deploying to MavenLocal. The current focus is on Linux, but we're also looking at Windows/MacOS support in the future.
We would love to hear some feedback on the project, so if you're interested in testing it out, head over to our GitLab page https://gitlab.com/gtk-kn/gtk-kn to learn more. Also, if you have any questions or want to get involved in development discussions, we mostly hang out on our Matrix room at https://matrix.to/#/#gtk-kn:matrix.org.CLOVIS
04/24/2023, 7:54 PMvbsteven
04/25/2023, 7:18 AMMiroslav Sobotka
04/25/2023, 7:49 AMvbsteven
04/25/2023, 7:51 AMMiroslav Sobotka
04/25/2023, 8:12 AMhomebrew
:
brew install libadwaita
brew install gdk-pixbuf
brew install gobject-introspection
brew install gtk4
brew install pango
brew install libpango
brew install libconfig
and apply the attached patch (basically the changes for the cflags
and libs
). The right values are provided for example as /opt/homebrew/bin/pkg-config --libs libadwaita-1
(note the pkg-config
from homebrew
, not from system)
It is little bit quick and dirty 😄 The "problems" to solve are:
• gio/gdesktopappinfo.h
vs gio/gosxappinfo.h
• girBaseDir
PS: enabled the basic c support over #language=c
in .def
files 😄vbsteven
04/25/2023, 8:17 AMgdesktopappinfo
, it is on my todo list for macos and windows support but focus has mainly been on the generator itself for now. The current idea is to not officially support macos/windows on the master branch yet, but keep alternative "unsupported" branches in the repo containing the "quickfix" patches until I find some time to properly support it.Miroslav Sobotka
04/25/2023, 8:18 AM$ ls -l /opt/homebrew/include/glib*
/opt/homebrew/include/glib-2.0 -> ../Cellar/glib/2.76.1/include/glib-2.0/
vbsteven
04/25/2023, 8:21 AMpkg-config
for an unrelated thing (resource compilation). Eventually we would like to also run pkg-config
for the .def files, so that should fix the pathsMiroslav Sobotka
04/25/2023, 8:23 AMEventually we would like to also runBasically yes, but not 1:1, because for example this was added extra by me:for the .def files, so that should fix the pathspkg-config
-DGDK_PIXBUF_ENABLE_BACKEND=1
vbsteven
04/25/2023, 8:24 AMMiroslav Sobotka
04/25/2023, 8:25 AMvbsteven
04/25/2023, 8:26 AMdraft
and point it to master for now, and I'll create the platform branches and update the MR target branch when I get to it