GTK: Difference between revisions
→Criticism: mention that gwenview started as gtk software |
|||
Line 1: | Line 1: | ||
{{Short description|Free and open-source cross-platform widget toolkit for creating graphical user interfaces}} |
|||
{{Dablink|Due to [[Wikipedia:Naming conventions (technical restrictions)#Characters totally forbidden in page titles|technical restrictions]], Gtk# redirects here. The article about Gtk# can be found at [[Gtk Sharp]].}} |
|||
{{Other uses}} |
|||
{{Infobox_Software| |
|||
{{Use mdy dates|date=March 2023}} |
|||
name = GTK+ |
|||
{{Use American English|date=March 2023}} |
|||
|logo = [[Image:GTK.png|250px]] |
|||
{{Infobox software |
|||
|developer = [[GNOME Foundation]] |
|||
| name = GTK |
|||
|latest_release_version = 2.10.6 |
|||
| title = |
|||
|latest_release_date = [[3 October]], [[2006]] |
|||
| logo = GTK logo.svg |
|||
|latest_preview_version = |
|||
| screenshot = Gtk4-widget-factory demos.png |
|||
|latest_preview_date = |
|||
| caption = GTK version 4 ([https://web.archive.org/web/20210710003750/https://developer.gnome.org/gtk4/stable/gtk4-widget-factory.html gtk4-widget-factory], a collection of examples that demonstrate many of the [[GUI widget]]s) |
|||
|operating_system = [[Cross-platform]] |
|||
| author = [[Spencer Kimball (computer programmer)|Spencer Kimball]], [[Peter Mattis]] |
|||
|genre = [[Widget toolkit]] |
|||
| developer = [[The GNOME Project]], [[eXperimental Computing Facility]] (XCF) |
|||
|license = [[GNU Lesser General Public License|LGPL]] |
|||
| released = {{Start date and age|1998|04|14}} |
|||
|website = [http://www.gtk.org/ www.gtk.org] |
|||
| ver layout = simple |
|||
| latest release version = 4.14.4 |
|||
| latest release date = {{Start date and age|2024|04|02}} |
|||
| latest preview version = 4.15.1 |
|||
| latest preview date = {{Start date and age|2024|05|21}} |
|||
| programming language = [[C (programming language)|C]], [[CSS]]<ref>{{cite web | url = https://www.openhub.net/p/gtk/analyses/latest/languages_summary | title = The GTK Open Source Project on Open Hub: Languages Page | website = www.openhub.net |access-date=March 28, 2019 |archive-date=March 28, 2019 | archive-url = https://web.archive.org/web/20190328192113/https://www.openhub.net/p/gtk/analyses/latest/languages_summary | url-status = live}}</ref> |
|||
| operating system = [[Linux]], [[Unix-like]], [[macOS]], [[Windows]] |
|||
| platform = |
|||
| genre = [[Widget toolkit]] |
|||
| license = [[GNU Lesser General Public License|LGPLv2.1+]] |
|||
| website = {{URL|https://gtk.org}} |
|||
}} |
}} |
||
The '''GIMP Toolkit'''—abbreviated, and almost exclusively known, as '''GTK+'''—is one of the two most popular [[widget toolkit]]s for the [[X Window System]] for creating [[graphical user interface]]s. GTK+ and [[Qt (toolkit)|Qt]] have supplanted [[Motif (widget toolkit)|Motif]], previously the most widely used X widget toolkit. |
|||
'''GTK''' (formerly '''GIMP ToolKit'''<ref>{{Cite web|url=https://www.gtk.org/about/|title=A brief description on how GTK was born.|website=www.gtk.org|access-date=July 5, 2023|archive-date=June 9, 2023|archive-url=https://web.archive.org/web/20230609101108/https://www.gtk.org/about/|url-status=live}}</ref> and '''GTK+'''<ref name=":0">{{Cite web|url=https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html|title=Project rename to "GTK"|last=Bassi|first=Emmanuele|date=2019-02-06|website=mail.gnome.org|publisher=[[GNOME]] mailinglist|access-date=2019-02-07|archive-date=November 7, 2020|archive-url=https://web.archive.org/web/20201107233352/https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html|url-status=live}}</ref>) is a [[free software]] [[cross-platform]] [[widget toolkit]] for creating [[graphical user interface]]s (GUIs).<ref>{{cite web |url=https://www.gtk.org/features.php |title=GTK+ Features |author=The GTK+ Team |access-date=September 8, 2014 |archive-date=May 25, 2019 |archive-url=https://web.archive.org/web/20190525124304/https://www.gtk.org/features.php |url-status=dead}}</ref> It is licensed under the terms of the [[GNU Lesser General Public License]], allowing both [[Free software|free]] and [[proprietary software]] to use it. It is one of the most popular toolkits for the [[Wayland (protocol)|Wayland]] and [[X Window System core protocol|X11]] [[windowing system]]s.<ref>{{Cite web|url=https://www.x.org/wiki/Documentation/|title=Documentation|website=www.x.org|access-date=November 22, 2019|archive-date=December 21, 2019|archive-url=https://web.archive.org/web/20191221235118/https://www.x.org/wiki/Documentation/|url-status=live}}</ref> |
|||
GTK+ was initially created for the [[GIMP|GNU Image Manipulation Program]], a raster graphics editor, in 1997 by [[Spencer Kimball]], [[Peter Mattis]], and [[Josh MacDonald]]—all of whom were members of [[eXperimental Computing Facility]] (XCF) at [[University of California, Berkeley|UC Berkeley]]. Licensed under the [[GNU Lesser General Public License|LGPL]], GTK+ is [[free software|free]] (and [[open source]]) [[software]], and is part of the [[GNU|GNU Project]]. |
|||
The GTK team releases new versions on a regular basis.<ref name="roadmap" /> GTK 4 and GTK 3 are maintained, while GTK 2 is [[End-of-life product|end-of-life]]<!-- and thus support for some older platforms, e.g. Windows XP, Windows 98/Me -->.<ref>{{Cite web|title=GTK 4.0 – GTK Development Blog|date=December 16, 2020|url=https://blog.gtk.org/2020/12/16/gtk-4-0/|access-date=2021-10-18|language=en-US|archive-date=May 28, 2023|archive-url=https://web.archive.org/web/20230528122452/https://blog.gtk.org/2020/12/16/gtk-4-0/|url-status=live}}</ref> GTK1 is independently maintained by the [[CinePaint]] project.<ref>{{Cite web|url=https://gitlab.com/robinrowe/gtk1|title=Robin Rowe / GTK1 · GitLab|website=GitLab|access-date=February 22, 2023|archive-date=March 9, 2023|archive-url=https://web.archive.org/web/20230309201628/https://gitlab.com/robinrowe/gtk1|url-status=live}}</ref> |
|||
==Programming languages== |
|||
GTK+ uses the [[C programming language]], although its designers use an [[object-oriented]] paradigm. The [[GNOME]] platform bindings provide for [[C++]] ([[gtkmm]]), [[Perl]], [[Ruby programming language|Ruby]], [[Java programming language|Java]] and [[Python programming language|Python]] ([[PyGTK]]) bindings; others have written bindings for many other [[programming language]]s (including [[Ada programming language|Ada]], [[D programming language|D]], [[Haskell programming language|Haskell]], [[Pascal programming language|Pascal]], [[PHP]], [[Pike programming language|Pike]] and all [[.NET Framework|.NET]] programming languages). |
|||
==Software architecture== |
|||
Unlike many other widget toolkits, but like [[Qt (toolkit)|Qt]], GTK+ isn't based on [[Xt]]. The advantage of this is that it allows GTK+ to be available on other systems and to be much more flexible. The disadvantage is that it doesn't have access to the X resource database, which is the traditional way for customizing X11 applications. |
|||
[[File:The GTK toolkit.png|thumb|The GTK toolkit]] |
|||
[[File:GTK+ software architecture.svg|thumb|Simplified software architecture of '''GTK'''. [[Pango]], [[GDK]], [[Accessibility Toolkit|ATK]], [[GIO (software)|GIO]], [[Cairo (graphics)|Cairo]] and [[GLib]] ]] |
|||
[[File:GDK software architecture.svg|thumb|[[GDK]] contains back-ends to [[X11]], [[Wayland (display server protocol)|Wayland]], Broadway ([[Hypertext Transfer Protocol|HTTP]]), [[Quartz Compositor|Quartz]], and [[Graphics Device Interface|GDI]] and relies on [[Cairo (graphics)|Cairo]] for the rendering. Its new SceneGraph is work-in-progress.]] |
|||
{{update section|date=May 2024|GTK4's release and features}} |
|||
==Look and feel== |
|||
The end-user can configure the look of the toolkit, down to offering a number of different display ''engines''. Engines exist which emulate the look of other popular toolkits or platforms, like [[Windows 95]], [[Motif (widget toolkit)|Motif]], [[Qt (toolkit)|Qt]] or [[NEXTSTEP]]. |
|||
The GTK [[Library (computing)|library]] contains a set of graphical control elements ([[Widget (GUI)|widgets]]); version 3.22.16 contains 186 active and 36 deprecated widgets.<ref>{{cite web |title=GTK+ 3 Reference Manual |url=https://developer.gnome.org/gtk3/stable/ |access-date=2017-07-15 |archive-date=June 23, 2021 |archive-url=https://web.archive.org/web/20210623002412/https://developer.gnome.org/gtk3/stable/ |url-status=live}}</ref> GTK is an [[Object-oriented programming|object-oriented]] [[widget toolkit]] written in the programming language [[C (programming language)|C]]; it uses [[GObject]], that is the [[GLib]] object system, for the object orientation. While GTK is mainly for windowing systems based on [[X Window System core protocol|X11]] and [[Wayland (display server protocol)|Wayland]], it works on other platforms, including [[Microsoft Windows]] (interfaced with the [[Windows API]]), and [[macOS]] (interfaced with [[Quartz (graphics layer)|Quartz]]). There is also an [[HTML5]] back-end named ''Broadway''.<ref name=":1">{{cite web |url=https://developer.gnome.org/gtk3/stable/gtk-broadway.html |title=Using GTK+ with Broadway |website=GNOME Developer |publisher=GNOME |access-date=March 6, 2018 |archive-date=June 14, 2021 |archive-url=https://web.archive.org/web/20210614021102/https://developer.gnome.org/gtk3/stable/gtk-broadway.html |url-status=live}}</ref><ref name=":2">{{cite web|title=Broadway - GitHub symbiose/symbiose Wiki|url=https://github.com/symbiose/symbiose/wiki/Broadway|website=GitHub|access-date=March 6, 2018|archive-date=June 28, 2023|archive-url=https://web.archive.org/web/20230628094731/https://github.com/symbiose/symbiose/wiki/Broadway|url-status=live}}</ref> |
|||
==Environments that use GTK+== |
|||
[[Image:gimp2-2.png|right|thumb|300px|Screenshot of the [[GIMP]] 2.0 on a typical system]] |
|||
* The [[GNOME]] environment uses GTK+ as a base, which means that programs written for GNOME use GTK+ as their toolkit. |
|||
* [[Xfce]] also uses it as its base, though its apps typically do not depend on as many programs. (This is the difference between something being branded as a "GNOME program" and as a "GTK+ program".) |
|||
* The [[GPE Palmtop Environment]], [[Maemo]] (Nokia's Internet-tablet framework), and [[Access Linux Platform]] (a new [[Palm OS]]-compatible [[Personal digital assistant|PDA]] platform) also use GTK+ as a base. |
|||
* [[One Laptop Per Child]] project uses GTK+ and [[PyGTK]]. |
|||
GTK can be configured to change the look of the widgets drawn; this is done using different display engines. Several display engines exist which try to emulate the look of the native widgets on the platform in use. |
|||
Those [[desktop environment]]s are not required to run GTK+ programs, though. If the libraries the program requires are installed, a GTK+ program can run on top of other X11-based environments such as [[KDE]] or an X11-plus-[[window manager]] environment; this includes [[Mac OS X]] if [[X11.app]] is installed. GTK+ can also run under [[Microsoft Windows]]. Some of the more unusual ports include [[DirectFB]] and [[ncurses]]. |
|||
Starting with version 2.8, released in 2005, GTK began the transition to using [[Cairo (graphics)|Cairo]] to [[Rendering (computer graphics)|render]] most of its graphical control elements [[Widget (GUI)|widgets]].<ref>{{cite web |url=http://developers.slashdot.org/article.pl?sid=05/02/04/2021236 |title=GTK+ to Use Cairo Vector Engine |date=February 5, 2005 |access-date=2009-12-27}}</ref> Since GTK version 3.0, all rendering is done using Cairo.<ref>{{Cite web |title=Gtk: Migrating from GTK 2.x to GTK 3 |url=https://docs.gtk.org/gtk3/migrating-2to3.html |access-date=2022-06-16 |website=docs.gtk.org |language=en |quote=All drawing in GTK 3 is done via Cairo. |archive-date=May 26, 2023 |archive-url=https://web.archive.org/web/20230526073106/https://docs.gtk.org/gtk3/migrating-2to3.html |url-status=live}}</ref> |
|||
== Window managers == |
|||
* [[Metacity]] uses GTK+ 2. |
|||
* [[Xfwm]] uses GTK+ 2. |
|||
On January 26, 2018 at [[DevConf.cz]], Matthias Clasen gave an overview of the current state of GTK 4 development, including a high-level explanation of how rendering and input worked in GTK 3, what changes are being made in GTK 4 (>3.90), and why.<ref>{{cite web |url=https://mclasen.fedorapeople.org/gtk4-devconf2018.pdf |title=Matthias Clasen DevConf.cz 2018 talk about GTK+ 4 |date=2018-01-26 |access-date=March 9, 2018 |archive-date=2024-04-22 |archive-url=https://web.archive.org/web/20240422184711/https://mclasen.fedorapeople.org/gtk4-devconf2018.pdf |url-status=live}}</ref> On February 6, 2019 it was announced that GTK 4 will drop the “+” from the project's name.<ref name=":0" /> |
|||
== Non-graphics-related code == |
|||
GTK+ initially contained some utility routines that did not strictly relate to graphics, for instance providing such [[data structures]] as linked lists and [[binary tree]]s. Such general utilities, along with the object system called [[GObject]], have now migrated into a separate library, [[Glib]], which programmers use regularly to develop code that does not require a graphical interface. |
|||
==GTK |
===GTK Drawing Kit (GDK)=== |
||
{{Main|GDK}} |
|||
GTK+ 2 has succeeded GTK+ 1. Its new features include improved text rendering using [[Pango]], a new theme engine, improved accessibility using the [[Accessibility Toolkit]], complete transition to [[Unicode]] using [[UTF-8]] strings and a more flexible API. However, GTK+ 2 lacks compatibility with GTK+ 1, and programmers must port applications to it. Some programs continue to use GTK+ 1, as the original version remains in use, is faster, is less complex than GTK+ 2, and is more suitable for embedded applications than GTK+ 2{{citationneeded}}. |
|||
GDK acts as a wrapper around the [[Low-level programming language|low-level functions]] provided by the underlying windowing and graphics systems. |
|||
Starting with version 2.8, GTK+ 2 relies on the [[Cairo (graphics)|Cairo]] library for rendering with vector graphics in GTK+ 2. |
|||
==GTK |
===GTK Scene Graph Kit (GSK)=== |
||
{{Main|GTK Scene Graph Kit}} |
|||
GSK is the [[Rendering (computer graphics)|rendering]] and [[scene graph]] API for GTK. GSK lies between the graphical control elements (widgets) and the rendering. GSK was finally merged into GTK version 3.90 released March 2017. |
|||
Software development with GTK+ is somewhat systematic, in that handcoding simple and complex graphical elements is very repetitive. Moreover, this process is so systematic that a program, called [[Glade_Interface_Designer|Glade]], allows one to develop graphical applications with an easy to use visual center, such as that used with Visual Basic. |
|||
=== GtkBuilder === |
|||
Below is an example of a GTK+ Hello World program: |
|||
GtkBuilder allows user interfaces to be designed without writing code. The interface is described in an [[XML|Extensible Markup Language]] (XML) file which is written by hand or generated by a GUI designer, which is then loaded at runtime and the objects created automatically. The description of the user interface is independent from the programming language being used. |
|||
===Language bindings=== |
|||
<pre> |
|||
{{Main article|List of language bindings for GTK}} |
|||
#include <gtk/gtk.h> |
|||
[[Language bindings]] are available for using GTK from languages other than C, including [[C++]], Genie, [[JavaScript]], [[Perl]], [[Python (programming language)|Python]], [[Vala (programming language)|Vala]], and [[List of language bindings for GTK|others]].<ref>{{cite web |author=The GTK+ Team |title=GTK+ Language Bindings |url=https://www.gtk.org/language-bindings.php |url-status=dead |archive-url=https://web.archive.org/web/20190525124310/https://www.gtk.org/language-bindings.php |archive-date=May 25, 2019 |access-date=June 3, 2017 |website=www.gtk.org}}</ref> |
|||
'''int''' main( '''int''' argc, |
|||
'''char''' *argv[] ) |
|||
{ |
|||
GtkWidget *window; |
|||
GtkWidget *label; |
|||
=== Backends === |
|||
gtk_init (&argc, &argv); |
|||
GTK supports various backends, which provides different ways to display GTK applications depending on the system and environment. Examples of GTK backends are: |
|||
window = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
|||
label = gtk_label_new("Hello World!!!"); |
|||
g_signal_connect (G_OBJECT (window), "delete_event", |
|||
G_CALLBACK (gtk_main_quit), NULL); |
|||
* [[Wayland (protocol)|Wayland]] – Used with the Wayland display server on Linux systems, it is a modern replacement for X11. |
|||
gtk_container_add (GTK_CONTAINER (window), label); |
|||
* [[X11]] – The default on Linux systems using the X.Org display server. |
|||
* [[Windows API|Win32]] – For running GTK applications on Windows. |
|||
* [[Quartz (graphics layer)|Quartz]] – For macOS support. |
|||
* Broadway – Allows GTK applications to run in web browsers using HTML5 and WebSockets.<ref name=":1" /><ref name=":2" /> |
|||
== Development tools == |
|||
gtk_widget_show_all(window); |
|||
===GUI designers=== |
|||
gtk_main (); |
|||
[[File:Camabalache's interface.png|thumb|A screenshot of [[Cambalache Interface Designer]]]] |
|||
There are several [[Graphical user interface builder|GUI designers]] for GTK. Here is a selection of GTK GUI designers: |
|||
'''return''' 0; |
|||
* [[Cambalache Interface Designer|Cambalache]] - a successor to [[Glade Interface Designer|Glade]], supports [[GTK 4]].<ref>{{Cite web |last=GUADEC |title=Cambalache: road to version 1.0 |url=https://events.gnome.org/event/209/contributions/763/}}</ref><ref>{{Cite web |title=glade - man pages section 1: User Commands |url=https://docs.oracle.com/cd/E88353_01/html/E37839/glade-1.html |access-date=2024-09-11 |website=docs.oracle.com}}</ref> |
|||
} |
|||
* [[Glade Interface Designer|Glade]] - supports [[#GtkBuilder|GtkBuilder]], which is a GTK built-in GUI description format. (not actively maintained) |
|||
</pre> |
|||
* [[Gazpacho (software)|Gazpacho]] - GUI builder for the GTK toolkit written in Python<ref>{{Cite web|url=https://packages.debian.org/search?keywords=gazpacho|title=Debian -- Package Search Results -- gazpacho|website=packages.debian.org|access-date=November 22, 2019|archive-date=June 28, 2023|archive-url=https://web.archive.org/web/20230628022158/https://packages.debian.org/search?keywords=gazpacho|url-status=live}}</ref> |
|||
* Crow Designer - relies on its own GuiXml format and GuiLoader library.<ref>{{cite web |url=http://nothing-personal.googlecode.com/ |archive-url=https://archive.today/20130124182138/http://nothing-personal.googlecode.com/ |url-status=dead |archive-date=2013-01-24 |title=Nothing-personal - A development site for Crow Designer, GuiLoader and Rally - Google Project Hosting |access-date=2014-02-17}}</ref> |
|||
* [[Stetic]] - part of [[MonoDevelop]], oriented toward [[Gtk Sharp|Gtk#]]. |
|||
* [[Gambas]] (since version 2.0 atop [[BASIC]]) |
|||
* [[Xojo]] |
|||
* [[Lazarus (IDE)|Lazarus]] (on Linux defaults to interfacing with GTK 2) |
|||
== |
===GTK Inspector=== |
||
[[File:Gtk-inspector.png|thumb|271x271px|A screenshot of the GTK Inspector]] |
|||
*[http://live.gnome.org/ProjectRidley Project Ridley] is an attempt to consolidate several libraries that are currently external to GTK+, including: libgnome, libgnomeui, libgnomeprint22, libgnomeprintui22, libglade, libgnomecanvas, libegg, libeel and gtkglext. |
|||
The GTK Inspector is a built-in interactive debugging tool in GTK, allowing developers to inspect and modify UI elements, test CSS changes, and analyze widget structure in real time. It can be enabled using the <code>Control + Shift + I</code> or <code>Control + Shift + D</code> shortcuts, or by setting the <code>GTK_DEBUG=interactive</code> environment variable.<ref>{{Cite web |title=GTK Inspector |url=https://developer.gnome.org/documentation/tools/inspector.html |access-date=2024-09-14 |website=GNOME Developer Documentation |language=en}}</ref> It was introduced with GTK version 3.14.<ref>{{cite web |date=2014-05-15 |title=Introducing GtkInspector |url=http://blogs.gnome.org/mclasen/2014/05/15/introducing-gtkinspector/ |url-status=live |archive-url=https://web.archive.org/web/20140517185349/http://blogs.gnome.org/mclasen/2014/05/15/introducing-gtkinspector/ |archive-date=May 17, 2014 |access-date=May 17, 2014}}</ref><ref>{{cite web |date=2014-07-11 |title=Another GtkInspector update |url=http://blogs.gnome.org/mclasen/2014/07/11/another-gtkinspector-update/ |url-status=live |archive-url=https://web.archive.org/web/20140714164943/http://blogs.gnome.org/mclasen/2014/07/11/another-gtkinspector-update/ |archive-date=July 14, 2014 |access-date=July 13, 2014}}</ref> |
|||
==== Features ==== |
|||
* Interactive debugging |
|||
* Real-time CSS testing and modifications |
|||
* Widget magnification for detailed inspection |
|||
* UI structure analysis and object property examination |
|||
* Customizable display settings via environment variables |
|||
* Detailed object inspection (type, state, properties, CSS, actions, etc.) |
|||
* Global application information display |
|||
* CSS rule debugging |
|||
* Rendering pipeline recording and inspection |
|||
==Development== |
|||
GTK is mainly developed by [[The GNOME Project]], which also develops the [[GNOME Development Platform]] and the [[GNOME desktop environment|GNOME Desktop Environment]].<ref>{{cite web |url=https://wiki.gnome.org/Engagement/SWOT |title=GNOME Quick SWOT Analysis |website=The GNOME Project |access-date=March 18, 2014 |archive-date=March 18, 2014 |archive-url=https://web.archive.org/web/20140318194439/https://wiki.gnome.org/Engagement/SWOT |url-status=live}}</ref> GTK is mainly written in [[C (programming language)|C]].<ref>{{cite web |title=GNOME Languages |url=http://www.ohloh.net/p/gnome/analyses/latest/languages_summary |url-status=dead |archive-url=https://web.archive.org/web/20140522160337/http://www.ohloh.net/p/gnome/analyses/latest/languages_summary |archive-date=May 22, 2014 |access-date=May 22, 2014 |website=[[Ohloh]] |publisher=Black Duck Software}}</ref> Many [[language binding]]s [[List of language bindings for GTK|are available]]. GTK development is loosely managed. |
|||
GNOME developers and users gather at an annual ''GNOME Users And Developers European Conference'' [[GUADEC]] meeting to discuss GNOME's current state and future direction.<ref>{{cite web |url=http://guadec.expectnation.com/public/content/about |title=About |publisher=GNOME Users And Developers European Conference ([[GUADEC]]) |access-date=December 3, 2011 |url-status=dead |archive-url=https://web.archive.org/web/20111004061840/http://guadec.expectnation.com/public/content/about |archive-date=October 4, 2011}}</ref> GNOME incorporates standards and programs from [[freedesktop.org]] to better [[Interoperability|interoperate]] with other desktops.{{Citation needed|date=February 2023}} |
|||
On September 1, 2016, a post on the GTK development blog denoted, among other things, the future numbering scheme of GTK.<ref name="devblog160901">{{cite web |url=https://blog.gtk.org/2016/09/01/versioning-and-long-term-stability-promise-in-gtk/ |title=Versioning and long term stability promise in GTK |date=2016-09-01 |publisher=GTK development blog |access-date=September 2, 2016 |archive-date=September 21, 2016 |archive-url=https://web.archive.org/web/20160921023548/https://blog.gtk.org/2016/09/01/versioning-and-long-term-stability-promise-in-gtk/ |url-status=live}}</ref> GTK version 3.22, released in Autumn 2016, was planned to be the last 3.x release, although version 3.24 followed in Fall 2018 with the delay of GTK 4.<ref>{{Cite web|url=https://www.phoronix.com/scan.php?page=news_item&px=GTK-3.24-Coming-This-Fall|title=GTK+ 3.24 To Deliver Some New Features While Waiting For GTK4|website=www.phoronix.com|access-date=April 2, 2021|archive-date=April 22, 2024|archive-url=https://web.archive.org/web/20240422182931/https://www.phoronix.com/news/GTK-3.24-Coming-This-Fall|url-status=live}}</ref> The development of GTK 4 used version names 3.90, 3.92, etc. until the first GTK 4.0 stable release was launched in December 2020.<ref>{{cite web |url=https://blog.gtk.org/2020/12/16/gtk-4-0/ |title=GTK 4.0 |publisher=GTK development blog |date=2020-12-16 |access-date=October 18, 2021 |archive-date=May 28, 2023 |archive-url=https://web.archive.org/web/20230528122452/https://blog.gtk.org/2020/12/16/gtk-4-0/ |url-status=live}}</ref> Despite the first stable GTK 4 release, some [[:Category:Software that uses GTK|applications using GTK]] still rely on GTK 2. For example, as of January 2022, [[GIMP]] is still being ported to GTK 3.<ref>{{cite news |url=https://www.gimp.org/news/2020/11/06/gimp-2-99-2-released/ |title=Development release GIMP 2.99.2 is out |date=2020-11-06 |publisher=Gimp news |access-date=January 6, 2022 |archive-date=April 10, 2021 |archive-url=https://web.archive.org/web/20210410211809/https://www.gimp.org/news/2020/11/06/gimp-2-99-2-released/ |url-status=live}}</ref> |
|||
===Build automation=== |
|||
The master branch of GTK utilizes [[Meson (software)|Meson]] for its build automation. GTK (and GNOME, GLib, etc.) formerly utilized the [[GNU Build System]] (named Autotools) as the [[build automation]] system of choice. Since August 14, 2017, the Autotools build system files have been dropped.<ref>{{cite web |url=https://mail.gnome.org/archives/gtk-devel-list/2017-August/msg00028.html |title=Build system change GTK's master branch |website=mail.gnome.org |access-date=October 29, 2018 |archive-date=August 15, 2017 |archive-url=https://web.archive.org/web/20170815142255/https://mail.gnome.org/archives/gtk-devel-list/2017-August/msg00028.html |url-status=live}}</ref> |
|||
==Criticism== |
|||
The most common criticism of GTK is the lack of backward-compatibility in major updates, most notably in the [[application programming interface]] (API)<ref>{{cite web |url=http://blogs.gnome.org/mortenw/2014/06/23/how-does-one-create-a-gtk-application/ |title=How Does One Create A Gtk+ Application? – Morten Welinder |website=blogs.gnome.org |date=June 23, 2014 |access-date=June 3, 2017 |archive-date=July 1, 2014 |archive-url=https://web.archive.org/web/20140701054734/http://blogs.gnome.org/mortenw/2014/06/23/how-does-one-create-a-gtk-application/ |url-status=live}}</ref> and theming.<ref>{{cite web |url=https://blogs.gnome.org/mclasen/2015/11/20/a-gtk-update/ |title=A GTK+ update |author=mclasen |date=November 20, 2015 |website=Goings on |access-date=June 3, 2016 |archive-date=May 2, 2016 |archive-url=https://web.archive.org/web/20160502021009/https://blogs.gnome.org/mclasen/2015/11/20/a-gtk-update/ |url-status=live}}</ref> The result is that application developers or theme developers have to rewrite parts of their code to make it work with a newer version of GTK. |
|||
The compatibility breaks between minor releases during the GTK 3.x development cycle was explained by Benjamin Otte as due to strong pressures to innovate, such as providing the features modern users expect and supporting the increasingly influential [[Wayland (display server protocol)|Wayland display server protocol]]. With the release of GTK 4, the pressure from the need to innovate will have been released and the balance between stability and innovation will tip toward stability.<ref name="ottegtk4" /> Similarly, recent changes to theming are specifically intended to improve and stabilise that part of the API, meaning some investment now should be rewarded later. |
|||
* Aurélien Gâteau started Gwenview as GTK application but switch to qt early in development.<ref>{{cite web |quote=Yes, you read this right! Gwenview started its life as a GTK+ application! |url=https://agateau.com/2021/the-story-behind-gwenview-name/ |title=The story behind Gwenview name |author=Aurélien Gâteau |website=agateau.com |date=2021-10-03 |accessdate=2024-12-15 |archive-url=https://web.archive.org/web/20240422132531/https://agateau.com/2021/the-story-behind-gwenview-name/ |archive-date=2024-04-22}}</ref> |
|||
* Dirk Hohndel, codeveloper of [[Subsurface (software)|Subsurface]] and member of [[Intel]]'s Open-Source Technology Center, criticized the GTK developers for being abrasive and ignoring most community requests.<ref>{{cite web |url=https://www.phoronix.com/scan.php?page=news_item&px=MTU2ODM |title=The Biggest Problem With GTK & What Qt Does Good |last=Larabel |first=Michael |publisher=[[Phoronix]] |date=2014-01-12 |access-date=2014-09-10 |archive-date=July 1, 2016 |archive-url=https://web.archive.org/web/20160701024533/http://www.phoronix.com/scan.php?page=news_item&px=MTU2ODM |url-status=live}}</ref> |
|||
* Hong Jen Yee, developer of [[LXDE]] (the GTK version of which was dropped and all efforts focused on the [[LXQt|Qt port]]), expressed disdain for version 3 of the GTK toolkit's radical API changes and increased memory usage, and ported [[PCMan File Manager]] (PCManFM) to [[Qt (software)|Qt]]. PCManFM is being developed with a GTK and with a Qt backend at the same time.<ref>{{cite web |url=http://blog.lxde.org/?p=990 |title=PCManFM Qt 0.1.0 released |author=Hong Jen Yee |date=2013-03-26 |access-date=2014-09-10 |archive-date=June 7, 2013 |archive-url=https://web.archive.org/web/20130607022757/http://blog.lxde.org/?p=990 |url-status=live}}</ref> |
|||
* The [[Audacious (software)|Audacious]] music player moved to Qt in version 3.6.<ref>{{Cite web|url=https://audacious-media-player.org/news/32-audacious-3-6-released|title=Audacious - An Advanced Audio Player|website=audacious-media-player.org|access-date=November 22, 2019|archive-date=July 28, 2019|archive-url=https://web.archive.org/web/20190728162703/https://audacious-media-player.org/news/32-audacious-3-6-released|url-status=live}}</ref> The reasons stated by the developers for this include a transition to client-side window decorations, which they claim cause the application to look "[[GNOME]]-y and out of place."<ref>{{cite web |url=http://redmine.audacious-media-player.org/boards/1/topics/1135 |title=Ugly window decorations and how to fix them (GTK 3.12) |last=Lindgren |first=John |date=2014-05-06 |access-date=2014-10-21 |archive-date=October 13, 2014 |archive-url=https://web.archive.org/web/20141013110025/http://redmine.audacious-media-player.org/boards/1/topics/1135 |url-status=live}}</ref> |
|||
* [[Wireshark]] has switched to Qt due to not having a good experience with GTK's cross-platform support.<ref>{{cite web |url=https://blog.wireshark.org/2013/10/switching-to-qt/ |title=We're switching to Qt |author=Gerald Combs |date=2013-10-15 |access-date=2015-08-19 |archive-date=October 19, 2013 |archive-url=https://web.archive.org/web/20131019164809/https://blog.wireshark.org/2013/10/switching-to-qt/ |url-status=live}}</ref> |
|||
==Use== |
|||
[[File:Free and open-source-software display servers and UI toolkits.svg|thumb|GTK's support for [[Wayland (display server protocol)|Wayland]] requires applications to be adapted to Wayland as well.]] |
|||
[[File:GIMP 2.8 in Single Window Mode running on Ubuntu.png|thumb|Screenshot of [[GIMP]] 2.8 - GTK is responsible for managing the interface components of the program, including the menus, buttons, and input fields.]] |
|||
===Applications=== |
|||
{{Main|List of GTK applications|:Category:Software that uses GTK}} |
|||
Some notable applications that use GTK as a widget toolkit include: |
|||
* [[Ardour (software)|Ardour]], a [[digital audio workstation]] (DAW) |
|||
* [[Deluge (software)|Deluge]], a [[BitTorrent]] client |
|||
* [[Foliate (software)|Foliate]], an [[ebook]] reader |
|||
* [[GIMP]], a [[raster graphics editor]] |
|||
* [[GNOME Core Applications]], a collection of applications as a standard bundle of the [[GNOME]] desktop environment |
|||
* [[GNOME Circle]], a collection of applications created to work within the GNOME ecosystem |
|||
* [[GNOME Evolution]], a [[personal information manager]] |
|||
* [[HandBrake]], digital video [[transcoder]] |
|||
* [[Inkscape]], a [[vector graphics editor]] |
|||
* [[LibreOffice]], an [[office suite]] |
|||
* [[Lutris]], a game manager |
|||
* [[Mozilla Firefox]], a [[web browser]] |
|||
* [[Mozilla Thunderbird]], a personal information manager |
|||
* [[Pitivi]], a [[Video editing software|video editor]] |
|||
* [[PCSX-Reloaded]], a [[video game console emulator]] |
|||
* [[REAPER]], a digital audio workstation (DAW) |
|||
* [[Remmina]], a [[Remote desktop software|remote desktop]] client |
|||
* [[Transmission (BitTorrent client)|Transmission]], a Bit Torrent client |
|||
GTK programs can be run on desktop environments based on [[X11]] and [[Wayland (protocol)|Wayland]], or others including ones not made with GTK, provided the needed libraries are installed; this includes [[macOS]] if [[X11.app]] is installed. GTK can be also run on [[Microsoft Windows]]. It is used by some popular cross-platform applications like [[Pidgin (software)|Pidgin]] and [[GIMP]]. [[wxWidgets]], a cross-platform GUI toolkit, uses GTK on Linux by default.<ref>{{cite web |title=GTK+ |url=http://www.wxwidgets.org/wiki/index.php/WxWidgets_Compared_To_Other_Toolkits#GTK.2B |url-status=live |archive-url=https://web.archive.org/web/20071005160312/http://www.wxwidgets.org/wiki/index.php/WxWidgets_Compared_To_Other_Toolkits#GTK.2B |archive-date=October 5, 2007 |access-date=August 28, 2007 |work=WxWidgets Compared To Other Toolkits}}</ref> Other ports include [[DirectFB]] (for example used by the [[Debian-Installer|Debian installer]]). |
|||
===Desktop environments=== |
|||
{{Main|:Category:Desktop environments based on GTK|l1=Desktop environments based on GTK}} |
|||
Several [[desktop environment]]s utilize GTK as the widget toolkit. |
|||
====Current==== |
|||
* [[GNOME]], based on GTK, meaning that programs native to GNOME use GTK |
|||
* [[Budgie (desktop environment)|Budgie]], built from scratch for the SolusOS successor, [[Solus Operating System]] |
|||
* [[Cinnamon (software)|Cinnamon]], a fork of GNOME 3 which uses GTK version 3 |
|||
* [[MATE (software)|MATE]], a fork of GNOME 2 which uses GTK 3 since version 1.18 |
|||
* [[Xfce]], based on GTK 3 since version 4.14 |
|||
* [[Elementary OS#Pantheon desktop environment|Pantheon]] uses GTK 3 exclusively, being developed by [[elementary OS]] |
|||
* [[Sugar (desktop environment)|Sugar]], a desktop environment for youth [[primary education]], which uses GTK, especially [[PyGTK]] |
|||
* [[Phosh]], a mobile UI designed for [[PureOS]] |
|||
* [[LXDE]] (Lightweight X11 Desktop Environment) is based on GTK 2 |
|||
* [[Unity (user interface)|Unity]], the former default desktop environment of [[Ubuntu]] |
|||
====Inactive==== |
|||
* [[Access Linux Platform]] (successor of the [[Palm OS]] [[Personal digital assistant|PDA]] platform) |
|||
* Consort, the GNOME 3.4 Fallback Mode – [[fork (software development)|fork]] from [[Solus (operating system)|Solus]] |
|||
* [[GPE Palmtop Environment|GPE]], the GPE Palmtop Environment |
|||
* [[ROX Desktop]], a lightweight desktop, with features from the [[GUI]] of [[RISC OS]] |
|||
===Window managers=== |
|||
The following window managers use GTK: |
|||
{{Div col|colwidth=30em}} |
|||
* Aewm |
|||
* [[AfterStep]] |
|||
* Amaterus |
|||
* Consortium |
|||
* [[IceWM]] |
|||
* [[Marco (software)|Marco]] |
|||
* [[Metacity]] |
|||
* Muffin |
|||
* [[Mutter (software)|Mutter]] |
|||
* [[Sawfish (window manager)|Sawfish]] |
|||
* Wmg |
|||
* [[Xfce|Xfwm]] |
|||
{{div col end}} |
|||
===GtkSourceView=== |
|||
For [[syntax highlighting]] there is [[GtkSourceView]], "source code editing widget". GtkSourceView is maintained by GNOME separately from GTK as a library: gtksourceview. There are plans to rename to gsv.{{Citation needed|date=December 2023}} |
|||
===GtkSpell=== |
|||
GtkSpell is a library separate from GTK. GtkSpell depends on GTK and [[Enchant (software)|Enchant]]. Enchant is a wrapper for ispell, [[hunspell]], etc., the actual [[spell checker]] engine/software. GtkSpell uses GTK's GtkTextView widget, to highlight misspelled words and offer replacement. |
|||
==History== |
|||
GTK was originally designed and used in the [[GIMP|GNU Image Manipulation Program]] (GIMP) as a replacement of the [[Motif (software)|Motif]] toolkit; at some point [[Peter Mattis]] became disenchanted with Motif and began to write his own GUI toolkit named the GIMP toolkit and had successfully replaced Motif by the 0.60 release of GIMP.<ref>{{cite web |url=http://www.linuxworld.com/linuxworld/lw-1999-01/lw-01-gimp.html |title=LinuxWorld - Where did Spencer Kimball and Peter Mattis go? |access-date=2013-08-19 |url-status=dead |archive-url=https://web.archive.org/web/19990417052141/http://www.linuxworld.com/linuxworld/lw-1999-01/lw-01-gimp.html |archive-date=April 17, 1999}}</ref> Finally GTK was re-written to be [[Object-oriented programming|object-oriented]] and was renamed GTK+.<ref>{{cite web |url=http://developer.gnome.org/gtk-faq/stable/x90.html |archive-url= https://web.archive.org/web/20120326131857/http://developer.gnome.org/gtk-faq/stable/x90.html |title=What is the + in GTK+? |year=2011 |access-date=2014-03-18 |archive-date=2012-03-26}}</ref> This was first used in the 0.99 release of GIMP. GTK was subsequently adopted for maintenance by the [[GNOME Foundation]], which uses it in the GNOME desktop environment. |
|||
=== GTK 2 === |
|||
The GTK 2.0.0 release series introduced new features which include improved text rendering using [[Pango]], a new [[Theme (computing)|theme]] engine, improved accessibility using the [[Accessibility Toolkit]], transition to [[Unicode]] using [[UTF-8]] strings, and a more flexible API. Starting with version 2.8, GTK 2 depends on the [[Cairo (graphics)|Cairo]] graphics library for rendering vector graphics. |
|||
=== GTK 3 === |
|||
GTK version 3.0.0 included revised input device handling, support for themes written with [[CSS]]-like syntax, and the ability to receive information about other opened GTK applications. |
|||
The '+' was dropped returning to simply 'GTK' in February 2019 during a [[Hackathon]].<ref>{{Cite web|url=https://gitlab.gnome.org/GNOME/gtk/commit/d080be3e5091c98d5171063a95d55c01170881f3|title=Rename some references to GTK+ (d080be3e) · Commits · GNOME / gtk|website=gitlab.gnome.org|date=February 4, 2019|access-date=February 5, 2019|archive-date=February 25, 2021|archive-url=https://web.archive.org/web/20210225124433/https://gitlab.gnome.org/GNOME/gtk/commit/d080be3e5091c98d5171063a95d55c01170881f3|url-status=live}}</ref> |
|||
===OpenVMS=== |
|||
[[Hewlett Packard Enterprise|HP]] stated that their goal was to merge the needed [[OpenVMS]] changes into the GTK Version 1.3 development stream, however this never materialised.<ref>{{cite web |url=http://h41379.www4.hpe.com/openvms/products/ips/gtk.html |title=HP OpenVMS systems - GTK+ |access-date=July 12, 2018 |archive-date=July 13, 2018 | archive-url=https://web.archive.org/web/20180713012300/http://h41379.www4.hpe.com/openvms/products/ips/gtk.html |url-status=live}}</ref> The latest version of GTK for OpenVMS is version 1.2.10.<ref>{{cite web |url=http://h41379.www4.hpe.com/openvms/products/ips/gtk_down.html |title=HP OpenVMS systems - GTK+ |access-date=July 12, 2018 |archive-date=July 13, 2018 |archive-url=https://web.archive.org/web/20180713015324/http://h41379.www4.hpe.com/openvms/products/ips/gtk_down.html |url-status=live}}</ref> |
|||
=== GTK 4 <span class="anchor" id="GTK4"></span><span class="anchor" id="GTK 4"></span> === |
|||
One of the main changes made during the GTK 4 development cycle (i.e. GTK 3.92, etc.) was the removal of user customization options (like individual keyboard shortcuts that could be set in GTK+ 2), and the delegation of functionality to ancillary objects instead of encoding it into the base classes provided by GTK. Other changes include: |
|||
* Event handling from signal handlers described by GtkWidget is delegated to event controllers. |
|||
* Rendering is delegated to GtkSnapshot objects. |
|||
* The layout mechanism is delegated from GtkWidget to GtkLayoutManager. |
|||
At the 2018 edition of [[DevConf.cz]], Matthias Clasen gave an overview of the then-current state of GTK 4 development, including a high-level explanation of how rendering and input worked in GTK 3, what changes were being made to GTK 4, and the reasons for those changes. Examples of things that have become possible with GTK 4 were given as well.<ref>{{cite web |last1=Clasen |first1=Matthias |title=GTK+ 4 Status Update |url=https://mclasen.fedorapeople.org/gtk4-devconf2018.pdf |website=Fedora People |access-date=April 22, 2024|archive-date=April 22, 2024 |archive-url=https://web.archive.org/web/20240422184711/https://mclasen.fedorapeople.org/gtk4-devconf2018.pdf |url-status=live}}</ref> |
|||
===Releases=== |
|||
{|class="wikitable mw-collapsible mw-collapsed" style="width:100%;" |
|||
|- |
|||
| colspan="4" | {{Version|l|show=111111}} |
|||
|- |
|||
! Release series |
|||
! Initial release |
|||
! Major enhancements |
|||
! Latest minor version |
|||
|- |
|||
! {{Version|o|1.0}} |
|||
| style="white-space: nowrap;" | 1998-04-13<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-list/1998-April/msg00303.html |title=ANNOUNCE: GTK+ 1.0.0 Released! |date=April 13, 1998 |access-date=May 20, 2019 |last=Amundson |first=Shawn T. |mailing-list=GNOME Mail Services |archive-date=March 12, 2019 |archive-url=https://web.archive.org/web/20190312022545/https://mail.gnome.org/archives/gtk-list/1998-April/msg00303.html |url-status=live}}</ref> |
|||
| First stable version |
|||
| 1.0. |
|||
|- |
|||
! {{Version|o|1.2}} |
|||
| style="white-space: nowrap;" | 1999-02-25<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-list/1999-February/msg00756.html |title=ANNOUNCE: GTK+ and GLib 1.2.0 Released |date=February 25, 1999 |access-date=May 20, 2019 |last=Amundson |first=Shawn T. |mailing-list=GNOME Mail Services |archive-date=August 10, 2020 |archive-url=https://web.archive.org/web/20200810170943/https://mail.gnome.org/archives/gtk-list/1999-February/msg00756.html |url-status=live}}</ref> |
|||
| New [[GUI widget|widgets]]: |
|||
* GtkFontSelector |
|||
* GtkPacker |
|||
* GtkItemFactory |
|||
* GtkCTree |
|||
* GtkInvisible |
|||
* GtkCalendar |
|||
* GtkLayout |
|||
* GtkPlug |
|||
* GtkSocket |
|||
| 1.2.10 |
|||
|- |
|||
! {{Version|o|2.0}} |
|||
| style="white-space: nowrap;" | 2002-03-11<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-list/2002-March/msg00136.html |title=GTK+-2.0.0 released |date=March 11, 2002 |access-date=May 20, 2019 |last=Taylor |first=Owen |mailing-list=GNOME Mail Services |archive-date=August 10, 2020 |archive-url=https://web.archive.org/web/20200810165729/https://mail.gnome.org/archives/gtk-list/2002-March/msg00136.html |url-status=live}}</ref> |
|||
| [[GObject]] |
|||
Overall support for [[UTF-8]] |
|||
| 2.0.9 |
|||
|- |
|||
! {{Version|o|2.2}} |
|||
| style="white-space: nowrap;" | 2002-12-22<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-list/2002-December/msg00206.html |title=GTK+-2.2.0 released |date=December 22, 2002 |access-date=May 20, 2019 |last=Taylor |first=Owen |mailing-list=GNOME Mail Services |archive-date=August 10, 2020 |archive-url=https://web.archive.org/web/20200810171903/https://mail.gnome.org/archives/gtk-list/2002-December/msg00206.html |url-status=live}}</ref> |
|||
| Multihead support |
|||
| 2.2.4 |
|||
|- |
|||
! {{Version|o|2.4}} |
|||
| style="white-space: nowrap;" | 2004-03-16<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-list/2004-March/msg00111.html | title = GTK+-2.4.0 released |date=March 16, 2004 |access-date=May 20, 2019 | last = Taylor | first = Owen | mailing-list = GNOME Mail Services |archive-date=August 10, 2020 | archive-url = https://web.archive.org/web/20200810165134/https://mail.gnome.org/archives/gtk-list/2004-March/msg00111.html |url-status=live}}</ref> |
|||
| New widgets: |
|||
* GtkFileChooser |
|||
* GtkComboBox |
|||
* GtkComboBoxEntry |
|||
* GtkExpander |
|||
* GtkFontButton |
|||
* GtkColorButton |
|||
| 2.4.14 |
|||
|- |
|||
! {{Version|o|2.6}} |
|||
| style="white-space: nowrap;" | 2004-12-16<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-list/2004-December/msg00155.html |title=GTK+-2.6.0 released |date=December 16, 2004 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=August 10, 2020 |archive-url=https://web.archive.org/web/20200810164349/https://mail.gnome.org/archives/gtk-list/2004-December/msg00155.html |url-status=live}}</ref> |
|||
| New widgets: |
|||
* GtkIconView |
|||
* GtkAboutDialog |
|||
* GtkCellView |
|||
The last to support [[Windows 98]]/[[Windows Me|Me]] |
|||
| 2.6.10 |
|||
|- |
|||
! {{Version|o|2.8}} |
|||
| style="white-space: nowrap;" | 2005-08-13<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-list/2005-August/msg00124.html | title = GTK+ 2.8.0 released | date=August 13, 2005 | access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services | archive-date=August 10, 2020 | archive-url = https://web.archive.org/web/20200810170418/https://mail.gnome.org/archives/gtk-list/2005-August/msg00124.html | url-status = live}}</ref> |
|||
| Most widgets are rendered by [[Cairo (graphics)|Cairo]] |
|||
| 2.8.20 |
|||
|- |
|||
! {{Version|o|2.10}} |
|||
| style="white-space: nowrap;" | 2006-07-03<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2006-July/msg00004.html | title = GTK+ 2.10 released | date=July 3, 2006 | access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services | archive-date=January 22, 2021 | archive-url = https://web.archive.org/web/20210122165417/https://mail.gnome.org/archives/gtk-devel-list/2006-July/msg00004.html | url-status = live}}</ref> |
|||
| New widgets: |
|||
* GtkStatusIcon |
|||
* GtkAssistant |
|||
* GtkLinkButton |
|||
* GtkRecentChooser |
|||
Print support: GtkPrintOperation |
|||
| 2.10.14 |
|||
|- |
|||
! {{Version|o|2.12}} |
|||
| style="white-space: nowrap;" | 2007-09-14<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-devel-list/2007-September/msg00052.html |title=GTK+ 2.12 released |date=September 14, 2007 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=May 25, 2019 |archive-url=https://web.archive.org/web/20190525193406/https://mail.gnome.org/archives/gtk-devel-list/2007-September/msg00052.html |url-status=live}}</ref> |
|||
| GtkBuilder |
|||
| style="white-space: nowrap;" | 2.12.12 |
|||
|- |
|||
! {{Version|o|2.14}} |
|||
| style="white-space: nowrap;" | 2008-09-04<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-devel-list/2008-September/msg00024.html |title=GTK+ 2.14.0 released |date=September 4, 2008 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=August 10, 2020 |archive-url=https://web.archive.org/web/20200810171006/https://mail.gnome.org/archives/gtk-devel-list/2008-September/msg00024.html |url-status=live}}</ref> |
|||
| [[JPEG 2000]] load support |
|||
| style="white-space: nowrap;" | 2.14.7 |
|||
|- |
|||
! {{Version|o|2.16}} |
|||
| style="white-space: nowrap;" | 2009-03-13<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-devel-list/2009-March/msg00101.html |title=GTK+ 2.16.0 released |date=March 13, 2009 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=June 3, 2019 |archive-url=https://web.archive.org/web/20190603111921/https://mail.gnome.org/archives/gtk-devel-list/2009-March/msg00101.html |url-status=live}}</ref> |
|||
| New widget: GtkOrientable |
|||
Caps Lock warning in password entry |
|||
Improvements on GtkScale, GtkStatusIcon, GtkFileChooser |
|||
| style="white-space: nowrap;" | 2.16.6 |
|||
|- |
|||
! {{Version|o|2.18}} |
|||
| style="white-space: nowrap;" | 2009-09-23<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-devel-list/2009-September/msg00054.html |title=GTK+ 2.18.0 released |date=September 23, 2009 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=June 3, 2019 |archive-url=https://web.archive.org/web/20190603112318/https://mail.gnome.org/archives/gtk-devel-list/2009-September/msg00054.html |url-status=live}}</ref> |
|||
| New widget: GtkInfoBar |
|||
Improvement on file chooser, printing |
|||
To remove much of the necessary IPC between the X11 application and the X11 server, [[GDK]] is rewritten (mainly by Alexander Larsson) to use "client-side windows", i.e., the GdkWindow, which every widget must have, belongs now to the client |
|||
| style="white-space: nowrap;" | 2.18.9 |
|||
|- |
|||
! {{Version|o|2.20}} |
|||
| style="white-space: nowrap;" | 2010-03-23<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2010-March/msg00132.html | title = GTK+ 2.20.0 released |date=March 23, 2010 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list = GNOME Mail Services |archive-date=May 25, 2019 |archive-url=https://web.archive.org/web/20190525193410/https://mail.gnome.org/archives/gtk-devel-list/2010-March/msg00132.html | url-status = live}}</ref> |
|||
| New widgets: |
|||
* GtkSpinner |
|||
* GtkToolPalette |
|||
* GtkOffscreenWindow |
|||
Improvement on file chooser, keyboard handling, GDK |
|||
Introspection data is now included in GTK |
|||
| style="white-space: nowrap;" | 2.20.1 |
|||
|- |
|||
! {{Version|o|2.22}} |
|||
| style="white-space: nowrap;" | 2010-09-23<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2010-September/msg00263.html | title = GTK+ 2.22.0 released | date=September 23, 2010 | access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services | archive-date=May 25, 2019 | archive-url = https://web.archive.org/web/20190525193414/https://mail.gnome.org/archives/gtk-devel-list/2010-September/msg00263.html | url-status = live}}</ref> |
|||
| [[GdkPixbuf]] moved to separate module |
|||
Most GDK drawing are based on Cairo |
|||
Many internal data are now private and can be ''sealed'' in preparation to GTK 3 |
|||
| style="white-space: nowrap;" | 2.22.1 |
|||
|- |
|||
! {{Version|o|2.24}} |
|||
| style="white-space: nowrap;" | 2011-01-30<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00042.html | title = GTK+ 2.24.0 | date=January 20, 2011 | access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services | archive-date=May 8, 2019 | archive-url = https://web.archive.org/web/20190508195340/https://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00042.html | url-status = live}}</ref> |
|||
| New widget: GtkComboBoxText which had previously been a custom widget shipped with Gtkmm |
|||
The CUPS print backend can send print jobs as PDF |
|||
GtkBuilder has gained support for text tags and menu toolbuttons and many introspection annotation fixes were added |
|||
Migrating from GTK+ 2.x to GTK+ 3 |
|||
| style="white-space: nowrap;" | 2.24.33<br />(2020-12-21)<ref>{{Cite web |date=2020-12-21 |title=Tags · GNOME / gtk · GitLab |url=https://gitlab.gnome.org/GNOME/gtk/-/tags?sort=updated_desc&search=2.24 |access-date=2023-10-18 |website=GitLab |language=en |archive-date=December 4, 2023 |archive-url=https://web.archive.org/web/20231204065829/https://gitlab.gnome.org/GNOME/gtk/-/tags?sort=updated_desc&search=2.24 |url-status=live}}</ref> |
|||
|- |
|||
! {{Version|o|3.0}} |
|||
| style="white-space: nowrap;" | 2011-02-10<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-devel-list/2011-February/msg00020.html |title=GTK+ 3.0.0 released |date=February 10, 2011 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=March 12, 2019 |archive-url=https://web.archive.org/web/20190312022544/https://mail.gnome.org/archives/gtk-devel-list/2011-February/msg00020.html |url-status=live}}</ref> |
|||
| Development and design of the GTK 3 release of the toolkit started in February 2009 during the GTK Theming Hackfest held in Dublin<ref>{{cite web|url=http://aruiz.typepad.com/siliconisland/2009/02/gtk-30-theming.html|title=Gtk+ 3.0 Theming API Hackfest|website=Silicon Island|access-date=June 3, 2017|archive-date=July 17, 2011|archive-url=https://web.archive.org/web/20110717121424/http://aruiz.typepad.com/siliconisland/2009/02/gtk-30-theming.html|url-status=live}}</ref> |
|||
* The first draft of the development roadmap was released on April 9, 2009<ref>{{cite web|url=http://testbit.eu/~timj/blogstuff/GtkRoadmap3Draft2.html|title=Gtk+ 3 roadmap draft|access-date=June 3, 2017|archive-date=April 12, 2009|archive-url=https://web.archive.org/web/20090412092855/http://testbit.eu/~timj/blogstuff/GtkRoadmap3Draft2.html|url-status=live}}</ref> |
|||
Completed mostly ''Project Ridley'' |
|||
* the attempt to consolidate several libraries that were external to GTK+ |
|||
* including <code>libgnome</code>, <code>libgnomeui</code>, <code>libgnomeprint22</code>, <code>libgnomeprintui22</code>, <code>libglade</code>, <code>libgnomecanvas</code>, <code>libegg</code>, <code>libeel</code>, <code>gtkglext</code>, and <code>libsexy</code><ref>{{Cite web|url=https://wiki.gnome.org/Attic/ProjectRidley|title=Attic/ProjectRidley - GNOME Wiki!|website=wiki.gnome.org|access-date=March 29, 2014|archive-date=March 4, 2016|archive-url=https://web.archive.org/web/20160304091150/https://wiki.gnome.org/Attic/ProjectRidley|url-status=live}}</ref> |
|||
All the rendering is done using Cairo |
|||
[[GDK]] became more X11 agnostic |
|||
XInput2, theme API is based on [[Cascading Style Sheets]] (CSS), worsening the achievable performance for 60 Hz [[frame rate]]s |
|||
| style="white-space: nowrap;" | 3.0.12 |
|||
|- |
|||
! {{Version|o|3.2}} |
|||
| style="white-space: nowrap;" | 2011-09-25<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00175.html |title=GTK+ 3.2.0 |date=September 25, 2011 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=May 25, 2019 |archive-url=https://web.archive.org/web/20190525193409/https://mail.gnome.org/archives/gtk-devel-list/2011-September/msg00175.html |url-status=live}}</ref> |
|||
| New widgets: |
|||
* GtkLockButton |
|||
* GtkOverlay |
|||
New Font Chooser dialog |
|||
New experimental backends: |
|||
* [[Wayland (display server protocol)|Wayland]] |
|||
* [[HTML5]] (named "Broadway") |
|||
| style="white-space: nowrap;" | 3.2.4 |
|||
|- |
|||
! {{Version|o|3.4}} |
|||
| style="white-space: nowrap;" | 2012-03-26<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2012-March/msg00082.html | title = GTK+ 3.4.0 released |date=March 26, 2012 |access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services |archive-date=May 25, 2019 | archive-url = https://web.archive.org/web/20190525193407/https://mail.gnome.org/archives/gtk-devel-list/2012-March/msg00082.html | url-status = live}}</ref> |
|||
| Menu support in GtkApplication |
|||
A new color chooser |
|||
Added support for touch devices |
|||
Added support for smooth scrolling |
|||
GtkScrolledWindow will do kinetic scrolling with touch devices |
|||
macOS support is improved |
|||
This is the first version of GTK 3 that works well on Windows |
|||
The Wayland backend is updated to the current Wayland version |
|||
Spin buttons have received a new look |
|||
Accessibility: the treeview accessible support is rewritten |
|||
More complete CSS theming support |
|||
| style="white-space: nowrap;" | 3.4.4 |
|||
|- |
|||
! {{Version|o|3.6}} |
|||
| style="white-space: nowrap;" | 2012-09-24<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-devel-list/2012-September/msg00045.html |title=GTK+ 3.6.0 released |date=September 24, 2012 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=May 25, 2019 |archive-url=https://web.archive.org/web/20190525193412/https://mail.gnome.org/archives/gtk-devel-list/2012-September/msg00045.html |url-status=live}}</ref> |
|||
| New widgets: |
|||
* GtkSearchEntry |
|||
* GtkMenuButton |
|||
* GtkLevelBar |
|||
Vertical spin buttons |
|||
CSS animations, blur shadows |
|||
Support for cross-fading and transitions in themes |
|||
| style="white-space: nowrap;" | 3.6.5 |
|||
|- |
|||
! {{Version|o|3.8}} |
|||
| style="white-space: nowrap;" | 2013-03-25<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2013-March/msg00108.html | title = GTK+ 3.8.0 released |date=March 25, 2013 | access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services | archive-date=March 3, 2016 | archive-url = https://web.archive.org/web/20160303210908/https://mail.gnome.org/archives/gtk-devel-list/2013-March/msg00108.html | url-status = live}}</ref> |
|||
| Wayland 1.0 stable support |
|||
Support for the broadwayd server |
|||
Improved theming |
|||
Better geometry management |
|||
Touch improvements |
|||
Support with the [[window manager]] for the frame synchronization protocol |
|||
[[GdkFrameClock]] added<ref>{{Cite web|url=https://developer.gnome.org/gdk3/stable/GdkFrameClock.html|title=Frame clock: GDK 3 Reference Manual|website=developer.gnome.org|access-date=April 13, 2017|archive-date=April 14, 2017|archive-url=https://web.archive.org/web/20170414162353/https://developer.gnome.org/gdk3/stable/GdkFrameClock.html|url-status=live}}</ref> |
|||
| style="white-space: nowrap;" | 3.8.9 |
|||
|- |
|||
! {{Version|o|3.10}} |
|||
| style="white-space: nowrap;" | 2013-09-23<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2013-September/msg00057.html | title = GTK+ 3.10.0 released |date=September 23, 2013 |access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services |archive-date=May 25, 2019 | archive-url = https://web.archive.org/web/20190525193411/https://mail.gnome.org/archives/gtk-devel-list/2013-September/msg00057.html | url-status = live}}</ref> |
|||
| New widgets: |
|||
* GtkHeaderBar |
|||
* GtkPlacesSidebar |
|||
* GtkStack |
|||
* GtkStackSwitcher |
|||
* GtkRevealer |
|||
* GtkSearchBar |
|||
* GtkListBox |
|||
Support for Wayland 1.2 |
|||
* maximization |
|||
* animated cursors |
|||
* multiple monitors |
|||
* settings |
|||
* custom surfaces |
|||
* frame synchronization |
|||
Added: |
|||
* client-side decorations |
|||
* scaled output support on high-dpi screens |
|||
* fine-adjustment mode for scrolling |
|||
Removed: |
|||
* support for the Motif DND protocol |
|||
* support for multiple screens per display |
|||
* gdk_window_get_display |
|||
* gtk_widget_push_composite_child |
|||
Tear-off menu-items, plus many GTK settings |
|||
The modern GTK drawing model |
|||
| style="white-space: nowrap;" | 3.10.9 |
|||
|- |
|||
! {{Version|o|3.12}} |
|||
| style="white-space: nowrap;" | 2014-03-25<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2014-March/msg00060.html | title = GTK+ 3.12 released |date=March 25, 2014 |access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services |archive-date=May 25, 2019 | archive-url = https://web.archive.org/web/20190525193407/https://mail.gnome.org/archives/gtk-devel-list/2014-March/msg00060.html | url-status = live}}</ref> |
|||
| Client-side decorations<ref>{{Cite web|url=https://blogs.gnome.org/mclasen/2013/12/05/client-side-decorations-in-themes/|title=Client-side decorations in themes | Goings on|date=December 5, 2013|access-date=December 31, 2015|archive-date=September 19, 2015|archive-url=https://web.archive.org/web/20150919102531/https://blogs.gnome.org/mclasen/2013/12/05/client-side-decorations-in-themes/|url-status=live}}</ref> |
|||
Support for Wayland 1.5 |
|||
New widget: [[Popover (GUI)|GtkPopover]] (an alternative to menus and dialogs) |
|||
| style="white-space: nowrap;" | 3.12.2 |
|||
|- |
|||
! {{Version|o|3.14}} |
|||
| style="white-space: nowrap;" | 2014-09-22<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-devel-list/2014-September/msg00007.html | title = GTK+ 3.14.0 released |date=September 22, 2014 |access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services |archive-date=May 25, 2019 | archive-url = https://web.archive.org/web/20190525193409/https://mail.gnome.org/archives/gtk-devel-list/2014-September/msg00007.html | url-status = live}}</ref> |
|||
| [[GtkInspector]] (a copy of gtkparasite) introduced<ref>{{cite web |url=http://blogs.gnome.org/mclasen/2014/05/15/introducing-gtkinspector/ |title=GtkInspector Author's blog entry |author=Matthias Clasen |date=2014-05-15 |access-date=2014-05-17 |archive-date=May 17, 2014 |archive-url=https://web.archive.org/web/20140517185349/http://blogs.gnome.org/mclasen/2014/05/15/introducing-gtkinspector/ |url-status=live}}</ref><ref>{{cite web |url=https://wiki.gnome.org/Projects/GTK%2B/Inspector |title=GtkInspector in GNOME wiki |date=2014-05-15 |access-date=2014-05-17 |archive-date=May 24, 2014 |archive-url=https://web.archive.org/web/20140524030546/https://wiki.gnome.org/Projects/GTK%2B/Inspector |url-status=live}}</ref> |
|||
Improved support for [[gestures]]/[[multi-touch]] merged<ref>{{cite web |url=https://www.phoronix.com/scan.php?page=news_item&px=MTY5ODc |title=Merging gestures into 3.14 |date=2014-05-23 |access-date=2014-05-23 |archive-date=September 14, 2016 |archive-url=https://web.archive.org/web/20160914120128/http://www.phoronix.com/scan.php?page=news_item&px=MTY5ODc |url-status=live}}</ref><ref>{{cite web |url=https://mail.gnome.org/archives/gtk-devel-list/2014-March/msg00018.html |title=RFC: gestures |date=2014-03-04 |access-date=2014-05-23 |archive-date=May 24, 2014 |archive-url=https://web.archive.org/web/20140524023059/https://mail.gnome.org/archives/gtk-devel-list/2014-March/msg00018.html |url-status=live}}</ref> |
|||
Deprecated:<ref>{{cite web|url=https://mail.gnome.org/archives/ftp-release-list/2014-May/msg00119.html|title=gtk+ 3.13.2|date=2014-05-27|access-date=May 28, 2014|archive-date=May 29, 2014|archive-url=https://web.archive.org/web/20140529051203/https://mail.gnome.org/archives/ftp-release-list/2014-May/msg00119.html|url-status=live}}</ref> |
|||
* GtkMisc |
|||
* GtkAlignment |
|||
* GtkArrow |
|||
* GdkColor |
|||
* Style regions |
|||
* support for .icon files |
|||
* gdk_window_flush |
|||
* drawing outside of begin/end paint |
|||
Most widgets converted to use gestures internally |
|||
Wayland supports GNOME Shell classic mode<ref>{{cite web |url=https://mail.gnome.org/archives/ftp-release-list/2014-June/msg00075.html |title=gtk+ 3.13.3 |date=2014-06-24 |access-date=June 25, 2014 |archive-date=December 15, 2014 |archive-url=https://web.archive.org/web/20141215042625/https://mail.gnome.org/archives/ftp-release-list/2014-June/msg00075.html |url-status=live}}</ref> |
|||
| style="white-space: nowrap;" | 3.14.15 |
|||
|- |
|||
! {{Version|o|3.16}} |
|||
| style="white-space: nowrap;" | 2015-03-22<ref>{{cite mailing list |url=https://mail.gnome.org/archives/gtk-devel-list/2015-March/msg00062.html |title=GTK+ 3.16.0 released |date=March 22, 2015 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=May 25, 2019 |archive-url=https://web.archive.org/web/20190525193410/https://mail.gnome.org/archives/gtk-devel-list/2015-March/msg00062.html |url-status=live}}</ref> |
|||
| GDK supports rendering windows using OpenGL for X11 and Wayland using [[libepoxy]] |
|||
New widgets: |
|||
* '''GtkGLArea''' |
|||
* GtkStackSidebar |
|||
* GtkModelButton |
|||
* GtkPopoverMenu |
|||
Scrolling overhauled ([[scrollbar]] hidden by default<ref>{{cite web|url=http://www.heise.de/open/meldung/Linux-Desktop-Neues-Gnome-zeigt-Nachrichten-oben-2584020.html|title=Linux-Desktop: Neues Gnome zeigt Nachrichten oben|first=heise|last=online|website=heise online|date=March 25, 2015|access-date=June 3, 2017|archive-date=June 25, 2016|archive-url=https://web.archive.org/web/20160625193825/http://www.heise.de/open/meldung/Linux-Desktop-Neues-Gnome-zeigt-Nachrichten-oben-2584020.html|url-status=live}}</ref>) |
|||
Experimental [[Mir (software)|Mir]] backend<ref>{{cite web|url=https://mail.gnome.org/archives/gnome-announce-list/2015-March/msg00029.html|title=GTK+ 3.16.0 released|website=mail.gnome.org|access-date=June 3, 2017|archive-date=April 7, 2016|archive-url=https://web.archive.org/web/20160407050958/https://mail.gnome.org/archives/gnome-announce-list/2015-March/msg00029.html|url-status=live}}</ref> |
|||
| style="white-space: nowrap;" | 3.16.7 |
|||
|- |
|||
! {{Version|o|3.18}} |
|||
| style="white-space: nowrap;" | 2015-09-23<ref>{{Cite web|url=https://news.softpedia.com/news/gtk-plus-3-18-0-officially-released-as-part-of-the-gnome-3-18-desktop-environment-492591.shtml|title=GTK+ 3.18.0 Officially Released as Part of the GNOME 3.18 Desktop Environment|last=Nestor|first=Marius|date=Sep 24, 2015|website=Softpedia|access-date=May 25, 2019|archive-date=May 25, 2019|archive-url=https://web.archive.org/web/20190525193407/https://news.softpedia.com/news/gtk-plus-3-18-0-officially-released-as-part-of-the-gnome-3-18-desktop-environment-492591.shtml|url-status=live}}</ref> |
|||
| Add CSS node infrastructure |
|||
More filechooser design refresh and better filechooser search |
|||
Dropped Windows XP support |
|||
Model support for list and flow box |
|||
Kinetic touchpad scrolling |
|||
Touchpad gestures (Wayland) |
|||
gtk-builder-tool utility |
|||
Output-only windows |
|||
| style="white-space: nowrap;" | 3.18.9 |
|||
|- |
|||
! {{Version|o|3.20}} |
|||
| style="white-space: nowrap;" | 2016-03-21<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-list/2016-March/msg00026.html | title = GTK+ 3.20 |date=March 21, 2016 |access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services |archive-date=March 12, 2019 | archive-url = https://web.archive.org/web/20190312022556/https://mail.gnome.org/archives/gtk-list/2016-March/msg00026.html | url-status = live}}</ref> |
|||
| Further Integration of CSS nodes<ref>{{cite web |url=https://wiki.gnome.org/Projects/GTK%2B/StyleClasses |title=GTK+ 3.20 – Style Classes and Element Names |date=2015-11-20 |access-date=December 18, 2015 |archive-date=March 5, 2016 |archive-url=https://web.archive.org/web/20160305074823/https://wiki.gnome.org/Projects/GTK+/StyleClasses |url-status=live}}</ref> |
|||
Move [[drag and drop]] down to [[GIMP Drawing Kit|GDK]] |
|||
New widget: GtkShortcutsWindow (shows keyboard shortcuts and gestures of an application) |
|||
| style="white-space: nowrap;" | 3.20.10 |
|||
|- |
|||
! {{Version|o|{{Anchor|3.22}}3.22}} |
|||
| style="white-space: nowrap;" | 2016-09-21<ref>{{cite mailing list | url = https://mail.gnome.org/archives/gtk-list/2016-September/msg00006.html | title = GTK+ 3.22 released |date=September 21, 2016 |access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services |archive-date=May 25, 2019 | archive-url = https://web.archive.org/web/20190525193423/https://mail.gnome.org/archives/gtk-list/2016-September/msg00006.html | url-status = live}}</ref> |
|||
| Last 3.x release<ref name="devblog160901" /> |
|||
Wayland tablet support is merged,<ref>{{Cite web|url=https://blogs.gnome.org/carlosg/2016/04/06/gtk-wayland-tablet-support-is-merged/|title=GTK+ Wayland tablet support is merged – Carlos Garnacho|date=April 6, 2016 |access-date=April 8, 2016|archive-date=April 16, 2016|archive-url=https://web.archive.org/web/20160416185814/https://blogs.gnome.org/carlosg/2016/04/06/gtk-wayland-tablet-support-is-merged/|url-status=live}}</ref> support for [[graphics tablet]]s is considered feature complete<ref>{{Cite web|url=https://www.x.org/wiki/Events/XDC2016/Program/hutterer_input/|title=hutterer input|website=www.x.org|access-date=September 23, 2016|archive-date=September 23, 2016|archive-url=https://web.archive.org/web/20160923183522/https://www.x.org/wiki/Events/XDC2016/Program/hutterer_input/|url-status=live}}</ref> |
|||
GTK 3.22 shall be as rock-stable (and hence "boring") as GTK 2<ref name="ottegtk4">{{cite web |url=http://videos.guadec.org/2013/GTK%20to%20infinity%20and%20beyond/ |title=GUADEC2013: Benjamin Otte talks about GTK+ |publisher=[[GNOME Users And Developers European Conference|GUADEC]] |access-date=March 5, 2014 |archive-date=March 6, 2014 |archive-url=https://web.archive.org/web/20140306004816/http://videos.guadec.org/2013/GTK%20to%20infinity%20and%20beyond/ |url-status=live}}</ref><ref name="lortie4">{{cite web |url=https://blogs.gnome.org/desrt/2016/06/13/gtk-4-0-is-not-gtk-4/ |title=Gtk 4.0 will not be stable until Gtk 4.6 |date=2016-06-13 |access-date=June 15, 2016 |archive-date=June 23, 2016 |archive-url=https://web.archive.org/web/20160623201838/https://blogs.gnome.org/desrt/2016/06/13/gtk-4-0-is-not-gtk-4/ |url-status=dead}}</ref><ref name="lortie5">{{cite web |url=https://blogs.gnome.org/desrt/2016/06/14/gtk-5-0-is-not-gtk-5/ |title=Gtk 5.0 will not be stable until Gtk 5.6 |date=2016-06-14 |access-date=June 15, 2016 |archive-date=June 23, 2016 |archive-url=https://web.archive.org/web/20160623202157/https://blogs.gnome.org/desrt/2016/06/14/gtk-5-0-is-not-gtk-5/ |url-status=live}}</ref> |
|||
| style="white-space: nowrap;" | for 3+ years<br />3.22.29 |
|||
|- |
|||
! {{Version|co|{{Anchor|3.24}} 3.24}} |
|||
| style="white-space: nowrap;" | 2018-09-03<ref>{{cite mailing list | url = https://mail.gnome.org/archives/ftp-release-list/2018-September/msg00045.html | title = gtk+ 3.24.0 |date=September 3, 2018 |access-date=May 20, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services |archive-date=May 25, 2019 | archive-url = https://web.archive.org/web/20190525194009/https://mail.gnome.org/archives/ftp-release-list/2018-September/msg00045.html | url-status = live}}</ref> |
|||
| 3.22 was supposed to be the last version of GTK 3 series |
|||
* 3.24 was mainly released to '''ease migrating from GTK+ 3.x to GTK+ 4''' |
|||
Dependency bumps – require: |
|||
* libepoxy 1.4 |
|||
* pango 1.41 |
|||
New font chooser features: |
|||
* allow setting OpenType font features |
|||
* show examples for OpenType font features |
|||
* allow selecting OpenType font variations |
|||
* support levels of details for selection |
|||
New Emoji features: |
|||
* support a completion popup for Emoji |
|||
* drop Ctrl-Shift-e shortcut |
|||
Other new APIs: gdk_window_move_to_rect |
|||
Wayland: use anonymous shared memory on FreeBSD |
|||
Backported event controllers from GTK 4: |
|||
* GtkEventControllerScroll |
|||
* GtkEventControllerMotion |
|||
* GtkEventControllerKey |
|||
* GtkGestureStylus |
|||
Deprecate a few APIs that are gone in GTK 4: |
|||
* focus chains in GtkContainer |
|||
* stepper sensitivity in GtkRange |
|||
| style="white-space: nowrap;" | 3.23.0<br />3.23.1<br />3.23.2<br />3.23.3<br />3.24.0<br />...3.24.5<br />3.24.14<br />... |
|||
3.24.29 |
|||
|- |
|||
! {{Version|o|3.90}} |
|||
| style="white-space: nowrap;" | 2017-03-31<ref>{{cite mailing list |url=https://mail.gnome.org/archives/ftp-release-list/2017-March/msg00243.html |title=gtk+ 3.90.0 |date=March 31, 2017 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=December 29, 2017 |archive-url=https://web.archive.org/web/20171229231516/https://mail.gnome.org/archives/ftp-release-list/2017-March/msg00243.html |url-status=live}}</ref> |
|||
| [[GTK Scene Graph Kit]] (GSK) merged<ref name="roadmap">{{Cite web|url=https://wiki.gnome.org/action/show/Projects/GTK/Roadmap?action=show&redirect=Projects%2FGTK%2B%2FRoadmap|title=Projects/GTK/Roadmap - GNOME Wiki!|website=wiki.gnome.org|access-date=November 22, 2019|archive-date=May 22, 2019|archive-url=https://web.archive.org/web/20190522064325/https://wiki.gnome.org/action/show/Projects/GTK/Roadmap?action=show&redirect=Projects%2FGTK%2B%2FRoadmap|url-status=live}}</ref> |
|||
Remove any API marked as deprecated |
|||
Heavy development |
|||
* break API & ABI<ref name="lortie4" /><ref name="lortie5" /> |
|||
A new [[Vulkan (API)|Vulkan]]-renderer augments the old [[Cairo (graphics)|Cairo]]-renderer<ref>{{Cite web|url=https://gitlab.gnome.org/GNOME/gtk/commits/master|title=Commits · master · GNOME / gtk|website=GitLab|access-date=November 22, 2019|archive-date=June 22, 2020|archive-url=https://web.archive.org/web/20200622233109/https://gitlab.gnome.org/GNOME/gtk/commits/master|url-status=dead}}</ref> |
|||
| style="white-space: nowrap;" | 3.89.1<br /> |
|||
3.89.2<br /> |
|||
3.89.4<br /> |
|||
3.89.5<br /> |
|||
3.90 |
|||
|- |
|||
! {{Version|o|3.92}} |
|||
| style="white-space: nowrap;" | 2017-10-18<ref>{{cite mailing list |url=https://mail.gnome.org/archives/ftp-release-list/2017-October/msg00117.html |title=gtk+ 3.92.1 |date=October 18, 2017 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=December 29, 2017 |archive-url=https://web.archive.org/web/20171229231726/https://mail.gnome.org/archives/ftp-release-list/2017-October/msg00117.html |url-status=live}}</ref><ref>{{Cite web|url=https://blog.gtk.org/2017/10/23/gtk-3-92/|title=GTK+ 3.92|last=Clasen|first=Matthias|date=October 23, 2017|website=GTK Development Blog|access-date=May 25, 2019|archive-date=May 25, 2019|archive-url=https://web.archive.org/web/20190525193411/https://blog.gtk.org/2017/10/23/gtk-3-92/|url-status=live}}</ref> |
|||
| As GNOME 3.26 was released already on September 13, 2017,<ref>{{cite web |url=https://www.gnome.org/news/2017/09/gnome-3-26-released/ |title=GNOME 3.26 Released |date=2017-09-13 |access-date=October 19, 2017 |archive-date=March 16, 2021 |archive-url=https://web.archive.org/web/20210316003713/https://www.gnome.org/news/2017/09/gnome-3-26-released/ |url-status=live}}</ref> it was not based on GTK 3.92. |
|||
[[GNU autotools]] was replaced with [[Meson (software)|Meson]]. |
|||
| style="white-space: nowrap;" | 3.91.0<br /> |
|||
3.91.1<br /> |
|||
3.91.2<br /> |
|||
3.92.1 |
|||
|- |
|||
! {{Version|o|3.94}} |
|||
| style="white-space: nowrap;" | 2018-06-26<ref>{{cite mailing list |url=https://mail.gnome.org/archives/ftp-release-list/2018-June/msg00073.html |title=gtk+ 3.94.0 |date=June 26, 2018 |access-date=May 20, 2019 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=July 5, 2018 |archive-url=https://web.archive.org/web/20180705150857/https://mail.gnome.org/archives/ftp-release-list/2018-June/msg00073.html |url-status=live}}</ref> |
|||
| 3.93 |
|||
* GdkScreen, GdkVisual removed |
|||
* GdkDeviceManager replaced by GdkSeat |
|||
* Clipboard handling is moved from GTK to GDK |
|||
* GdkEvent is converted to an opaque GObject |
|||
* the GL renderer in GSK is substantially completed, and is now on par with the Vulkan renderer |
|||
* the use of [[GdkPixbuf]] in APIs is reduced |
|||
** and the GskTexture object is moved to GDK as GdkTexture, to take its place |
|||
* the Wayland backend now implements the KDE server-side decoration protocol |
|||
* Broadway is ported to GSK. |
|||
GdkWindow renamed to GdkSurface |
|||
New abstraction for drawable content: GdkPaintable |
|||
There is support for displaying media with: |
|||
* GtkVideo |
|||
* GtkMediaFile |
|||
* GtkMediaStream |
|||
* GtkMediaControls |
|||
| style="white-space: nowrap;" | 3.93<br />3.94.0 |
|||
|- |
|||
! {{Version|o|3.96}} |
|||
| style="white-space: nowrap;" | 2019-05-07<ref name="Clasen">{{cite mailing list | url = https://mail.gnome.org/archives/ftp-release-list/2019-May/msg00032.html | title = gtk 3.96 |date=May 7, 2019 |access-date=May 28, 2019 | last = Clasen | first = Matthias | mailing-list = GNOME Mail Services |archive-date=May 28, 2019 | archive-url = https://web.archive.org/web/20190528110226/https://mail.gnome.org/archives/ftp-release-list/2019-May/msg00032.html | url-status = live}}</ref> |
|||
| The {{mono|'''gtk4-builder-tool'''}} {{kbd|simplify}} command has gained a {{kbd|--3to4}} option to convert GTK3 ui files to GTK4; though with AMTK menus, toolbars or other objects like GtkShortcutsWindow are created programmatically (not with a *.ui file), but with convenient APIs.<ref>{{Cite web|url=https://developer.gnome.org/amtk/unstable/amtk-intro.html|title=Introducing amtk|access-date=May 4, 2020|archive-date=June 22, 2020|archive-url=https://web.archive.org/web/20200622105055/https://developer.gnome.org/amtk/unstable/amtk-intro.html|url-status=dead}}</ref> |
|||
GtkWidget can now use a GtkLayoutManager for size allocation |
|||
* layout managers can optionally use layout children holding layout properties |
|||
* GtkBinLayout, GtkBoxLayout, GtkGridLayout, GtkFixedLayout and GtkCustomLayout are currently available |
|||
* more layout manager implementations will appear in the future |
|||
Focus handling has been rewritten, and focus-change event generation has been unified with crossing events |
|||
Events have been simplified and are just used for input: |
|||
* expose events have been replaced by a GdkSurface::render signal |
|||
* configure events have been replaced by a GdkSurface::size-changed signal |
|||
* map events have been replaced by a GdkSurface::mapped property |
|||
* gdk_event_handler_set has been replaced by a GdkSurface::event signal |
|||
* key events no longer contain a string |
|||
* events on unmapped widgets are ignored |
|||
| 3.96.0 |
|||
|- |
|||
! {{version|o|3.98}} |
|||
| style="white-space: nowrap;" | 2020-02-10<ref name="Clasen" /> |
|||
| |
|||
* Performance improvements |
|||
* [[Drag and drop]] refactoring |
|||
* Moving GDK towards [[Wayland (display server protocol)|Wayland]] |
|||
* Removals |
|||
** GtkMenu, GtkToolbar and similar classes have been replaced by GMenu. |
|||
* Additions |
|||
** Emoji chooser |
|||
** Text widgets now have undo stacks |
|||
** A new layout manager<ref>{{Cite web|url=https://blog.gtk.org/2020/02/13/gtk-3-98/|title=GTK 3.98|language=en-US|access-date=2020-02-18|date=2020-02-13|last=Clasen|first=Matthias|website=GTK+ Development Blog|archive-date=February 18, 2020|archive-url=https://web.archive.org/web/20200218010611/https://blog.gtk.org/2020/02/13/gtk-3-98/|url-status=live}}</ref> |
|||
|3.98.5 |
|||
|- |
|||
! {{version|o|3.99.0}} |
|||
| style="white-space: nowrap;" | 2020-07-31<ref name="latest preview">{{cite mailing list | url = https://mail.gnome.org/archives/ftp-release-list/2021-June/msg00033.html | title = gtk 4.3.1 |date=June 9, 2021 |access-date=July 10, 2021 | last = Clasen | first = Matthias | mailing-list = FTP Releases |archive-date=July 10, 2021 | archive-url = https://web.archive.org/web/20210710003750/https://mail.gnome.org/archives/ftp-release-list/2021-June/msg00033.html | url-status = live}}</ref> |
|||
| |
|||
* Introduced successor to [[Accessibility Toolkit|Accessibility Toolkit (ATK)]].<ref>{{Cite web|url=https://gitlab.gnome.org/ebassi/guadec-2020|title=Emmanuele Bassi / guadec-2020|website=GitLab|access-date=September 12, 2020|archive-date=August 15, 2020|archive-url=https://web.archive.org/web/20200815201732/https://gitlab.gnome.org/ebassi/guadec-2020|url-status=live}}</ref> The new approach will implement WAI-ARIA (World Wide Web Consortium (W3C) Accessibility Initiative – Accessible Rich Internet Applications). |
|||
* Updated headers to use standard [[C (programming language)|C]] types instead of [[GLib]] types |
|||
* New widgets |
|||
* Fixes and improvements<ref name="latest preview" /> |
|||
|3.99.4 |
|||
|- |
|||
! {{Version|o|{{Anchor|4.0}} 4.0}} |
|||
| style="white-space: nowrap;" | 2020-12-16<ref>{{cite mailing list |url=https://mail.gnome.org/archives/ftp-release-list/2020-December/msg00029.html |title=gtk 4.0.0 |date=December 16, 2020 |access-date=December 16, 2020 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=October 28, 2021 |archive-url=https://web.archive.org/web/20211028205630/https://mail.gnome.org/archives/ftp-release-list/2020-December/msg00029.html |url-status=live}}</ref> |
|||
| |
|||
| 4.0.2 |
|||
|- |
|||
! {{Version|o|{{Anchor|4.2}} 4.2}} |
|||
| style="white-space: nowrap;" | 2021-03-30<ref>{{cite mailing list |url=https://mail.gnome.org/archives/ftp-release-list/2021-March/msg00201.html |title=gtk 4.2.0 |date=2021-03-30 |access-date=2021-03-30 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=October 27, 2021 |archive-url=https://web.archive.org/web/20211027063457/https://mail.gnome.org/archives/ftp-release-list/2021-March/msg00201.html |url-status=live}}</ref> |
|||
| |
|||
| |
|||
|- |
|||
! {{Version|o|{{Anchor|4.4}} 4.4}} |
|||
| style="white-space: nowrap;" | 2021-08-23<ref>{{cite mailing list |url=https://mail.gnome.org/archives/ftp-release-list/2021-August/msg00083.html |title=gtk 4.4.0 |date=2021-08-23 |access-date=2022-01-23 |last=Clasen |first=Matthias |mailing-list=GNOME Mail Services |archive-date=August 24, 2021 |archive-url=https://web.archive.org/web/20210824073720/https://mail.gnome.org/archives/ftp-release-list/2021-August/msg00083.html |url-status=live}}</ref> |
|||
| |
|||
| |
|||
|- |
|||
! {{Version|o|{{Anchor|4.6}} 4.6}} |
|||
| style="white-space: nowrap;" | 2021-12-30<ref>{{cite mailing list | url = https://mail.gnome.org/archives/ftp-release-list/2021-December/msg00071.html | title = gtk 4.6.0 | date=December 30, 2021 | access-date=January 23, 2022 | last = Clasen | first = Matthias | mailing-list = FTP Releases | archive-date=January 23, 2022 | archive-url = https://web.archive.org/web/20220123100039/https://mail.gnome.org/archives/ftp-release-list/2021-December/msg00071.html | url-status = live}}</ref> |
|||
| |
|||
| |
|||
|- |
|||
! {{Version|o|{{Anchor|4.8}} 4.8}} |
|||
|2022-09-06<ref>{{cite web |url=https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-4-8/NEWS |title=gtk 4.8.0 |date=2022-09-06 |access-date=January 11, 2023 |last=Clasen |first=Matthias |archive-date=January 11, 2023 |archive-url=https://web.archive.org/web/20230111134008/https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-4-8/NEWS |url-status=live}}</ref> |
|||
| |
|||
| |
|||
|- |
|||
!{{Version|c|{{Anchor|4.10}} 4.10}} |
|||
|2023-03-04<ref>{{Cite web |title=NEWS · 4.10.1 · GNOME / gtk · GitLab |url=https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.1/NEWS?ref_type=tags |access-date=2023-04-19 |website=GitLab |date=March 13, 2023 |language=en |archive-date=April 19, 2023 |archive-url=https://web.archive.org/web/20230419133553/https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.1/NEWS?ref_type=tags |url-status=live}}</ref> |
|||
| GtkFileChooser deprecated (use GtkFileDialog)<ref>{{Cite web |url=https://blog.gtk.org/2022/10/30/on-deprecations/ |title=On deprecations – GTK Development Blog |date=October 30, 2022 |access-date=April 21, 2024 |archive-date=February 28, 2024 |archive-url=https://web.archive.org/web/20240228135914/https://blog.gtk.org/2022/10/30/on-deprecations/ |url-status=live}}</ref> |
|||
| |
|||
|} |
|||
==See also== |
==See also== |
||
{{ |
{{Portal|Free and open-source software}} |
||
* [[Client-Side Decoration]] |
|||
{{wikibooks|X Windows Programming|GTK+}} |
|||
* [[List of widget toolkits]] |
|||
* [[Gtk Sharp|Gtk#]], a [[.NET Framework|.NET]] API to GTK+ |
|||
* [[ |
* [[gtkmm]] – C++ bindings for GTK |
||
* [[Enlightenment Foundation Libraries]] (EFL) – widget toolkit written for the Enlightenment window manager |
|||
* [[PyGTK]], [[Python programming language|Python]] API to GTK+ |
|||
* [[FLTK]] – a light, cross-platform, non-native widget toolkit |
|||
* [[PHP-GTK]], a [[PHP]] extension |
|||
* [[Fox toolkit]] – a fast, open source, cross-platform widget toolkit |
|||
* [[Ruby-gnome2]], a [[Ruby programming language|Ruby]] API to GTK+ |
|||
* [[IUP (software)|IUP]] – a multi-platform toolkit for building native graphical user interfaces |
|||
* [[GTK2-Perl]], a [[Perl programming language|Perl]] API to GTK+ |
|||
* [[Widget toolkit]] |
|||
* [[Qt_(toolkit)|Qt]] |
|||
* [[wxWidgets]] |
|||
* [[FLTK]] |
|||
* [[FOX toolkit]] |
|||
* [[Visual Component Framework|VCF]] |
|||
* [[Ultimate++]] |
* [[Ultimate++]] |
||
* [[Visual Component Library]] (VCL) |
|||
* [[searchmonkey]], a Gtk based search engine |
|||
==References== |
|||
{{reflist|1=30em}} |
|||
==Bibliography== |
|||
{{Refbegin}} |
|||
* {{citation |
|||
|last = Krause |
|||
|first = Andrew |
|||
|title = Foundations of GTK+ Development |
|||
|date = April 23, 2007 |
|||
|url = https://archive.org/details/foundationsofgtk00krau |
|||
|edition = 1st |
|||
|publisher = [[Apress]] |
|||
|isbn = 978-1-59059-793-4 |
|||
}} |
|||
* {{citation |
|||
|last = Wright |
|||
|first = Peter |
|||
|title = Beginning GTK+ and GNOME |
|||
|date = May 15, 2000 |
|||
|edition = 1st |
|||
|publisher = [[Wrox Press|Peer Information]] |
|||
|isbn = 978-1-86100-381-2 |
|||
|url = https://archive.org/details/beginninggtkgnom00wrig |
|||
}} |
|||
* {{citation |
|||
|title = Gtk+ Programming in C |
|||
|date = September 6, 2001 |
|||
|url = http://www.informit.com/store/product.aspx?isbn=0130142646 |
|||
|last1 = Logan |
|||
|first1 = Syd |
|||
|edition = 1st |
|||
|publisher = [[Prentice Hall]] |
|||
|isbn = 978-0-13-014264-1 |
|||
|access-date = August 15, 2009 |
|||
|archive-date = September 30, 2012 |
|||
|archive-url = https://web.archive.org/web/20120930103543/http://www.informit.com/store/product.aspx?isbn=0130142646 |
|||
|url-status = live |
|||
}} |
|||
{{Refend}} |
|||
==External links== |
==External links== |
||
{{Commons category|GTK}} |
|||
*[http://www.gtk.org/ GTK+ homepage]. |
|||
{{Wikibooks|X Window Programming|GTK+}} |
|||
*[http://gladewin32.sourceforge.net GTK+ for Win32], also offers a [[Glade Interface Designer|Glade]] port. |
|||
* {{Official website}} |
|||
*[http://developer.imendio.com/projects/gtk-macosx/ Gtk+ for Mac OS X], a native port to be used without X11. |
|||
*[http://libre.adacore.com/GtkAda GtkAda], an Ada API to GTK+. |
|||
*[http://gtkmm.org/ gtkmm], a C++ API to GTK+. |
|||
*[http://gtk2-perl.sourceforge.net Gtk2-Perl], a Perl API to GTK+ 2.x. |
|||
*[http://gtk.php.net PHP-GTK], a PHP API to GTK+. |
|||
*[http://haskell.org/gtk2hs/ Gtk2Hs], a Haskell API to GTK+. |
|||
*[http://java-gnome.sourceforge.net Java-GNOME], a Java API to GTK+ 2.x. |
|||
*[http://www.nabble.com/Gtk%2B-f1329.html GTK+ Forum], an unofficial forum archiving all GTK+ mailing lists. |
|||
*[http://gtk.alkia.org/index.php Runtime for Windows and package for Dev-Cpp]. |
|||
*[http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html LablGTK] is an Objective Caml interface to gtk+. |
|||
*[http://www.scratchprojects.com/2006/05/intro_to_gtk_p01.php Intro to GTK with C#] |
|||
{{GTK}} |
|||
{{GNU}} |
{{GNU}} |
||
{{Widget toolkits}} |
|||
{{GUI builders}} |
|||
{{Authority control}} |
|||
{{DEFAULTSORT:Gtk+}} |
|||
[[Category:GTK| ]] |
[[Category:GTK| ]] |
||
[[Category:GNU project software]] |
|||
[[Category:Widget toolkits]] |
|||
[[Category:Application programming interfaces]] |
[[Category:Application programming interfaces]] |
||
[[Category: |
[[Category:Articles with example C code]] |
||
[[Category: |
[[Category:C (programming language) libraries]] |
||
[[Category:Cross-platform software]] |
|||
[[Category:Free computer libraries]] |
|||
[[ar:جي تي كي+]] |
|||
[[Category:Free software programmed in C]] |
|||
[[ca:GTK]] |
|||
[[ |
[[Category:GNOME]] |
||
[[Category:Software that uses Cairo (graphics)]] |
|||
[[da:GIMP Toolkit]] |
|||
[[Category:Software that uses Meson]] |
|||
[[de:GIMP-Toolkit]] |
|||
[[Category:Software using the LGPL license]] |
|||
[[el:GTK+]] |
|||
[[Category:Widget toolkits]] |
|||
[[es:GTK+]] |
|||
[[Category:X-based libraries]] |
|||
[[eu:GTK]] |
|||
[[fr:GTK+]] |
|||
[[ko:김프 툴킷]] |
|||
[[it:GTK+]] |
|||
[[lt:GTK]] |
|||
[[hu:GTK+]] |
|||
[[nl:GTK+]] |
|||
[[ja:GTK+]] |
|||
[[pl:GTK+]] |
|||
[[pt:GTK]] |
|||
[[ru:GTK+]] |
|||
[[fi:GTK+]] |
|||
[[sv:GTK+]] |
|||
[[th:จีทีเคพลัส]] |
|||
[[tr:GIMP Toolkit]] |
|||
[[zh:GTK+]] |
Latest revision as of 11:19, 15 December 2024
Original author(s) | Spencer Kimball, Peter Mattis |
---|---|
Developer(s) | The GNOME Project, eXperimental Computing Facility (XCF) |
Initial release | April 14, 1998 |
Stable release | 4.14.4
/ April 2, 2024 |
Preview release | 4.15.1
/ May 21, 2024 |
Repository | |
Written in | C, CSS[1] |
Operating system | Linux, Unix-like, macOS, Windows |
Type | Widget toolkit |
License | LGPLv2.1+ |
Website | gtk |
GTK (formerly GIMP ToolKit[2] and GTK+[3]) is a free software cross-platform widget toolkit for creating graphical user interfaces (GUIs).[4] It is licensed under the terms of the GNU Lesser General Public License, allowing both free and proprietary software to use it. It is one of the most popular toolkits for the Wayland and X11 windowing systems.[5]
The GTK team releases new versions on a regular basis.[6] GTK 4 and GTK 3 are maintained, while GTK 2 is end-of-life.[7] GTK1 is independently maintained by the CinePaint project.[8]
Software architecture
[edit]This section needs to be updated.(May 2024) |
The GTK library contains a set of graphical control elements (widgets); version 3.22.16 contains 186 active and 36 deprecated widgets.[9] GTK is an object-oriented widget toolkit written in the programming language C; it uses GObject, that is the GLib object system, for the object orientation. While GTK is mainly for windowing systems based on X11 and Wayland, it works on other platforms, including Microsoft Windows (interfaced with the Windows API), and macOS (interfaced with Quartz). There is also an HTML5 back-end named Broadway.[10][11]
GTK can be configured to change the look of the widgets drawn; this is done using different display engines. Several display engines exist which try to emulate the look of the native widgets on the platform in use.
Starting with version 2.8, released in 2005, GTK began the transition to using Cairo to render most of its graphical control elements widgets.[12] Since GTK version 3.0, all rendering is done using Cairo.[13]
On January 26, 2018 at DevConf.cz, Matthias Clasen gave an overview of the current state of GTK 4 development, including a high-level explanation of how rendering and input worked in GTK 3, what changes are being made in GTK 4 (>3.90), and why.[14] On February 6, 2019 it was announced that GTK 4 will drop the “+” from the project's name.[3]
GTK Drawing Kit (GDK)
[edit]GDK acts as a wrapper around the low-level functions provided by the underlying windowing and graphics systems.
GTK Scene Graph Kit (GSK)
[edit]GSK is the rendering and scene graph API for GTK. GSK lies between the graphical control elements (widgets) and the rendering. GSK was finally merged into GTK version 3.90 released March 2017.
GtkBuilder
[edit]GtkBuilder allows user interfaces to be designed without writing code. The interface is described in an Extensible Markup Language (XML) file which is written by hand or generated by a GUI designer, which is then loaded at runtime and the objects created automatically. The description of the user interface is independent from the programming language being used.
Language bindings
[edit]Language bindings are available for using GTK from languages other than C, including C++, Genie, JavaScript, Perl, Python, Vala, and others.[15]
Backends
[edit]GTK supports various backends, which provides different ways to display GTK applications depending on the system and environment. Examples of GTK backends are:
- Wayland – Used with the Wayland display server on Linux systems, it is a modern replacement for X11.
- X11 – The default on Linux systems using the X.Org display server.
- Win32 – For running GTK applications on Windows.
- Quartz – For macOS support.
- Broadway – Allows GTK applications to run in web browsers using HTML5 and WebSockets.[10][11]
Development tools
[edit]GUI designers
[edit]There are several GUI designers for GTK. Here is a selection of GTK GUI designers:
- Cambalache - a successor to Glade, supports GTK 4.[16][17]
- Glade - supports GtkBuilder, which is a GTK built-in GUI description format. (not actively maintained)
- Gazpacho - GUI builder for the GTK toolkit written in Python[18]
- Crow Designer - relies on its own GuiXml format and GuiLoader library.[19]
- Stetic - part of MonoDevelop, oriented toward Gtk#.
- Gambas (since version 2.0 atop BASIC)
- Xojo
- Lazarus (on Linux defaults to interfacing with GTK 2)
GTK Inspector
[edit]The GTK Inspector is a built-in interactive debugging tool in GTK, allowing developers to inspect and modify UI elements, test CSS changes, and analyze widget structure in real time. It can be enabled using the Control + Shift + I
or Control + Shift + D
shortcuts, or by setting the GTK_DEBUG=interactive
environment variable.[20] It was introduced with GTK version 3.14.[21][22]
Features
[edit]- Interactive debugging
- Real-time CSS testing and modifications
- Widget magnification for detailed inspection
- UI structure analysis and object property examination
- Customizable display settings via environment variables
- Detailed object inspection (type, state, properties, CSS, actions, etc.)
- Global application information display
- CSS rule debugging
- Rendering pipeline recording and inspection
Development
[edit]GTK is mainly developed by The GNOME Project, which also develops the GNOME Development Platform and the GNOME Desktop Environment.[23] GTK is mainly written in C.[24] Many language bindings are available. GTK development is loosely managed.
GNOME developers and users gather at an annual GNOME Users And Developers European Conference GUADEC meeting to discuss GNOME's current state and future direction.[25] GNOME incorporates standards and programs from freedesktop.org to better interoperate with other desktops.[citation needed]
On September 1, 2016, a post on the GTK development blog denoted, among other things, the future numbering scheme of GTK.[26] GTK version 3.22, released in Autumn 2016, was planned to be the last 3.x release, although version 3.24 followed in Fall 2018 with the delay of GTK 4.[27] The development of GTK 4 used version names 3.90, 3.92, etc. until the first GTK 4.0 stable release was launched in December 2020.[28] Despite the first stable GTK 4 release, some applications using GTK still rely on GTK 2. For example, as of January 2022, GIMP is still being ported to GTK 3.[29]
Build automation
[edit]The master branch of GTK utilizes Meson for its build automation. GTK (and GNOME, GLib, etc.) formerly utilized the GNU Build System (named Autotools) as the build automation system of choice. Since August 14, 2017, the Autotools build system files have been dropped.[30]
Criticism
[edit]The most common criticism of GTK is the lack of backward-compatibility in major updates, most notably in the application programming interface (API)[31] and theming.[32] The result is that application developers or theme developers have to rewrite parts of their code to make it work with a newer version of GTK.
The compatibility breaks between minor releases during the GTK 3.x development cycle was explained by Benjamin Otte as due to strong pressures to innovate, such as providing the features modern users expect and supporting the increasingly influential Wayland display server protocol. With the release of GTK 4, the pressure from the need to innovate will have been released and the balance between stability and innovation will tip toward stability.[33] Similarly, recent changes to theming are specifically intended to improve and stabilise that part of the API, meaning some investment now should be rewarded later.
- Aurélien Gâteau started Gwenview as GTK application but switch to qt early in development.[34]
- Dirk Hohndel, codeveloper of Subsurface and member of Intel's Open-Source Technology Center, criticized the GTK developers for being abrasive and ignoring most community requests.[35]
- Hong Jen Yee, developer of LXDE (the GTK version of which was dropped and all efforts focused on the Qt port), expressed disdain for version 3 of the GTK toolkit's radical API changes and increased memory usage, and ported PCMan File Manager (PCManFM) to Qt. PCManFM is being developed with a GTK and with a Qt backend at the same time.[36]
- The Audacious music player moved to Qt in version 3.6.[37] The reasons stated by the developers for this include a transition to client-side window decorations, which they claim cause the application to look "GNOME-y and out of place."[38]
- Wireshark has switched to Qt due to not having a good experience with GTK's cross-platform support.[39]
Use
[edit]Applications
[edit]Some notable applications that use GTK as a widget toolkit include:
- Ardour, a digital audio workstation (DAW)
- Deluge, a BitTorrent client
- Foliate, an ebook reader
- GIMP, a raster graphics editor
- GNOME Core Applications, a collection of applications as a standard bundle of the GNOME desktop environment
- GNOME Circle, a collection of applications created to work within the GNOME ecosystem
- GNOME Evolution, a personal information manager
- HandBrake, digital video transcoder
- Inkscape, a vector graphics editor
- LibreOffice, an office suite
- Lutris, a game manager
- Mozilla Firefox, a web browser
- Mozilla Thunderbird, a personal information manager
- Pitivi, a video editor
- PCSX-Reloaded, a video game console emulator
- REAPER, a digital audio workstation (DAW)
- Remmina, a remote desktop client
- Transmission, a Bit Torrent client
GTK programs can be run on desktop environments based on X11 and Wayland, or others including ones not made with GTK, provided the needed libraries are installed; this includes macOS if X11.app is installed. GTK can be also run on Microsoft Windows. It is used by some popular cross-platform applications like Pidgin and GIMP. wxWidgets, a cross-platform GUI toolkit, uses GTK on Linux by default.[40] Other ports include DirectFB (for example used by the Debian installer).
Desktop environments
[edit]Several desktop environments utilize GTK as the widget toolkit.
Current
[edit]- GNOME, based on GTK, meaning that programs native to GNOME use GTK
- Budgie, built from scratch for the SolusOS successor, Solus Operating System
- Cinnamon, a fork of GNOME 3 which uses GTK version 3
- MATE, a fork of GNOME 2 which uses GTK 3 since version 1.18
- Xfce, based on GTK 3 since version 4.14
- Pantheon uses GTK 3 exclusively, being developed by elementary OS
- Sugar, a desktop environment for youth primary education, which uses GTK, especially PyGTK
- Phosh, a mobile UI designed for PureOS
- LXDE (Lightweight X11 Desktop Environment) is based on GTK 2
- Unity, the former default desktop environment of Ubuntu
Inactive
[edit]- Access Linux Platform (successor of the Palm OS PDA platform)
- Consort, the GNOME 3.4 Fallback Mode – fork from Solus
- GPE, the GPE Palmtop Environment
- ROX Desktop, a lightweight desktop, with features from the GUI of RISC OS
Window managers
[edit]The following window managers use GTK:
GtkSourceView
[edit]For syntax highlighting there is GtkSourceView, "source code editing widget". GtkSourceView is maintained by GNOME separately from GTK as a library: gtksourceview. There are plans to rename to gsv.[citation needed]
GtkSpell
[edit]GtkSpell is a library separate from GTK. GtkSpell depends on GTK and Enchant. Enchant is a wrapper for ispell, hunspell, etc., the actual spell checker engine/software. GtkSpell uses GTK's GtkTextView widget, to highlight misspelled words and offer replacement.
History
[edit]GTK was originally designed and used in the GNU Image Manipulation Program (GIMP) as a replacement of the Motif toolkit; at some point Peter Mattis became disenchanted with Motif and began to write his own GUI toolkit named the GIMP toolkit and had successfully replaced Motif by the 0.60 release of GIMP.[41] Finally GTK was re-written to be object-oriented and was renamed GTK+.[42] This was first used in the 0.99 release of GIMP. GTK was subsequently adopted for maintenance by the GNOME Foundation, which uses it in the GNOME desktop environment.
GTK 2
[edit]The GTK 2.0.0 release series introduced new features which include improved text rendering using Pango, a new theme engine, improved accessibility using the Accessibility Toolkit, transition to Unicode using UTF-8 strings, and a more flexible API. Starting with version 2.8, GTK 2 depends on the Cairo graphics library for rendering vector graphics.
GTK 3
[edit]GTK version 3.0.0 included revised input device handling, support for themes written with CSS-like syntax, and the ability to receive information about other opened GTK applications.
The '+' was dropped returning to simply 'GTK' in February 2019 during a Hackathon.[43]
OpenVMS
[edit]HP stated that their goal was to merge the needed OpenVMS changes into the GTK Version 1.3 development stream, however this never materialised.[44] The latest version of GTK for OpenVMS is version 1.2.10.[45]
GTK 4
[edit]One of the main changes made during the GTK 4 development cycle (i.e. GTK 3.92, etc.) was the removal of user customization options (like individual keyboard shortcuts that could be set in GTK+ 2), and the delegation of functionality to ancillary objects instead of encoding it into the base classes provided by GTK. Other changes include:
- Event handling from signal handlers described by GtkWidget is delegated to event controllers.
- Rendering is delegated to GtkSnapshot objects.
- The layout mechanism is delegated from GtkWidget to GtkLayoutManager.
At the 2018 edition of DevConf.cz, Matthias Clasen gave an overview of the then-current state of GTK 4 development, including a high-level explanation of how rendering and input worked in GTK 3, what changes were being made to GTK 4, and the reasons for those changes. Examples of things that have become possible with GTK 4 were given as well.[46]
Releases
[edit]Legend: Old version, not maintained Old version, still maintained Latest version Latest preview version Future release | |||
Release series | Initial release | Major enhancements | Latest minor version |
---|---|---|---|
1.0 | 1998-04-13[47] | First stable version | 1.0. |
1.2 | 1999-02-25[48] | New widgets:
|
1.2.10 |
2.0 | 2002-03-11[49] | GObject
Overall support for UTF-8 |
2.0.9 |
2.2 | 2002-12-22[50] | Multihead support | 2.2.4 |
2.4 | 2004-03-16[51] | New widgets:
|
2.4.14 |
2.6 | 2004-12-16[52] | New widgets:
The last to support Windows 98/Me |
2.6.10 |
2.8 | 2005-08-13[53] | Most widgets are rendered by Cairo | 2.8.20 |
2.10 | 2006-07-03[54] | New widgets:
Print support: GtkPrintOperation |
2.10.14 |
2.12 | 2007-09-14[55] | GtkBuilder | 2.12.12 |
2.14 | 2008-09-04[56] | JPEG 2000 load support | 2.14.7 |
2.16 | 2009-03-13[57] | New widget: GtkOrientable
Caps Lock warning in password entry Improvements on GtkScale, GtkStatusIcon, GtkFileChooser |
2.16.6 |
2.18 | 2009-09-23[58] | New widget: GtkInfoBar
Improvement on file chooser, printing To remove much of the necessary IPC between the X11 application and the X11 server, GDK is rewritten (mainly by Alexander Larsson) to use "client-side windows", i.e., the GdkWindow, which every widget must have, belongs now to the client |
2.18.9 |
2.20 | 2010-03-23[59] | New widgets:
Improvement on file chooser, keyboard handling, GDK Introspection data is now included in GTK |
2.20.1 |
2.22 | 2010-09-23[60] | GdkPixbuf moved to separate module
Most GDK drawing are based on Cairo Many internal data are now private and can be sealed in preparation to GTK 3 |
2.22.1 |
2.24 | 2011-01-30[61] | New widget: GtkComboBoxText which had previously been a custom widget shipped with Gtkmm
The CUPS print backend can send print jobs as PDF GtkBuilder has gained support for text tags and menu toolbuttons and many introspection annotation fixes were added Migrating from GTK+ 2.x to GTK+ 3 |
2.24.33 (2020-12-21)[62] |
3.0 | 2011-02-10[63] | Development and design of the GTK 3 release of the toolkit started in February 2009 during the GTK Theming Hackfest held in Dublin[64]
Completed mostly Project Ridley
All the rendering is done using Cairo GDK became more X11 agnostic XInput2, theme API is based on Cascading Style Sheets (CSS), worsening the achievable performance for 60 Hz frame rates |
3.0.12 |
3.2 | 2011-09-25[67] | New widgets:
New Font Chooser dialog New experimental backends: |
3.2.4 |
3.4 | 2012-03-26[68] | Menu support in GtkApplication
A new color chooser Added support for touch devices Added support for smooth scrolling GtkScrolledWindow will do kinetic scrolling with touch devices macOS support is improved This is the first version of GTK 3 that works well on Windows The Wayland backend is updated to the current Wayland version Spin buttons have received a new look Accessibility: the treeview accessible support is rewritten More complete CSS theming support |
3.4.4 |
3.6 | 2012-09-24[69] | New widgets:
Vertical spin buttons CSS animations, blur shadows Support for cross-fading and transitions in themes |
3.6.5 |
3.8 | 2013-03-25[70] | Wayland 1.0 stable support
Support for the broadwayd server Improved theming Better geometry management Touch improvements Support with the window manager for the frame synchronization protocol GdkFrameClock added[71] |
3.8.9 |
3.10 | 2013-09-23[72] | New widgets:
Support for Wayland 1.2
Added:
Removed:
Tear-off menu-items, plus many GTK settings The modern GTK drawing model |
3.10.9 |
3.12 | 2014-03-25[73] | Client-side decorations[74]
Support for Wayland 1.5 New widget: GtkPopover (an alternative to menus and dialogs) |
3.12.2 |
3.14 | 2014-09-22[75] | GtkInspector (a copy of gtkparasite) introduced[76][77]
Improved support for gestures/multi-touch merged[78][79] Deprecated:[80]
Most widgets converted to use gestures internally Wayland supports GNOME Shell classic mode[81] |
3.14.15 |
3.16 | 2015-03-22[82] | GDK supports rendering windows using OpenGL for X11 and Wayland using libepoxy
New widgets:
|
3.16.7 |
3.18 | 2015-09-23[85] | Add CSS node infrastructure
More filechooser design refresh and better filechooser search Dropped Windows XP support Model support for list and flow box Kinetic touchpad scrolling Touchpad gestures (Wayland) gtk-builder-tool utility Output-only windows |
3.18.9 |
3.20 | 2016-03-21[86] | Further Integration of CSS nodes[87]
Move drag and drop down to GDK New widget: GtkShortcutsWindow (shows keyboard shortcuts and gestures of an application) |
3.20.10 |
3.22 | 2016-09-21[88] | Last 3.x release[26]
Wayland tablet support is merged,[89] support for graphics tablets is considered feature complete[90] GTK 3.22 shall be as rock-stable (and hence "boring") as GTK 2[33][91][92] |
for 3+ years 3.22.29 |
3.24 | 2018-09-03[93] | 3.22 was supposed to be the last version of GTK 3 series
Dependency bumps – require:
New font chooser features:
New Emoji features:
Other new APIs: gdk_window_move_to_rect Wayland: use anonymous shared memory on FreeBSD Backported event controllers from GTK 4:
Deprecate a few APIs that are gone in GTK 4:
|
3.23.0 3.23.1 3.23.2 3.23.3 3.24.0 ...3.24.5 3.24.14 ... 3.24.29 |
3.90 | 2017-03-31[94] | GTK Scene Graph Kit (GSK) merged[6]
Remove any API marked as deprecated Heavy development |
3.89.1 3.89.2 |
3.92 | 2017-10-18[96][97] | As GNOME 3.26 was released already on September 13, 2017,[98] it was not based on GTK 3.92.
GNU autotools was replaced with Meson. |
3.91.0 3.91.1 |
3.94 | 2018-06-26[99] | 3.93
GdkWindow renamed to GdkSurface New abstraction for drawable content: GdkPaintable There is support for displaying media with:
|
3.93 3.94.0 |
3.96 | 2019-05-07[100] | The gtk4-builder-tool simplify command has gained a --3to4 option to convert GTK3 ui files to GTK4; though with AMTK menus, toolbars or other objects like GtkShortcutsWindow are created programmatically (not with a *.ui file), but with convenient APIs.[101]
GtkWidget can now use a GtkLayoutManager for size allocation
Focus handling has been rewritten, and focus-change event generation has been unified with crossing events Events have been simplified and are just used for input:
|
3.96.0 |
3.98 | 2020-02-10[100] |
|
3.98.5 |
3.99.0 | 2020-07-31[103] |
|
3.99.4 |
4.0 | 2020-12-16[105] | 4.0.2 | |
4.2 | 2021-03-30[106] | ||
4.4 | 2021-08-23[107] | ||
4.6 | 2021-12-30[108] | ||
4.8 | 2022-09-06[109] | ||
4.10 | 2023-03-04[110] | GtkFileChooser deprecated (use GtkFileDialog)[111] |
See also
[edit]- Client-Side Decoration
- List of widget toolkits
- gtkmm – C++ bindings for GTK
- Enlightenment Foundation Libraries (EFL) – widget toolkit written for the Enlightenment window manager
- FLTK – a light, cross-platform, non-native widget toolkit
- Fox toolkit – a fast, open source, cross-platform widget toolkit
- IUP – a multi-platform toolkit for building native graphical user interfaces
- Ultimate++
- Visual Component Library (VCL)
References
[edit]- ^ "The GTK Open Source Project on Open Hub: Languages Page". www.openhub.net. Archived from the original on March 28, 2019. Retrieved March 28, 2019.
- ^ "A brief description on how GTK was born". www.gtk.org. Archived from the original on June 9, 2023. Retrieved July 5, 2023.
- ^ a b Bassi, Emmanuele (February 6, 2019). "Project rename to "GTK"". mail.gnome.org. GNOME mailinglist. Archived from the original on November 7, 2020. Retrieved February 7, 2019.
- ^ The GTK+ Team. "GTK+ Features". Archived from the original on May 25, 2019. Retrieved September 8, 2014.
- ^ "Documentation". www.x.org. Archived from the original on December 21, 2019. Retrieved November 22, 2019.
- ^ a b "Projects/GTK/Roadmap - GNOME Wiki!". wiki.gnome.org. Archived from the original on May 22, 2019. Retrieved November 22, 2019.
- ^ "GTK 4.0 – GTK Development Blog". December 16, 2020. Archived from the original on May 28, 2023. Retrieved October 18, 2021.
- ^ "Robin Rowe / GTK1 · GitLab". GitLab. Archived from the original on March 9, 2023. Retrieved February 22, 2023.
- ^ "GTK+ 3 Reference Manual". Archived from the original on June 23, 2021. Retrieved July 15, 2017.
- ^ a b "Using GTK+ with Broadway". GNOME Developer. GNOME. Archived from the original on June 14, 2021. Retrieved March 6, 2018.
- ^ a b "Broadway - GitHub symbiose/symbiose Wiki". GitHub. Archived from the original on June 28, 2023. Retrieved March 6, 2018.
- ^ "GTK+ to Use Cairo Vector Engine". February 5, 2005. Retrieved December 27, 2009.
- ^ "Gtk: Migrating from GTK 2.x to GTK 3". docs.gtk.org. Archived from the original on May 26, 2023. Retrieved June 16, 2022.
All drawing in GTK 3 is done via Cairo.
- ^ "Matthias Clasen DevConf.cz 2018 talk about GTK+ 4" (PDF). January 26, 2018. Archived (PDF) from the original on April 22, 2024. Retrieved March 9, 2018.
- ^ The GTK+ Team. "GTK+ Language Bindings". www.gtk.org. Archived from the original on May 25, 2019. Retrieved June 3, 2017.
- ^ GUADEC. "Cambalache: road to version 1.0".
- ^ "glade - man pages section 1: User Commands". docs.oracle.com. Retrieved September 11, 2024.
- ^ "Debian -- Package Search Results -- gazpacho". packages.debian.org. Archived from the original on June 28, 2023. Retrieved November 22, 2019.
- ^ "Nothing-personal - A development site for Crow Designer, GuiLoader and Rally - Google Project Hosting". Archived from the original on January 24, 2013. Retrieved February 17, 2014.
- ^ "GTK Inspector". GNOME Developer Documentation. Retrieved September 14, 2024.
- ^ "Introducing GtkInspector". May 15, 2014. Archived from the original on May 17, 2014. Retrieved May 17, 2014.
- ^ "Another GtkInspector update". July 11, 2014. Archived from the original on July 14, 2014. Retrieved July 13, 2014.
- ^ "GNOME Quick SWOT Analysis". The GNOME Project. Archived from the original on March 18, 2014. Retrieved March 18, 2014.
- ^ "GNOME Languages". Ohloh. Black Duck Software. Archived from the original on May 22, 2014. Retrieved May 22, 2014.
- ^ "About". GNOME Users And Developers European Conference (GUADEC). Archived from the original on October 4, 2011. Retrieved December 3, 2011.
- ^ a b "Versioning and long term stability promise in GTK". GTK development blog. September 1, 2016. Archived from the original on September 21, 2016. Retrieved September 2, 2016.
- ^ "GTK+ 3.24 To Deliver Some New Features While Waiting For GTK4". www.phoronix.com. Archived from the original on April 22, 2024. Retrieved April 2, 2021.
- ^ "GTK 4.0". GTK development blog. December 16, 2020. Archived from the original on May 28, 2023. Retrieved October 18, 2021.
- ^ "Development release GIMP 2.99.2 is out". Gimp news. November 6, 2020. Archived from the original on April 10, 2021. Retrieved January 6, 2022.
- ^ "Build system change GTK's master branch". mail.gnome.org. Archived from the original on August 15, 2017. Retrieved October 29, 2018.
- ^ "How Does One Create A Gtk+ Application? – Morten Welinder". blogs.gnome.org. June 23, 2014. Archived from the original on July 1, 2014. Retrieved June 3, 2017.
- ^ mclasen (November 20, 2015). "A GTK+ update". Goings on. Archived from the original on May 2, 2016. Retrieved June 3, 2016.
- ^ a b "GUADEC2013: Benjamin Otte talks about GTK+". GUADEC. Archived from the original on March 6, 2014. Retrieved March 5, 2014.
- ^ Aurélien Gâteau (October 3, 2021). "The story behind Gwenview name". agateau.com. Archived from the original on April 22, 2024. Retrieved December 15, 2024.
Yes, you read this right! Gwenview started its life as a GTK+ application!
- ^ Larabel, Michael (January 12, 2014). "The Biggest Problem With GTK & What Qt Does Good". Phoronix. Archived from the original on July 1, 2016. Retrieved September 10, 2014.
- ^ Hong Jen Yee (March 26, 2013). "PCManFM Qt 0.1.0 released". Archived from the original on June 7, 2013. Retrieved September 10, 2014.
- ^ "Audacious - An Advanced Audio Player". audacious-media-player.org. Archived from the original on July 28, 2019. Retrieved November 22, 2019.
- ^ Lindgren, John (May 6, 2014). "Ugly window decorations and how to fix them (GTK 3.12)". Archived from the original on October 13, 2014. Retrieved October 21, 2014.
- ^ Gerald Combs (October 15, 2013). "We're switching to Qt". Archived from the original on October 19, 2013. Retrieved August 19, 2015.
- ^ "GTK+". WxWidgets Compared To Other Toolkits. Archived from the original on October 5, 2007. Retrieved August 28, 2007.
- ^ "LinuxWorld - Where did Spencer Kimball and Peter Mattis go?". Archived from the original on April 17, 1999. Retrieved August 19, 2013.
- ^ "What is the + in GTK+?". 2011. Archived from the original on March 26, 2012. Retrieved March 18, 2014.
- ^ "Rename some references to GTK+ (d080be3e) · Commits · GNOME / gtk". gitlab.gnome.org. February 4, 2019. Archived from the original on February 25, 2021. Retrieved February 5, 2019.
- ^ "HP OpenVMS systems - GTK+". Archived from the original on July 13, 2018. Retrieved July 12, 2018.
- ^ "HP OpenVMS systems - GTK+". Archived from the original on July 13, 2018. Retrieved July 12, 2018.
- ^ Clasen, Matthias. "GTK+ 4 Status Update" (PDF). Fedora People. Archived (PDF) from the original on April 22, 2024. Retrieved April 22, 2024.
- ^ Amundson, Shawn T. (April 13, 1998). "ANNOUNCE: GTK+ 1.0.0 Released!". GNOME Mail Services (Mailing list). Archived from the original on March 12, 2019. Retrieved May 20, 2019.
- ^ Amundson, Shawn T. (February 25, 1999). "ANNOUNCE: GTK+ and GLib 1.2.0 Released". GNOME Mail Services (Mailing list). Archived from the original on August 10, 2020. Retrieved May 20, 2019.
- ^ Taylor, Owen (March 11, 2002). "GTK+-2.0.0 released". GNOME Mail Services (Mailing list). Archived from the original on August 10, 2020. Retrieved May 20, 2019.
- ^ Taylor, Owen (December 22, 2002). "GTK+-2.2.0 released". GNOME Mail Services (Mailing list). Archived from the original on August 10, 2020. Retrieved May 20, 2019.
- ^ Taylor, Owen (March 16, 2004). "GTK+-2.4.0 released". GNOME Mail Services (Mailing list). Archived from the original on August 10, 2020. Retrieved May 20, 2019.
- ^ Clasen, Matthias (December 16, 2004). "GTK+-2.6.0 released". GNOME Mail Services (Mailing list). Archived from the original on August 10, 2020. Retrieved May 20, 2019.
- ^ Clasen, Matthias (August 13, 2005). "GTK+ 2.8.0 released". GNOME Mail Services (Mailing list). Archived from the original on August 10, 2020. Retrieved May 20, 2019.
- ^ Clasen, Matthias (July 3, 2006). "GTK+ 2.10 released". GNOME Mail Services (Mailing list). Archived from the original on January 22, 2021. Retrieved May 20, 2019.
- ^ Clasen, Matthias (September 14, 2007). "GTK+ 2.12 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (September 4, 2008). "GTK+ 2.14.0 released". GNOME Mail Services (Mailing list). Archived from the original on August 10, 2020. Retrieved May 20, 2019.
- ^ Clasen, Matthias (March 13, 2009). "GTK+ 2.16.0 released". GNOME Mail Services (Mailing list). Archived from the original on June 3, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (September 23, 2009). "GTK+ 2.18.0 released". GNOME Mail Services (Mailing list). Archived from the original on June 3, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (March 23, 2010). "GTK+ 2.20.0 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (September 23, 2010). "GTK+ 2.22.0 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (January 20, 2011). "GTK+ 2.24.0". GNOME Mail Services (Mailing list). Archived from the original on May 8, 2019. Retrieved May 20, 2019.
- ^ "Tags · GNOME / gtk · GitLab". GitLab. December 21, 2020. Archived from the original on December 4, 2023. Retrieved October 18, 2023.
- ^ Clasen, Matthias (February 10, 2011). "GTK+ 3.0.0 released". GNOME Mail Services (Mailing list). Archived from the original on March 12, 2019. Retrieved May 20, 2019.
- ^ "Gtk+ 3.0 Theming API Hackfest". Silicon Island. Archived from the original on July 17, 2011. Retrieved June 3, 2017.
- ^ "Gtk+ 3 roadmap draft". Archived from the original on April 12, 2009. Retrieved June 3, 2017.
- ^ "Attic/ProjectRidley - GNOME Wiki!". wiki.gnome.org. Archived from the original on March 4, 2016. Retrieved March 29, 2014.
- ^ Clasen, Matthias (September 25, 2011). "GTK+ 3.2.0". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (March 26, 2012). "GTK+ 3.4.0 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (September 24, 2012). "GTK+ 3.6.0 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (March 25, 2013). "GTK+ 3.8.0 released". GNOME Mail Services (Mailing list). Archived from the original on March 3, 2016. Retrieved May 20, 2019.
- ^ "Frame clock: GDK 3 Reference Manual". developer.gnome.org. Archived from the original on April 14, 2017. Retrieved April 13, 2017.
- ^ Clasen, Matthias (September 23, 2013). "GTK+ 3.10.0 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (March 25, 2014). "GTK+ 3.12 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ "Client-side decorations in themes | Goings on". December 5, 2013. Archived from the original on September 19, 2015. Retrieved December 31, 2015.
- ^ Clasen, Matthias (September 22, 2014). "GTK+ 3.14.0 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Matthias Clasen (May 15, 2014). "GtkInspector Author's blog entry". Archived from the original on May 17, 2014. Retrieved May 17, 2014.
- ^ "GtkInspector in GNOME wiki". May 15, 2014. Archived from the original on May 24, 2014. Retrieved May 17, 2014.
- ^ "Merging gestures into 3.14". May 23, 2014. Archived from the original on September 14, 2016. Retrieved May 23, 2014.
- ^ "RFC: gestures". March 4, 2014. Archived from the original on May 24, 2014. Retrieved May 23, 2014.
- ^ "gtk+ 3.13.2". May 27, 2014. Archived from the original on May 29, 2014. Retrieved May 28, 2014.
- ^ "gtk+ 3.13.3". June 24, 2014. Archived from the original on December 15, 2014. Retrieved June 25, 2014.
- ^ Clasen, Matthias (March 22, 2015). "GTK+ 3.16.0 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ online, heise (March 25, 2015). "Linux-Desktop: Neues Gnome zeigt Nachrichten oben". heise online. Archived from the original on June 25, 2016. Retrieved June 3, 2017.
- ^ "GTK+ 3.16.0 released". mail.gnome.org. Archived from the original on April 7, 2016. Retrieved June 3, 2017.
- ^ Nestor, Marius (September 24, 2015). "GTK+ 3.18.0 Officially Released as Part of the GNOME 3.18 Desktop Environment". Softpedia. Archived from the original on May 25, 2019. Retrieved May 25, 2019.
- ^ Clasen, Matthias (March 21, 2016). "GTK+ 3.20". GNOME Mail Services (Mailing list). Archived from the original on March 12, 2019. Retrieved May 20, 2019.
- ^ "GTK+ 3.20 – Style Classes and Element Names". November 20, 2015. Archived from the original on March 5, 2016. Retrieved December 18, 2015.
- ^ Clasen, Matthias (September 21, 2016). "GTK+ 3.22 released". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ "GTK+ Wayland tablet support is merged – Carlos Garnacho". April 6, 2016. Archived from the original on April 16, 2016. Retrieved April 8, 2016.
- ^ "hutterer input". www.x.org. Archived from the original on September 23, 2016. Retrieved September 23, 2016.
- ^ a b "Gtk 4.0 will not be stable until Gtk 4.6". June 13, 2016. Archived from the original on June 23, 2016. Retrieved June 15, 2016.
- ^ a b "Gtk 5.0 will not be stable until Gtk 5.6". June 14, 2016. Archived from the original on June 23, 2016. Retrieved June 15, 2016.
- ^ Clasen, Matthias (September 3, 2018). "gtk+ 3.24.0". GNOME Mail Services (Mailing list). Archived from the original on May 25, 2019. Retrieved May 20, 2019.
- ^ Clasen, Matthias (March 31, 2017). "gtk+ 3.90.0". GNOME Mail Services (Mailing list). Archived from the original on December 29, 2017. Retrieved May 20, 2019.
- ^ "Commits · master · GNOME / gtk". GitLab. Archived from the original on June 22, 2020. Retrieved November 22, 2019.
- ^ Clasen, Matthias (October 18, 2017). "gtk+ 3.92.1". GNOME Mail Services (Mailing list). Archived from the original on December 29, 2017. Retrieved May 20, 2019.
- ^ Clasen, Matthias (October 23, 2017). "GTK+ 3.92". GTK Development Blog. Archived from the original on May 25, 2019. Retrieved May 25, 2019.
- ^ "GNOME 3.26 Released". September 13, 2017. Archived from the original on March 16, 2021. Retrieved October 19, 2017.
- ^ Clasen, Matthias (June 26, 2018). "gtk+ 3.94.0". GNOME Mail Services (Mailing list). Archived from the original on July 5, 2018. Retrieved May 20, 2019.
- ^ a b Clasen, Matthias (May 7, 2019). "gtk 3.96". GNOME Mail Services (Mailing list). Archived from the original on May 28, 2019. Retrieved May 28, 2019.
- ^ "Introducing amtk". Archived from the original on June 22, 2020. Retrieved May 4, 2020.
- ^ Clasen, Matthias (February 13, 2020). "GTK 3.98". GTK+ Development Blog. Archived from the original on February 18, 2020. Retrieved February 18, 2020.
- ^ a b Clasen, Matthias (June 9, 2021). "gtk 4.3.1". FTP Releases (Mailing list). Archived from the original on July 10, 2021. Retrieved July 10, 2021.
- ^ "Emmanuele Bassi / guadec-2020". GitLab. Archived from the original on August 15, 2020. Retrieved September 12, 2020.
- ^ Clasen, Matthias (December 16, 2020). "gtk 4.0.0". GNOME Mail Services (Mailing list). Archived from the original on October 28, 2021. Retrieved December 16, 2020.
- ^ Clasen, Matthias (March 30, 2021). "gtk 4.2.0". GNOME Mail Services (Mailing list). Archived from the original on October 27, 2021. Retrieved March 30, 2021.
- ^ Clasen, Matthias (August 23, 2021). "gtk 4.4.0". GNOME Mail Services (Mailing list). Archived from the original on August 24, 2021. Retrieved January 23, 2022.
- ^ Clasen, Matthias (December 30, 2021). "gtk 4.6.0". FTP Releases (Mailing list). Archived from the original on January 23, 2022. Retrieved January 23, 2022.
- ^ Clasen, Matthias (September 6, 2022). "gtk 4.8.0". Archived from the original on January 11, 2023. Retrieved January 11, 2023.
- ^ "NEWS · 4.10.1 · GNOME / gtk · GitLab". GitLab. March 13, 2023. Archived from the original on April 19, 2023. Retrieved April 19, 2023.
- ^ "On deprecations – GTK Development Blog". October 30, 2022. Archived from the original on February 28, 2024. Retrieved April 21, 2024.
Bibliography
[edit]- Krause, Andrew (April 23, 2007), Foundations of GTK+ Development (1st ed.), Apress, ISBN 978-1-59059-793-4
- Wright, Peter (May 15, 2000), Beginning GTK+ and GNOME (1st ed.), Peer Information, ISBN 978-1-86100-381-2
- Logan, Syd (September 6, 2001), Gtk+ Programming in C (1st ed.), Prentice Hall, ISBN 978-0-13-014264-1, archived from the original on September 30, 2012, retrieved August 15, 2009