Workbench more than 100 code examples that you can run live
Some Lua\Vala\C code examples
Gtk4 Tutorial for beginners (for C but its so good that it doesnt matter what language you will use) https://github.com/ToshioCP/Gtk4-tutorial
Another C tutorial from GTK 4 devs https://docs.gtk.org/gtk4/getting_started.html
Also see SHOWCASE.MD for examples of GTK apps sorted by languages.
- Vala language was created by GNOME for GTK development(kinda like Swift from Apple)
- Blueprint declarative DSL for GTK GUI, alla JSX but not XML(GTK has XML by default)
GIR - Gobject Introspection - means lang can call any GObject lib GTK3\4 - means its probably manual written bindings for GTK(or a link to a pkg with GIR-generated bindings)
-
Kotlin JVM
- GIR via Java API https://github.com/jwharm/java-gi
- Dead GTK 4 with DSL 96% https://gitlab.com/gtk-kt/gtk-kt
-
Kotlin Native
-
Swift
-
Zig
- Native C interop https://github.com/Sobeston/gtk4-zig-example
- GIR https://github.com/Diegovsky/gintro
-
Golang
- GTK 3 https://github.com/gotk3/gotk3
- GTK 4 Not ready https://github.com/diamondburned/gotk4
-
Scheme
- Guile GIR g-golf Guile Object Library for (GNOME)
-
Free Pascal
-
Rust
- gtk-rs GTK 3 4 New site
- relm - GTK 3 gui basic lib inspired by elm https://github.com/antoyo/relm
-
JS/TS
- Node https://github.com/romgrk/node-gtk
- TypeScript GIR bingings https://github.com/sammydre/ts-for-gjs
- GJS(Official GTK lang) https://gitlab.gnome.org/GNOME/gjs/ Official GNOME js
- Seed GObject JavaScriptCore bridge https://wiki.gnome.org/Projects/Seed
-
Python(Official GTK lang) - https://pygobject.readthedocs.io/en/latest/
-
Haskell
- GIR with GTK 3 and 4 support https://github.com/haskell-gi/haskell-gi
- gi-gtk-declarative https://github.com/owickstrom/gi-gtk-declarative
- Reactive Banana GI GTK https://github.com/mr/reactive-banana-gi-gtk
-
Dlang
-
Crystal
-
Standard ML Family http://giraffelibrary.org/
-
C++
-
Guile
- GNU G-Golf GIR https://www.gnu.org/software/g-golf/
- Guile-GI https://github.com/spk121/guile-gi
-
Scala-native
-
Smalltalk
- GNU Smalltalk comes with GTK bindings and with a browser based on it
- Pharo GTK 3 backend built in since version 9 https://vimeo.com/554479973
-
Ada
- Nim
- D
- Начинаем использовать GTKD 2015
- More than 100 nice lessons for GTK 3 Last 2020
- GTK 3 tutorial 2013
- Rust
- Haskell
- C
- Crystal
- Python
- Vala
- GJS
- C#
- GTK 2 ZetCode 2020
- Python
- Vala
- GTK 3 Widgets examples from ValaDoc
- This repo contains many other repos with all widget examples for GTK 3 and 4
- D
- Nim
- This repo
- GJS
- Haskell
- Vala
- C++
- Swift
- D
- General G* Docs (No GTK 4)
- Guile
- GJS
- Haskell