Skip to content

Get Started

This guide provides quick instructions to set up dependencies, generate bindings, and run a sample using gtk-kn on Ubuntu 24.04. For detailed setup steps, additional distributions, or OS support, please see the Installation Guide.

Quick Start on Ubuntu 24.04

  1. Install Required Dependencies

Run the following command to install necessary packages:

sudo apt install gnome-devel gcc-multilib
  1. Generate Bindings

Use the Gradle command below to generate bindings for gtk-kn:

./gradlew :gir:run
  1. Run a Sample Application

To verify the setup, run a sample application:

./gradlew samples:gtk:widgets:runDebugExecutableLinuxX64

This will launch a sample GTK application, confirming that everything is set up correctly.

GTK-kn logo

For more detailed instructions and advanced usage, see the User Guide.