gtk-d 2.3.2

GtkD is the Digital Mars D programing language OO wrapper for Gtk+.


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:

GtkD is the Digital Mars D programing language OO wrapper for Gtk+. GtkD is release on the LGPL license with additional exceptions.

Please view COPYING for GtkD's license.

Requirements:

  • Linux, Windows(2000, XP), or Mac
  • Gtk libs
  • dmd, gdc or ldc installation

optional:

  • OpenGL libs (mesa is fine on linux)
  • GtkGLext

Who are you?

If you want to write some wicked cool D and Gtk+ apps, grab the gtkD release archive at dsource.org/projects/gtkd.

If you want to tweak the automatic wrapper or help with it, use git... https://github.com/gtkd-developers/GtkD

Installation:

The installation depends on the setup of your development environment. This means that to release your project you must include the gtkD lib on your deliverable or statically link to gtkD - please pay attention to the license.

Compile the lib and the test programs:

Linux / Posix:

Using the GNU make to compile GtkD on these Operating systems, calling make with no options will build GtkD, GtkD-Sourceview and one of the demos. Optionaly these options are available:

  • all = build everything.
  • [shared-]gtkd = build gtkd.
  • [shared-]gtkdsv = build gtkd-sourceview.
  • [shared-]gda = build gda.
  • [shared-]gstreamer = build gstreamer.
  • shared = build gtkd and gtkd-sourceview as shared libraries.
     This currently only works with LDC.
    
  • install and uninstall options are also available for the options mentioned above.

Or you can use one of the build options also available for Windows.

Windows:

To build on Windows you can use the build script in combination with rdmd.

rdmd Build.d

By default this builds gtkd, gtkdgl and gtkdsv to compile only one of these or gstreamerd you can pass the following options to the build file:

  • gtkd = build GtkD.
  • gtkdgl = build GtkDGL.
  • sv = build gtkd-sourceview
  • gstreamer = build gstreamer.
  • all = build everything.

For all the abobe packages there a two option avalable to specify aditional compiler and linker flags:

  • --dcflags="your compiler flags"
  • --ldflags="your linker flags"

To specify if it should build for 64 or 32 bits, pass either the -m32 or -m64 flag to rdmd.

rdmd -m64 Build.d

Building with bud/build:

You can also build GtkD using build/bud http://www.dsource.org/projects/build see the README in the build directory.

Authors:
  • Frank Benoit
  • Jake Day
  • Jonas Kivi
  • Alan Knowles
  • Antonio Monteiro
  • Sebastián E. Peyrott
  • John Reimer
  • Mike Wey
  • hauptmech
Sub packages:
gtk-d:gtkd, gtk-d:gtkdgl, gtk-d:sv, gtk-d:gstreamer, gtk-d:vte
Dependencies:
gtk-d:gtkd, gtk-d:vte, gtk-d:gstreamer, gtk-d:gtkdgl, gtk-d:sv
Versions:
3.10.0 2021-Nov-11
3.9.0 2019-May-28
3.8.5 2019-Jan-06
3.8.4 2018-Nov-21
3.8.3 2018-May-28
Show all 58 versions
Download Stats:
  • 9 downloads today

  • 90 downloads this week

  • 541 downloads this month

  • 183107 downloads total

Score:
4.6
Short URL:
gtk-d.dub.pm