Skip to content
/ ziggtk Public

Sample GTK+ applications in the zig programming language

Notifications You must be signed in to change notification settings

Swoogan/ziggtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZIG GTK+

Sample "hello world" GTK+ applications in zig. Based on the examples at GTK+ Getting Started

There are three applications:

  1. manual: uses the in-code method of defining the UI
  2. builder: uses the 'builder.ui' file to define the UI.
  3. embedded: uses the 'builder.ui' file to define the UI, but embeds the text into the application at compile time

Build

Ensure libgtk3 development headers are installed (ex: libgtk-3-dev). Tested with zig v0.12.0 & v0.13.0 on Ubuntu 24.04.

zig build

Run

zig build manual
zig build builder
zig build embedded

About

Sample GTK+ applications in the zig programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published