gtk-binding

GNOME bindings for Kotlin Native

License

License

Categories

Categories

Data
GroupId

GroupId

org.mrlem.gnome
ArtifactId

ArtifactId

gtk-binding-metadata
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

gtk-binding
GNOME bindings for Kotlin Native
Project URL

Project URL

https://github.com/mrlem/kotlin-native-gnome
Source Code Management

Source Code Management

https://github.com/mrlem/kotlin-native-gnome

Download gtk-binding-metadata

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Kotlin Native GNOME

maven-central

A set of tools to make GNOME application creation easy in Kotlin Native, with Glade UI integration.

Screenshot

Features

  • a lightweight GTK object binding: no wrapper objects, just extension functions & aliases
  • a Glade UI gradle plugin: produces UI classes for type-safe widget access & glade file integration in the executable
  • a sample app

Usage

Prerequisites:

sudo apt install libgtk-3-dev libtinfo5

Then in your build.gradle.kts:

repositories {
    mavenCentral()
}

And:

dependencies {
    implementation("org.mrlem.gnome:gtk-binding:0.2.0")
}

Next steps:

Current status

Still a work in progress:

  • Glade gradle plugin: 100% complete
  • API coverage is still incomplete:
    • signal handler support is partial: no callback data
    • data types is partial for some of them: bitfields, etc
    • some missing generations: Cairo
  • platform support: Linux only for now

See also

Other Kotlin native GTK projects around:

For an explanation about why I didn't rely on one of them, see the FAQ.

Versions

Version
0.2.0
0.1.3
0.1.2