- TODO: GTK Development with Javascript | Official Docs: Click here
- Source: Gtk - Getting Started
Install gtk4
- In archlinux:
sudo pacman -S gtk4
Read to start again?
- Start reading from here in Getting Started guide of gtk.
- Beautiful Buttons with GTK Guide
- Video from distrotube
- Gtk3 to Gtk4 Migration Guide
Formatting C code
- Use
clangFormatWatchAll
to watch for formatting of all.c
files in the project and run the resulting gtk app build.
Running files:
-
Watch for files while building gtk app -
#Use gmon to watch for gtk building gmon filename.c
#type gmon
#Output
gtkmon ()
{
nodemon - w "$@" - x "gcc -o .binary $@ pkg-config --cflags --libs gtk4
&& ./.binary"
}