Multi-platform toolkit
Clone or download
ebassi Merge branch 'get-timings-transfer' into 'master'
g-i: Add transfer none annotations for frame clock timings getters

See merge request GNOME/gtk!511
Latest commit 215903c Jan 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitlab-ci ci: Update Docker image to Fedora 29 and meson to 0.49.0 Dec 16, 2018
.gitlab/issue_templates Add an issue template for crashers Apr 17, 2018
build-aux demos: Make desktop file names match the application id Aug 2, 2018
demos demo: Fix tranparency overlay demo Jan 13, 2019
docs Remove gtk_widget_intersect Nov 29, 2018
examples examples: Use appliction id as desktop file base name Aug 2, 2018
gdk g-i: Add transfer none annotations for frame clock timings getters Jan 16, 2019
gsk gl renderer: Force blur shadow node children offscreen Jan 13, 2019
gtk colorscale: Redraw correct widget after setting rgba Jan 16, 2019
modules gstmedia: Implement error handling. Dec 18, 2018
po-properties Update Spanish translation Jan 10, 2019
po Updated Spanish translation Jan 16, 2019
subprojects meson: Update pango and gdk-pixbuf wrap locations Jul 23, 2018
tests testoverlay: Re-enable blurring Jan 13, 2019
testsuite rbtree: Make node getters not require tree argument Jan 14, 2019
.gitignore .gitignore: Ignore all subdirs in the subprojects dir Oct 12, 2018
.gitlab-ci.yml ci: Update Docker image to Fedora 29 and meson to 0.49.0 Dec 16, 2018
AUTHORS small update Mar 24, 2006
CONTRIBUTING.md docs: Clarify the section on dependencies Dec 28, 2018
COPYING Change FSF Address Feb 27, 2012
NEWS Some updates Jun 25, 2018
NEWS.pre-1.0 Split NEWS Jan 11, 2018
NEWS.pre-2.0 Split NEWS Jan 11, 2018
NEWS.pre-3.0 Split NEWS Jan 11, 2018
README.md README: Fix Gdk doc website link Aug 5, 2018
config.h.meson Add aligned allocator support to meson Jun 9, 2018
gtk+-4.0.pc.in gtk+-4.0.pc: Make sure to add requirements for Gsk (e.g. graphene-1.0) Oct 27, 2016
gtk+-unix-print-4.0.pc.in Rename pc files from 3.0 to 4.0 Oct 7, 2016
gtk.doap Replace git.gnome.org by Gitlab URL in <GitRepository> in DOAP file Dec 15, 2018
make-pot make-pot: Make it executable Aug 15, 2017
meson.build build: Avoid a Meson deprecation warning Jan 8, 2019
meson_options.txt build: Make the default setting work on non-Linux Unix-like systems Apr 23, 2018

README.md

GTK+ — The GTK toolkit

Build Status

General information

GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites.

GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties.

The official download location

The official web site

The official developers blog

Information about mailing lists can be found at

Nightly documentation can be found at

Building and installing

In order to build GTK+ you will need:

You will also need various dependencies, based on the platform you are building for:

If you are building the X11 backend, you will also need:

  • Xlib, and the following X extensions:
    • xrandr
    • xrender
    • xi
    • xext
    • xfixes
    • xcursor
    • xdamage
    • xcomposite
  • atk-bridge-2.0

If you are building the Wayland backend, you will also need:

  • Wayland-client
  • Wayland-protocols
  • Wayland-cursor
  • Wayland-EGL

Once you have all the necessary dependencies, you can build GTK+ by using Meson:

$ meson _build .
$ cd _build
$ ninja

You can run the test suite using:

$ meson test

And, finally, you can install GTK+ using:

$ sudo ninja install

Complete information about installing GTK+ and related libraries can be found in the file:

docs/reference/gtk/html/gtk-building.html

Or online

How to report bugs

Bugs should be reported on the issues page.

In the bug report please include:

  • Information about your system. For instance:

    • which version of GTK+ you are using
    • what operating system and version
    • for Linux, which distribution
    • if you built GTK+, the list of options used to configure the build

    And anything else you think is relevant.

  • How to reproduce the bug.

    If you can reproduce it with one of the demo applications that are built in the demos/ subdirectory, on one of the test programs that are built in the tests/ subdirectory, that will be most convenient. Otherwise, please include a short test program that exhibits the behavior. As a last resort, you can also provide a pointer to a larger piece of software that can be downloaded.

  • If the bug was a crash, the exact text that was printed out when the crash occurred.

  • Further information such as stack traces may be useful, but is not necessary.

Release notes

The release notes for GTK+ are part of the migration guide in the API reference. See:

Licensing terms

GTK+ is released under the terms of the GNU Lesser General Public License, version 2.1 or, at your option, any later version, as published by the Free Software Foundation.

Please, see the COPYING file for further information.