gtk_d ~main

A full Gtk binding for D.

To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:


GTK_D is unofficial fork of [GtkD]( with some features


GTK_D is a DLang wrapper for Gtk+ and some other Gtk libs like Adwaita, Shumate. You can use all libraries together or take one you need thanks DUB submodules

LibrarySubmodule nameDescription
LinkerlinkerA library for dynamic libs loading
GLibglibGLib is a bundle of three low-level system libraries
GraphenegrapheneGraphene is a lightweight library OS, designed to run a single application with minimal host requirements
CairocairoCairo is an open source graphics library
HarfBuzzharfbuzzHarfBuzz is a software development library for text shaping
PangopangoPango is a text layout engine library which works with the HarfBuzz shaping engine for displaying multi-language text
GIOgioGIO is a library, designed to present programmers with a modern and usable interface to a virtual file system
GdkPixbufgdkpixbufdkPixbuf is a library that loads image data in various formats and stores it as linear buffers in memory
AtkatkAccessibility Toolkit is an open source software library, part of the GNOME project, which provides application programming interfaces for implementing accessibility support in software
GDKgdkGDK is a library that acts as a wrapper around the low-level functions provided by the underlying windowing and graphics systems
librsvgrsvglibrsvg is a free software SVG rendering library
GSKgskGTK Scene Graph Kit (GSK) is the rendering and scene graph API for GTK
GTKgtkGTK is a free and open-source cross-platform widget toolkit for creating graphical user interfaces
libadwaitaadwBuilding blocks for modern GNOME applications.
GtkSourceViewsourceviewGtkSourceView is a GNOME library that extends GtkTextView, the standard GTK+ widget for multiline text editing
libsoupsouplibsoup is an HTTP client/server library for GNOME
libshumateshumatelibshumate is a C library providing a GtkWidget to display maps

Additional info

To generate code from GIR use this gir-to-d fork :

# Clone and build
git clone
cd gir-to-d
meson builddir
ninja -C builddir

# Generate for dynamic linking
girtod --use-runtime-linker -i source/ -o source/generated

# Generate for static linking
girtod -i source/ -o source/generated

Windows libraries

You can get required dll form MSYS2 project`s repo :)


Documentation may be generated by Scod and ddoc



GTK_D and gtkD use LGPLv3 license

  • KonstantIMP
Sub packages:
gtk_d:linker, gtk_d:glib, gtk_d:graphene, gtk_d:cairo, gtk_d:harfbuzz, gtk_d:pango, gtk_d:gio, gtk_d:gdkpixbuf, gtk_d:atk, gtk_d:gdk, gtk_d:rsvg, gtk_d:gsk, gtk_d:gtk, gtk_d:adw, gtk_d:sourceview, gtk_d:soup, gtk_d:shumate
gtk_d:gtk, gtk_d:soup, gtk_d:sourceview, gtk_d:gio, gtk_d:gsk, gtk_d:adw, gtk_d:linker, gtk_d:cairo, gtk_d:graphene, gtk_d:glib, gtk_d:gdk, gtk_d:shumate, gtk_d:harfbuzz, gtk_d:pango, gtk_d:rsvg, gtk_d:gdkpixbuf, gtk_d:atk
1.0.3 2022-May-31
1.0.2 2022-May-31
1.0.1 2021-Nov-27
1.0.0 2021-Aug-29
~main 2022-May-31
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 4 downloads this week

  • 34 downloads this month

  • 1681 downloads total

Short URL: