GTK: Difference between revisions
→{{Anchor|GSK}} GTK+ Scene Graph Kit (GSK): + {{Main|GTK+ Scene Graph Kit}} |
m →Gnu/linux: capitalisation |
||
(473 intermediate revisions by more than 100 users not shown) | |||
Line 1: | Line 1: | ||
{{Short description|Free and open-source cross-platform widget toolkit for creating graphical user interfaces}} |
|||
{{Redirect|GTK}} |
|||
{{Use mdy dates|date=March 2023}} |
|||
{{Use American English|date=March 2023}} |
|||
{{Other uses}} |
|||
{{Infobox software |
{{Infobox software |
||
| name |
| name = GTK |
||
| title |
| title = |
||
| logo |
| logo = GTK logo.svg |
||
| screenshot |
| screenshot = Gtk4-widget-factory demos.png |
||
| caption |
| 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) |
||
| author = [[Spencer Kimball (computer programmer)|Spencer Kimball]], [[Peter Mattis]] |
|||
| collapsible = |
|||
| |
| developer = [[The GNOME Project]], [[eXperimental Computing Facility]] (XCF) |
||
| released = {{Start date and age|1998|04|14}} |
|||
| developer = [[The GNOME Project]] |
|||
| ver layout = simple |
|||
| released = {{Start date and age|1998|04|14}} |
|||
| latest release version = 4.14.4 |
|||
| discontinued = |
|||
| latest release |
| latest release date = {{Start date and age|2024|04|02}} |
||
| latest preview version = 4.15.1 |
|||
| latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> |
|||
| latest preview |
| 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> |
|||
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> |
|||
| operating system = [[Linux]], [[Unix-like]], [[macOS]], [[Windows]] |
|||
| status = Active |
|||
| platform = |
|||
| programming language = [[C (programming language)|C]]<ref>{{cite web |url=http://www.ohloh.net/p/gtk |title=The GTK+ Open Source Project on Ohloh |publisher=Ohloh.net |date= |accessdate=2014-02-17}}</ref> |
|||
| genre = [[Widget toolkit]] |
|||
| operating system = [[Linux]], [[Unix-like]], [[OS X]], [[Microsoft Windows|Windows]] |
|||
| license = [[GNU Lesser General Public License|LGPLv2.1+]] |
|||
| platform = |
|||
| website = {{URL|https://gtk.org}} |
|||
| size = |
|||
| language = [[Multilingual]] |
|||
| language count = <!-- DO NOT include this parameter unless you know what it does --> |
|||
| language footnote = |
|||
| genre = [[Widget toolkit]] |
|||
| license = [[GNU Lesser General Public License|LGPL]] version 2.1 |
|||
| website = {{URL|www.gtk.org}} |
|||
}} |
}} |
||
'''GTK+''' (formerly '''GIMP Toolkit''') is a [[cross-platform]] [[widget toolkit]] for creating [[graphical user interface]]s.<ref>{{cite web|author1=The GTK+ Team|title=GTK+ Features|url=http://www.gtk.org/features.php|accessdate=8 September 2014}}</ref> It is licensed under the terms of the [[GNU Lesser General Public License]], allowing both [[Free software|free]] and [[Proprietary software|proprietary]] software to use it. It is one of the most popular toolkits for the [[Wayland (display server protocol)|Wayland]] and [[X Window System core protocol|X11]] [[windowing system]]s, along with [[Qt (software)|Qt]].<ref>{{cite web | url = http://www.x.org/wiki/Documentation | title = Developing X applications}}</ref> |
|||
'''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> |
|||
==Software architecture== |
|||
[[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.]] |
|||
The GTK+ [[library (computing)|library]] contains a set of [[graphical control element]]s (widgets), version 3.13.3 contains 203 active and 37 deprecated widgets.{{citation needed|date=March 2015}} GTK+ is an [[Object-oriented programming|object-oriented]] [[widget toolkit]] written in the [[C (programming language)|C programming language]]; it uses [[GObject]], that is the GLib object system, for the object orientation. While GTK+ is primarily targeted at windowing systems based upon [[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 called ''Broadway''{{Disambiguation needed|date=June 2016}}. |
|||
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> |
|||
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. |
|||
==Software architecture== |
|||
Starting with version 2.8, released in 2005, GTK+ began the transition to using [[Cairo (graphics)|Cairo]] to [[Rendering (computer graphics)|render]] the majority of its [[Graphical control element (software)|graphical control elements]].<ref>{{cite web |url=http://developers.slashdot.org/article.pl?sid=05/02/04/2021236 |title=GTK+ to Use Cairo Vector Engine |accessdate=2009-12-27}}</ref> Since GTK+ version 3.0, all the rendering is done using Cairo.{{citation needed|date=March 2015}} |
|||
[[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}} |
|||
=== {{Anchor|GDK}} GIMP Drawing Kit (GDK) === |
|||
{{Main|GDK}} |
|||
GDK acts as a wrapper around the low-level functions provided by the underlying windowing and graphics systems. |
|||
GDK is found in the GDK-directory: https://git.gnome.org/browse/gtk+/tree/gdk |
|||
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>{{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>{{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> |
|||
=== {{Anchor|GSK}} GTK+ Scene Graph Kit (GSK) === |
|||
{{Main|GTK+ Scene Graph Kit}} |
|||
In June 2006 [[Clutter (software)|Clutter]], an OpenGL-based 'interactive canvas' library, was released. Clutter has its own scene graph, and GNOME developers preferred to use Clutter's scene graph with GTK+, facilitated by a library called clutter-gtk.<ref>{{cite web |url=https://git.gnome.org/browse/clutter-gtk/tree/ |title=clutter-gtk on git.gnome}}</ref> Clutter can be embedded into every GNOME application by using the clutter-gtk library. The clutter-gtk library provides a GtkClutterEmbed GTK+ widget which can be used to display a ClutterStage. |
|||
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. |
|||
Some thought went into how to merge Clutter and GTK+ in a better way than the clutter-gtk library. |
|||
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> |
|||
In 2011 [[Firefox]] introduced "Azure" and Joe Drew and Bas Schouten bothered with some explanations.<ref>{{cite web |url=https://blog.mozilla.org/joe/2011/04/26/introducing-the-azure-project/ |title=Introducing the Azure project |date=2011-04-26}}</ref><ref>{{cite web |url=http://www.basschouten.com/blog1.php/comparing-performance-azure-vs-cairo |title=Comparing Performance: Azure vs Cairo |date=2011-06-06}}</ref><ref>{{cite web |url=http://www.basschouten.com/blog1.php/releasing-azure |title=Releasing Azure |date=2011-08-16}}</ref> |
|||
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" /> |
|||
* GTK+ Scene Graph Kit (GSK) is the forthcoming [[Canvas (GUI)|scene graph (canvas)]] for GTK+ in the process of being written by Emanuele Bassi.<ref>{{cite web |url=http://www.bassi.io/articles/2014/07/29/guadec-2014-gsk/ |title=The GTK+ Scene Graph Kit |date=2014-07-29}}</ref> |
|||
===GTK Drawing Kit (GDK)=== |
|||
There was a presentation at the 2014 Developer Experience Hackfest regarding a new scene graph for GTK+ aimed at being merged into GTK+ 3.16.<ref>{{cite web |url=https://wiki.gnome.org/Hackfests/DeveloperExperience2014/GtkRoadmap#A4._A_scene_graph |title=2014 Developer Experience Hackfest: A scene graph for GTK+ 3.16}}</ref> Then GSK was planned to be ready and fully integrated into GTK+ version 3.20, to be released in March 2016. This was postponed to 3.22.,<ref name="roadmap">{{cite web |url=https://wiki.gnome.org/Projects/GTK+/Roadmap |title=GNOME Wiki: roadmap for GTK+}}</ref> then postponed to 3.90, and finally merged in GTK4.00 <ref>{{cite web |url=https://www.phoronix.com/scan.php?page=news_item&px=GTK-Scene-Kit-Lands |title=GTK Scene Kit Merged For GTK4 (Phoronix) |date=2016-10-18}}</ref> |
|||
{{Main|GDK}} |
|||
* [[Graphene (software)|Graphene]] is a collection of geometry types — points, sizes, rectangles, vectors, quads, quaternions, matrices. It tries to optimize them so that the naive, four floats for vertex/four vertices for matrix implementation is not the only one available. Graphene's API makes it possible to avoid exposing C arrays of floating point values, or opaque memory regions, enabling the manipulation of vectors and matrices in other languages as well. <ref>{{cite web |url=https://blogs.gnome.org/ebassi/2014/05/02/graphene/ |title=Graphene |date=2014-05-02}}</ref> |
|||
Having [[OpenGL]] (or [[OpenGL ES]]) support in [[GDK]] facilitates a slightly better control of the [[graphics pipeline]]; OpenGL is well suited for compositing textured data but totally unsuited for drawing.{{citation needed|date=February 2017}} |
|||
GDK acts as a wrapper around the [[Low-level programming language|low-level functions]] provided by the underlying windowing and graphics systems. |
|||
Before the adoption of GSK, application developers could optionally use Clutter. The way widgets were drawn in GTK+, was, that a draw function drew everything. There was no way to know, what has just been drawn. To know where the mouse pointer was currently hovering over, the current position had to be computed. |
|||
===GTK Scene Graph Kit (GSK)=== |
|||
With GSK, it should be fairly easy to write complex graphical control elements (widgets) and still track easily the whereabout of the mouse pointer. Getting more conformation with [[Cascading Style Sheets|CSS]] should also arrive. |
|||
{{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. |
|||
The latest information about the status of GSK is from GUADEC 2016.<ref>{{url=https://www.youtube.com/watch?v=QzJHEpKdefA |title=GTK: are we in the future, yet? |last=Bassi |First=Emmanuele |date=2016-08-16}}</ref> |
|||
===GtkInspector=== |
===GtkInspector=== |
||
GtkInspector |
GtkInspector was introduced with version 3.14.<ref>{{cite web |url=http://blogs.gnome.org/mclasen/2014/05/15/introducing-gtkinspector/ |title=Introducing GtkInspector |date=2014-05-15 |access-date=May 17, 2014 |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=http://blogs.gnome.org/mclasen/2014/07/11/another-gtkinspector-update/ |title=Another GtkInspector update |date=2014-07-11 |access-date=July 13, 2014 |archive-date=July 14, 2014 |archive-url=https://web.archive.org/web/20140714164943/http://blogs.gnome.org/mclasen/2014/07/11/another-gtkinspector-update/ |url-status=live}}</ref> |
||
GtkInspector can only be invoked after installing the development package |
GtkInspector can only be invoked after installing the development package libgtk-3-dev/gtk+-devel. |
||
===GUI designers=== |
===GUI designers=== |
||
There are several [[Graphical user interface builder|GUI designers]] for GTK |
There are several [[Graphical user interface builder|GUI designers]] for GTK. The following projects were active as of July 2011: |
||
* [[Glade Interface Designer|Glade]], supports [[#GtkBuilder|GtkBuilder]], which is a GTK built-in GUI description format. |
|||
* [[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> |
|||
* [[Glade Interface Designer|Glade]], supports [[#GtkBuilder|GtkBuilder]], which is a GTK+ built-in GUI description format. |
|||
* 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> |
|||
* [[Gazpacho (software)|Gazpacho]], GUI builder for the GTK+ toolkit written in Python<ref>{{cite web |url=https://packages.debian.org/gazpacho |title=Gazpacho in Debian}}</ref> |
|||
* [[Stetic]], part of [[MonoDevelop]], oriented toward [[Gtk Sharp|Gtk#]]. |
|||
* Crow Designer, relies on its own GuiXml format and GuiLoader library.<ref>{{cite web|url=http://nothing-personal.googlecode.com/ |title=nothing-personal - A development site for Crow Designer, GuiLoader and Rally - Google Project Hosting |accessdate=2014-02-17}}</ref> |
|||
* [[Gambas]] since version 2.0 atop [[BASIC]] |
|||
* [[Stetic]], part of [[MonoDevelop]], oriented towards [[Gtk Sharp|Gtk#]]. |
|||
* [[Xojo]] on [[Linux]] |
|||
* [[Lazarus (IDE)|Lazarus]] on Linux defaults to interfacing with GTK 2 |
|||
====GtkBuilder==== |
====GtkBuilder==== |
||
GtkBuilder allows user interfaces to be designed without writing code. |
GtkBuilder allows user interfaces to be designed without writing code. The interface is described in an [[XML|Extensible Markup Language]] (XML) file, which is then loaded at runtime and the objects created automatically. The Glade Interface Designer allows creation of the user interface in a ''what you see is what you get'' ([[WYSIWYG]]) manner. The description of the user interface is independent from the programming language being used. |
||
===Language bindings=== |
===Language bindings=== |
||
{{Main article|List of language bindings for GTK |
{{Main article|List of language bindings for GTK}} |
||
<!-- {{Main|List of language bindings for GTK+ 2}} --> |
|||
[[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|url=https://www.gtk.org/language-bindings.php|title=GTK+ Language Bindings|author=The GTK+ Team|website=www.gtk.org|access-date=June 3, 2017|archive-date=May 25, 2019|archive-url=https://web.archive.org/web/20190525124310/https://www.gtk.org/language-bindings.php|url-status=dead}}</ref> |
|||
<!-- {{Main|List of language bindings for GTK+ 3}} --> |
|||
GtkSharp, not to be confused with Gtk#, supports GTK 3. |
|||
A library written in one programming language may be used in another language if [[language binding|bindings]] are written; GTK+ has a range of bindings for various languages.<ref>[http://www.gtk.org/language-bindings.php GTK+ Language Bindings]</ref> |
|||
====Gtk#==== |
====Gtk#==== |
||
{{Infobox software |
{{Infobox software |
||
| name |
| name = Gtk# |
||
| logo |
| logo = Gtk Sharp Logo.png |
||
| developer |
| developer = [[Xamarin]] |
||
| released = {{Start date and age|2004|03|12}} |
|||
| latest release version = 2.12.41 <ref>{{cite web |url=https://github.com/mono/gtk-sharp/releases/tag/2.12.41 |title=Release 2.12.41}}</ref> |
|||
| latest release version = 2.12.41<ref name="auto">{{cite web |url=https://github.com/mono/gtk-sharp |title=Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono: mono/gtk-sharp |date=November 16, 2019 |via=GitHub |access-date=September 1, 2016 |archive-date=March 11, 2016 |archive-url=https://web.archive.org/web/20160311182849/https://github.com/mono/gtk-sharp |url-status=live}}</ref> |
|||
| latest release date = {{Start date and age|2016|09|22}} |
|||
| latest release date = {{Start date and age|2016|09|22}} |
|||
| latest preview version = 2.99.3 <ref>{{cite web |url=https://github.com/mono/gtk-sharp/releases/tag/2.99.3 |title=Release 2.99.3}}</ref> |
|||
| latest preview |
| latest preview version = 2.99.3 (for GTK3)<ref name="auto" /> |
||
| latest preview date = {{Start date and age|2014|06|06}} |
|||
| programming language = [[C Sharp (programming language)|C#]], [[XML]], [[Perl]], [[C (programming language)|C]] |
|||
| |
| programming language = [[C Sharp (programming language)|C#]], [[XML]], [[Perl]], [[C (programming language)|C]] |
||
| operating system = [[Windows]], [[macOS]], [[Linux]] |
|||
| genre = [[Widget toolkit]] |
|||
| genre = [[Widget toolkit]] |
|||
| license = [[GNU Lesser General Public License]] |
|||
| license = [[GNU Lesser General Public License]] |
|||
| website = {{URL|mono-project.com/GtkSharp}} |
|||
| website = {{URL|mono-project.com/GtkSharp}} |
|||
}} |
}} |
||
'''Gtk#''' is a set of [[.NET Framework|.NET]] [[language binding|bindings]] for the GTK+ [[Graphical user interface|GUI]] [[Widget toolkit|toolkit]] and assorted [[GNOME]] [[Library (computer science)|libraries]]. The library facilitates building graphical GNOME applications using [[Mono (software)|Mono]] or any other compliant [[Common Language Runtime|CLR]]. Gtk# is an event-driven system like any other modern windowing library where every [[Widget (computing)|widget]] allows you to associate handler methods, which get called when particular events happen. |
|||
'''Gtk#''' is a set of [[.NET Framework]] bindings for the GTK [[graphical user interface]] (GUI) [[Widget toolkit|toolkit]] and assorted [[GNOME]] [[Library (computer science)|libraries]]. The library facilitates building graphical GNOME applications using [[Mono (software)|Mono]] or any other compliant [[Common Language Runtime]] (CLR). Gtk# is an event-driven system like any other modern windowing library where every [[Widget (computing)|widget]] allows associating handler methods, which get called when certain events occur.{{Citation needed|date=February 2023}} |
|||
Applications built using Gtk# will run on many platforms including [[Linux]], [[Windows]] and [[macOS]]. The Mono packages for Windows include GTK+, Gtk# and a native theme to make applications look like native Windows applications. Starting with Mono 1.9, running Gtk# applications on macOS no longer requires the user to run the [[X Window System|X11]] server.<ref name="GtkMac">{{cite web |url=http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.22.msi |title=Download [Gtk#] |publisher=The GTK+ Project}}</ref> |
|||
Applications built using Gtk# will run on many platforms including [[Linux]], [[Windows]] and [[macOS]]. The Mono packages for Windows include GTK, Gtk# and a native theme to make applications look like native Windows applications. Starting with Mono 1.9, running Gtk# applications on macOS no longer requires running an [[X Window System|X11]] server.<ref>{{cite web |url=http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.22.msi |title=Download Gtk# |publisher=The GTK+ Project |access-date=December 23, 2014 |archive-date=December 14, 2013 |archive-url=https://web.archive.org/web/20131214121832/http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.22.msi |url-status=dead}}</ref> |
|||
[[Glade Interface Designer|Glade]] can be used with the Glade# bindings to easily design GUI applications. A GUI designer called [[Stetic]] is integrated with the [[MonoDevelop]] [[Integrated Development Environment|IDE]]. |
|||
[[Glade Interface Designer]] can be used with the Glade# bindings to easily design GUI applications. A GUI designer named [[Stetic]] is integrated with the [[MonoDevelop]] [[integrated development environment]] (IDE). |
|||
In addition to support the standard GTK/GNOME stack of development tools, the <tt>gtk-dotnet.dll</tt> assembly provides a bridge to consume functionality available on the .NET stack. At this point this includes the functionality to use System.Drawing to draw on a widget. |
|||
In addition to support the standard GTK/GNOME stack of development tools, the {{mono|gtk-dotnet.dll}} assembly provides a bridge to consume functionality available on the .NET stack. At this point this includes the functionality to use System.Drawing to draw on a widget.{{Citation needed|date=February 2023}} |
|||
=== Syntax highlighting === |
|||
For [[syntax highlighting]] there is [[GtkSourceView]], "source code editing widget". |
|||
{{As of|2020|09}}, Gtk# support for Gtk3 remains in the preview phase and forked projects, such as GtkSharp, have been founded to provide full Gtk3 support for C# and other CLI languages. The lack of a released version of Gtk# with support for Gtk3 was cited as a reason to remove the [[Banshee (media player)|Banshee]] media player in Ubuntu 12.04.<ref>{{cite web|title='Bansheegeddon' may see Banshee, Mono dropped from Ubuntu default|url=http://www.itworld.com/article/2734148/it-management/-bansheegeddon--may-see-banshee--mono-dropped-from-ubuntu-default.html|website=ITWorld|access-date=August 31, 2015|archive-date=July 10, 2015|archive-url=https://web.archive.org/web/20150710205702/http://www.itworld.com/article/2734148/it-management/-bansheegeddon--may-see-banshee--mono-dropped-from-ubuntu-default.html|url-status=dead}}</ref> |
|||
== Development == |
|||
GTK+ is mainly developed by [[The GNOME Project]], which also develops the GNOME Development Platform and the GNOME Desktop Environment.<ref>{{cite web | title=GNOME Quick SWOT Analysis | work=The GNOME Project | url=https://wiki.gnome.org/Engagement/SWOT | accessdate=March 18, 2014}}</ref> |
|||
==Development== |
|||
GTK+ development is loosely managed. Discussion chiefly occurs on a number of public mailing lists.<ref>{{cite web | url=http://mail.gnome.org | title=GTK+ and GNOME Mailing Lists | publisher=The GNOME Project | accessdate=December 4, 2011}}</ref> GNOME developers and users gather at an annual [[GUADEC]] meeting to discuss the current state and the future direction of GNOME.<ref>{{cite web|url=http://guadec.expectnation.com/public/content/about |title=About |publisher=[[GNOME Users And Developers European Conference|GUADEC]] |accessdate=December 3, 2011 |deadurl=yes |archiveurl=https://web.archive.org/web/20111004061840/http://guadec.expectnation.com/public/content/about |archivedate=October 4, 2011 |df= }}</ref> GNOME incorporates standards and programs from [[freedesktop.org]] to better [[Interoperability|interoperate]] with other desktops. |
|||
GTK is mainly developed by [[The GNOME Project]], which also develops the GNOME Development Platform and the 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 development is loosely managed. Discussion chiefly occurs on several public mailing lists.<ref>{{cite web |url=http://mail.gnome.org/ |title=GTK+ and GNOME Mailing Lists |publisher=The GNOME Project |access-date=December 4, 2011 |archive-date=December 26, 2018 |archive-url=https://web.archive.org/web/20181226071642/https://mail.gnome.org/ |url-status=live}}</ref> 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}} |
|||
GTK+ is mainly written in [[C (programming language)|C]].<ref name = "gnomelanguages">{{cite web | url= http://www.ohloh.net/p/gnome/analyses/latest/languages_summary | title=GNOME Languages | website =[[Ohloh]] | publisher=Black Duck Software | accessdate=May 22, 2014}}</ref> A number of [[language binding]]s [[List of language bindings for GTK+|are available]]. |
|||
GTK is mainly written in [[C (programming language)|C]].<ref>{{cite web |url=http://www.ohloh.net/p/gnome/analyses/latest/languages_summary |title=GNOME Languages |website=[[Ohloh]] |publisher=Black Duck Software |access-date=May 22, 2014 |archive-date=May 22, 2014 |archive-url=https://web.archive.org/web/20140522160337/http://www.ohloh.net/p/gnome/analyses/latest/languages_summary |url-status=dead}}</ref> Many [[language binding]]s [[List of language bindings for GTK|are available]]. |
|||
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}}</ref> GTK+ version 3.22 from autumn 2016 shall be the last 3.x release. After that all resources will flow into the GTK+ 4 development series with the version names 3.90, 3.92, etc. Whether the numerous application that still use GTK+ 2.x, even the Wikipedia has a couple of articles on [[:Category:Software that uses GTK+|those]], will be ported to 3.22 or not, only the future can show. |
|||
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> |
|||
=== Build automation === |
|||
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> |
|||
In former times GTK+ (and GNOME, GLib, etc.) utilized the [[GNU Build System]] (called Autotools) as the [[build automation]] system of choice. |
|||
===Build automation=== |
|||
The [[Meson build system]] is being prepared to be used with GTK.<ref>{{cite web |url=https://git.gnome.org/browse/gtk+/log/?h=wip/baedert/meson |title=Adaptation of Meson}}</ref> |
|||
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 master branch of GTK has been built with [[Meson (software)|Meson]], and 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> |
|||
At Saturday 13. August at GUADEC2016 Nirbheek Chauhan hold a talk titled "Making your GNOME app compile 2.4x faster". The video is available on YouTube: |
|||
* https://www.youtube.com/watch?v=ae9_rNuFaQM&list=PLkmRdYgttscFeGAkxtAL9pr2AggQwke3j&index=27 |
|||
== |
==Criticism== |
||
The most common 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 |
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. |
||
* Dirk Hohndel, |
* 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]], expressed disdain for version 3 of the GTK |
* 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 |
* 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]] |
* [[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|The GTK |
[[File:Free and open-source-software display servers and UI toolkits.svg|thumb|The GTK support for [[Wayland (display server protocol)|Wayland]], co-requisites applications to be adapted to Wayland also]] |
||
[[File: |
[[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=== |
===Applications=== |
||
{{Main |
{{Main page|List of GTK applications|:Category:Software that uses GTK}} |
||
Some notable applications that use or once used GTK+ as a widget toolkit include: |
|||
* [[GNOME Core Applications]]{{snd}} as part of [[GNOME]] desktop environment, developed in concert with GTK+ itself. |
|||
Some notable applications that use GTK as a widget toolkit include: |
|||
{{Div col||30em}} |
|||
{{prose|date=November 2016}} |
|||
{{Div col|colwidth=30em}} |
|||
* [[AbiWord]]{{snd}} [[Word processor]] |
|||
* [[Ardour (software)|Ardour]], a [[digital audio workstation]] (DAW) |
|||
* [[Anjuta]]{{snd}} [[Integrated development environment]] (IDE) |
|||
* [[ |
* [[Deluge (software)|Deluge]], a [[BitTorrent]] client |
||
* [[Foliate (software)|Foliate]], an [[ebook]] reader |
|||
* [[Chromium (web browser)|Chromium]]{{snd}} [[Web browser]] (Until version 34, replaced by Aura in version 35+) {{citation needed|date=December 2015}} |
|||
* [[GIMP]], a [[raster graphics editor]] |
|||
* [[Ekiga]] (formerly GnomeMeeting){{snd}} [[VoIP]] and [[Videoconferencing|video conferencing]] application |
|||
* [[GNOME Builder]], an [[integrated development environment]] (IDE) |
|||
* [[GNU Emacs]] can use GTK when running under X. |
|||
* [[GNOME Core Applications]], a collection of applications as a standard bundle of the [[GNOME]] desktop environment |
|||
* [[Evolution (software)|Evolution]]{{snd}} [[Personal information manager]] |
|||
* [[GNOME Evolution]], a [[personal information manager]] |
|||
* [[gconfig]]{{snd}} [[Linux kernel]] source configuration utility. |
|||
* [[HandBrake]], digital video [[transcoder]] |
|||
* [[Geany]]{{snd}} a lightweight cross-platform IDE and GTK+ text editor based on [[Scintilla (editing component)|Scintilla]]. |
|||
* [[ |
* [[Inkscape]], a [[vector graphics editor]] |
||
* [[ |
* [[LibreOffice]], an [[office suite]] |
||
* [[Lutris]], a game manager |
|||
* [[Gramps]]{{snd}} [[Genealogy software]] |
|||
* [[Mozilla Firefox]], a [[web browser]] |
|||
* [[Inkscape]]{{snd}} [[Vector graphics editor]] for [[Scalable Vector Graphics|SVG]] |
|||
* [[Mozilla Thunderbird]], a personal information manager |
|||
* [[LiVES]]{{snd}} [[Video editing software|Video editor]] |
|||
* [[Pitivi]], a [[video editing software|video editor]] |
|||
* [[Midori (browser)|Midori]]{{snd}} [[Minimalism (computing)|Minimalistic]] [[web browser]] using GTKWebKit as rendering engine and GTK+ as widget toolkit |
|||
* [[PCSX-Reloaded]], a [[video game console emulator]] |
|||
* [[Pidgin (software)|Pidgin]]{{snd}} [[Instant messaging|Instant messenger]] application |
|||
* [[REAPER]], a digital audio workstation (DAW) |
|||
{{Div col end}} |
|||
* [[Remmina]], a [[remote desktop software|remote desktop]] client |
|||
* [[Transmission (BitTorrent client)|Transmission]], a Bit Torrent client |
|||
{{div col end}} |
|||
===Desktop environments=== |
===Desktop environments=== |
||
{{Main |
{{Main page|:Category:Desktop environments based on GTK|l1=Desktop environments based on GTK}} |
||
Several [[desktop environment]]s utilize GTK+ as the widget toolkit. |
|||
Several [[desktop environment]]s utilize GTK as the widget toolkit. |
|||
* [[GNOME]], based on GTK+, meaning that programs native to GNOME use GTK+ |
|||
* [[Unity (user interface)|Unity]], the default desktop environment of [[Ubuntu (operating system)|Ubuntu]] |
|||
====Current==== |
|||
* Consort, the GNOME 3.4 Fallback Mode – [[fork (software development)|fork]] from [[SolusOS]] |
|||
* [[GNOME]], based on GTK, meaning that programs native to GNOME use GTK |
|||
* Budgie, built from scratch the SolusOS successor, [[Solus project|Solus]] |
|||
* [[Budgie (desktop environment)|Budgie]], built from scratch for the SolusOS successor, [[Solus Operating System]] |
|||
* [[Cinnamon (software)|Cinnamon]], a fork of GNOME 3 and uses GTK+ version 3 |
|||
* [[ |
* [[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]], currently based on GTK+ 2 with support for and eventual plans for a migration to GTK+ 3 |
|||
* [[Xfce]], based on GTK 3 since version 4.14 |
|||
* [[LXDE]] (Lightweight X11 Desktop Environment) is based on GTK+ 2 |
|||
* [[Pantheon |
* [[Elementary OS#Pantheon desktop environment|Pantheon]] uses GTK 3 exclusively, being developed by [[elementary OS]] |
||
* [[Sugar (desktop environment)|Sugar]] |
* [[Sugar (desktop environment)|Sugar]], a desktop environment for youth [[primary education]], which uses GTK, especially [[PyGTK]] |
||
* [[Phosh]], a mobile UI designed for [[PureOS]] |
|||
* [[ROX Desktop]], a lightweight desktop, with features from the [[GUI]] of [[RISC OS]] |
|||
* [[ |
* [[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) |
* [[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]] |
|||
* [[KDE]], though based on Qt, has integration with GTK+-based programs and themes since version 4.2 |
|||
* [[GPE Palmtop Environment|GPE]], the GPE Palmtop Environment |
|||
* [[ROX Desktop]], a lightweight desktop, with features from the [[GUI]] of [[RISC OS]] |
|||
====Miscellaneous==== |
|||
GTK+ programs can run on top of X11-based desktop environments or window managers even those ''not'' made with GTK+, provided the required libraries are installed; this includes [[macOS]] if [[X11.app]] is installed. GTK+ can also run under [[Microsoft Windows]], where it is used by some popular cross-platform applications like [[Pidgin (software)|Pidgin]] and GIMP. [[wxWidgets]], a cross-platform GUI toolkit, uses GTK+ for GNU/Linux operating systems.<ref>{{cite web | url = http://www.wxwidgets.org/wiki/index.php/WxWidgets_Compared_To_Other_Toolkits#GTK.2B |work = WxWidgets Compared To Other Toolkits | title = GTK+ }}</ref> Other ports include [[DirectFB]] (used by the [[Debian-Installer|Debian installer]], for example) and [[ncurses]].<ref>{{cite web|url=http://slashdot.org/article.pl?sid=03/08/26/2042206 |title=GTK+ TTY Port |publisher=Slashdot |date= |accessdate=2010-08-31}}</ref> |
|||
GTK programs can be run on desktop environments based on X11 and Wayland, or window managers even those ''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]], where it is used by some popular cross-platform applications like [[Pidgin (software)|Pidgin]] and [[GIMP]]. [[wxWidgets]], a cross-platform GUI tool-kit, uses GTK on Linux by default.<ref>{{cite web |url=http://www.wxwidgets.org/wiki/index.php/WxWidgets_Compared_To_Other_Toolkits#GTK.2B |work=WxWidgets Compared To Other Toolkits |title=GTK+ |access-date=August 28, 2007 |archive-date=October 5, 2007 |archive-url=https://web.archive.org/web/20071005160312/http://www.wxwidgets.org/wiki/index.php/WxWidgets_Compared_To_Other_Toolkits#GTK.2B |url-status=live}}</ref> Other ports include [[DirectFB]] (used by the [[Debian-Installer|Debian installer]], for example) and [[ncurses]].<ref>{{cite web |url=http://slashdot.org/article.pl?sid=03/08/26/2042206 |title=GTK+ TTY Port |date=August 26, 2003 |publisher=Slashdot |access-date=2010-08-31 |archive-date=April 22, 2024 |archive-url=https://web.archive.org/web/20240422182809/http://slashdot.org/article.pl?sid=03/08/26/2042206 |url-status=live}}</ref> |
|||
===Window managers=== |
===Window managers=== |
||
The following window managers use GTK |
The following window managers use GTK: |
||
{{Div col| |
{{Div col|colwidth=30em}} |
||
* Aewm |
* Aewm |
||
* [[AfterStep]] |
* [[AfterStep]] |
||
Line 205: | Line 202: | ||
* Wmg |
* Wmg |
||
* [[Xfce|Xfwm]] |
* [[Xfce|Xfwm]] |
||
{{ |
{{div col end}} |
||
== |
===GtkSourceView=== |
||
{{Main|GtkSourceView}} |
|||
The following code presents a graphical GTK+ [[Hello world program|hello-world]] program in the [[C (programming language)|C programming language]]. This program has a window with the title "Hello, world!" and a label with similar text. |
|||
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}} |
|||
<source lang="c"> |
|||
#include <gtk/gtk.h> |
|||
===GtkSpell=== |
|||
int main (int argc, char *argv[]) |
|||
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== |
|||
GtkWidget *window; |
|||
===GNU/Linux=== |
|||
GtkWidget *label; |
|||
{{Anchor|Gnu/linux}} |
|||
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. |
|||
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_init(&argc, &argv); |
|||
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. |
|||
/* Create the main, top level window */ |
|||
window = gtk_window_new(GTK_WINDOW_TOPLEVEL); |
|||
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> |
|||
/* Give it the title */ |
|||
gtk_window_set_title(GTK_WINDOW(window), "Hello, world!"); |
|||
===macOS=== |
|||
/* Center the window */ |
|||
With [[Quartz (graphics layer)|Quartz]]-backend<ref>{{Cite web|url=https://wiki.gnome.org/action/show/Projects/GTK/OSX?action=show&redirect=Projects%2FGTK%2B%2FOSX|title=Projects/GTK/OSX - GNOME Wiki!|website=wiki.gnome.org|access-date=November 22, 2019|archive-date=November 27, 2019|archive-url=https://web.archive.org/web/20191127001226/https://wiki.gnome.org/action/show/Projects/GTK/OSX?action=show&redirect=Projects%2FGTK%2B%2FOSX|url-status=live}}</ref> GTK is available in [[macOS]].<ref>{{Cite news|url=https://www.gtk.org/docs/installations/macos/|title=GTK Download: Mac OS X|newspaper=The GTK Team|access-date=April 11, 2020|archive-date=April 11, 2020|archive-url=https://web.archive.org/web/20200411215421/https://www.gtk.org/docs/installations/macos/|url-status=live}}</ref> |
|||
gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); |
|||
===Windows=== |
|||
/* Set the window's default size */ |
|||
* After GTK 2.24.10 and 3.6.4 Development of Windows with Installer was closed by Gnome. Installation of MSYS2 on Windows is a good way to use actual GTK.<ref>{{Cite news|url=https://www.gtk.org/docs/installations/windows/|title=GTK Download: Windows|newspaper=The GTK Team|access-date=April 11, 2020|archive-date=April 14, 2020|archive-url=https://web.archive.org/web/20200414125859/https://www.gtk.org/docs/installations/windows/|url-status=live}}</ref> |
|||
gtk_window_set_default_size(GTK_WINDOW(window), 200, 100); |
|||
* GTK 2.24.10 and 3.6.4 is available in Internet, but very buggy and limited against actual versions.<ref>{{Cite web|url=https://sourceforge.net/projects/gtk-win/|title=GTK+ for Windows Runtime Environment|website=SourceForge|date=September 15, 2017|access-date=April 5, 2018|archive-date=April 6, 2018|archive-url=https://web.archive.org/web/20180406040912/https://sourceforge.net/projects/gtk-win/|url-status=live}}</ref><ref>{{Cite web|url=http://www.tarnyko.net/dl/gtk.htm|title=GTK+|website=www.tarnyko.net|access-date=April 5, 2018|archive-date=April 8, 2018|archive-url=https://web.archive.org/web/20180408175141/http://www.tarnyko.net/dl/gtk.htm|url-status=dead}}</ref> |
|||
* A version for Windows 64-bit is prepared by Tom Schoonjans with 2.24.33 (actual like Linux) and 3.24.24 (actual like Linux) from January 2021 available.<ref>{{Cite web|url=https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer|title=GTK+ for Windows Runtime Environment Installer (fork from http://gtk-win.sourceforge.net): tschoonj/GTK-for-Windows-Runtime-Environment-Installer|date=November 19, 2020|via=GitHub|access-date=April 5, 2018|archive-date=June 11, 2018|archive-url=https://web.archive.org/web/20180611024700/https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer|url-status=live}}</ref> |
|||
* Windows 10's Fall Creators Update includes [[Windows Subsystem for Linux]] (WSL). With Linux distributions like Ubuntu or Debian available from the [[Microsoft Store]] and an X server like Xming or VcXsvr, thousands of programs like GTK 2 or 3 can run with X or terminal support. |
|||
===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> |
|||
** Map the destroy signal of the window to gtk_main_quit; |
|||
** When the window is about to be destroyed, we get a notification and |
|||
** stop the main GTK+ loop by returning 0 |
|||
*/ |
|||
g_signal_connect(window, "destroy", G_CALLBACK(gtk_main_quit), NULL); |
|||
==={{Anchor|GTK4|GTK 4}} GTK 4=== |
|||
/* |
|||
One of the cardinal novelties implemented during the GTK 4 development cycle (i.e. GTK 3.92, etc.) has been the removal of customization options for the user side (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. |
|||
** Assign the variable "label" to a new GTK label, |
|||
* the event handling from signal handlers described by GtkWidget is delegated to event controllers |
|||
** with the text "Hello, world!" |
|||
* the rendering is delegated to GtkSnapshot objects |
|||
*/ |
|||
* the layout mechanism from GtkWidget is delegated to GtkLayoutManager |
|||
label = gtk_label_new("Hello, world!"); |
|||
In January 2018 at [[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> |
|||
/* Plot the label onto the main window */ |
|||
gtk_container_add(GTK_CONTAINER(window), label); |
|||
/* Make sure that everything, window and label, are visible */ |
|||
gtk_widget_show_all(window); |
|||
/* |
|||
** Start the main loop, and do nothing (block) until |
|||
** the application is closed |
|||
*/ |
|||
gtk_main(); |
|||
return 0; |
|||
} |
|||
</source> |
|||
Needs installing the libraries first in [[debian]] or derivatives: |
|||
<code> |
|||
$ sudo apt-get install libgtk-3-dev |
|||
</code> |
|||
Using [[pkg-config]] in a [[Unix shell]], this code can be compiled with the following command (assume above source has file name "helloworld.c"): |
|||
<code> |
|||
$ cc -Wall helloworld.c -o helloworld $(pkg-config --cflags --libs gtk+-3.0) |
|||
</code> |
|||
Invoke the program |
|||
<code> |
|||
$ ./helloworld |
|||
</code> |
|||
==History== |
|||
GTK+ was originally designed and used in the 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 called the GIMP toolkit and had successfully replaced Motif by the 0.60 release of GIMP.<ref>{{webarchive |url=https://web.archive.org/web/19990417052141/http://www.linuxworld.com/linuxworld/lw-1999-01/lw-01-gimp.html |date=April 17, 1999 |title=LinuxWorld - Where did Spencer Kimball and Peter Mattis go? }}</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 | archiveurl = https://web.archive.org/web/20120326131857/http://developer.gnome.org/gtk-faq/stable/x90.html | title = What is the + in GTK+? | year = 2011 | accessdate = 2014-03-18 | archivedate = 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. |
|||
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+ version 3.0.0 included revised input device handling, support for themes written with [[Cascading Style Sheets|CSS]]-like syntax, and the ability to receive information about other opened GTK+ applications. |
|||
===Releases=== |
===Releases=== |
||
{| |
{|class="wikitable mw-collapsible mw-collapsed" style="width:100%;" |
||
|- |
|||
| colspan="4" | {{Version|l|show=111111}} |
|||
|- |
|- |
||
! Release series |
! Release series |
||
! Initial release |
! Initial release |
||
! |
! Major enhancements |
||
! Latest minor version |
! Latest minor version |
||
|- |
|- |
||
!{{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> |
|||
|style="white-space: nowrap;"| {{date|14 April 1998|iso}} |
|||
| First stable version |
|||
| 1.0. |
|||
| [https://mail.gnome.org/archives/gtk-devel-list/1998-September/msg00055.html 1.0.6] |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|27 February 1999|iso}} |
|||
| New [[GUI widget|widgets]]: |
|||
* GtkFontSelector |
|||
* GtkPacker |
|||
* GtkItemFactory |
|||
* GtkCTree |
|||
* GtkInvisible |
|||
* GtkCalendar |
|||
* GtkLayout |
|||
* GtkPlug |
|||
* GtkSocket |
|||
| [https://mail.gnome.org/archives/gtk-devel-list/2001-April/msg00049.html 1.2.10] |
|||
| 1.2.10 |
|||
|- |
|- |
||
! {{Version|o|2.0}} |
|||
! colspan="8" style="background:light-gray"|GTK+ 2 |
|||
| 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 |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|11 March 2002|iso}} |
|||
| Multihead support |
|||
| colspan=5 | [[GObject]], overall support for [[UTF-8]] |
|||
| 2.2.4 |
|||
| [https://mail.gnome.org/archives/gtk-devel-list/2002-November/msg00154.html 2.0.9] |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|22 December 2002|iso}} |
|||
| New widgets: |
|||
| colspan=5 | Multihead support |
|||
| [https://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00070.html 2.2.4] |
|||
* GtkFileChooser |
|||
* GtkComboBox |
|||
* GtkComboBoxEntry |
|||
* GtkExpander |
|||
* GtkFontButton |
|||
* GtkColorButton |
|||
| 2.4.14 |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|16 March 2004|iso}} |
|||
| New widgets: |
|||
| colspan=5 | New widgets (GtkFileChooser, GtkComboBox, GtkComboBoxEntry, GtkExpander, GtkFontButton, GtkColorButton) |
|||
| [https://mail.gnome.org/archives/gtk-devel-list/2004-December/msg00018.html 2.4.14] |
|||
* GtkIconView |
|||
* GtkAboutDialog |
|||
* GtkCellView |
|||
The last to support [[Windows 98]]/[[Windows Me|Me]] |
|||
| 2.6.10 |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|16 December 2004|iso}} |
|||
| Most widgets are rendered by [[Cairo (graphics)|Cairo]] |
|||
| colspan=5 | New widgets (GtkIconView, GtkAboutDialog, GtkCellView).<br />The last to support [[Windows 98]]/[[Windows Me|ME.]] |
|||
| 2.8.20 |
|||
| [https://mail.gnome.org/archives/gtk-devel-list/2005-August/msg00097.html 2.6.10] |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|13 August 2005|iso}} |
|||
| New widgets: |
|||
| colspan=5 | Majority of the widgets are rendered by [[Cairo (graphics)|Cairo]]. |
|||
| [https://mail.gnome.org/archives/gtk-devel-list/2006-July/msg00002.html 2.8.20] |
|||
* GtkStatusIcon |
|||
* GtkAssistant |
|||
* GtkLinkButton |
|||
* GtkRecentChooser |
|||
Print support: GtkPrintOperation |
|||
| 2.10.14 |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|3 July 2006|iso}} |
|||
| GtkBuilder |
|||
| colspan=5 | New widgets (GtkStatusIcon, GtkAssistant, GtkLinkButton,<br />GtkRecentChooser) and print support (GtkPrintOperation) |
|||
| style="white-space: nowrap;" | 2.12.12 |
|||
|[https://mail.gnome.org/archives/gtk-devel-list/2007-July/msg00058.html 2.10.14] |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|14 September 2007|iso}} |
|||
| [[JPEG 2000]] load support |
|||
| colspan=5 | GtkBuilder |
|||
|style="white-space: nowrap;"| |
| style="white-space: nowrap;" | 2.14.7 |
||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|4 September 2008|iso}} |
|||
| New widget: GtkOrientable |
|||
| colspan=5 | [[JPEG 2000]] load support |
|||
Caps Lock warning in password entry |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/gtk-devel-list/2009-January/msg00031.html 2.14.7] |
|||
Improvements on GtkScale, GtkStatusIcon, GtkFileChooser |
|||
| style="white-space: nowrap;" | 2.16.6 |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|13 March 2009|iso}} |
|||
| New widget: GtkInfoBar |
|||
| colspan=5 | New widget (GtkOrientable), Caps Lock warning in password entry.<br />Improvements on GtkScale, GtkStatusIcon, GtkFileChooser. |
|||
Improvement on file chooser, printing |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/gtk-devel-list/2009-August/msg00176.html 2.16.6] |
|||
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 |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|23 September 2009|iso}} |
|||
| New widgets: |
|||
| colspan=5 | New widget (GtkInfoBar). Improvement on file chooser, printing.<br/>[[GDK]] has been rewritten to use "client-side windows". |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/gtk-devel-list/2010-March/msg00115.html 2.18.9] |
|||
* 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 |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|23 March 2010|iso}} |
|||
| [[GdkPixbuf]] moved to separate module |
|||
| colspan=5 | New widgets (GtkSpinner, GtkToolPalette, GtkOffscreenWindow). Improvement on file chooser,<br/>keyboard handling, GDK. Introspection data is now included in GTK+. |
|||
Most GDK drawing are based on Cairo |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/gtk-devel-list/2010-May/msg00004.html 2.20.1] |
|||
Many internal data are now private and can be ''sealed'' in preparation to GTK 3 |
|||
| style="white-space: nowrap;" | 2.22.1 |
|||
|- |
|- |
||
!{{Version |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|23 September 2010|iso}} |
|||
| New widget: GtkComboBoxText which had previously been a custom widget shipped with Gtkmm |
|||
| colspan=5 | [[GdkPixbuf]] moved to separate module, most GDK drawing are based on Cairo,<br/>many internal data are now private and can be ''sealed'' in preparation to GTK+ 3. |
|||
The CUPS print backend can send print jobs as PDF |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/ftp-release-list/2010-November/msg00145.html 2.22.1] |
|||
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 |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|30 January 2011|iso}} |
|||
| 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> |
|||
| colspan=5 | New widget (GtkComboBoxText), the CUPS print backend can send print jobs as PDF,<br/>GtkBuilder has gained support for text tags and menu toolbuttons and many introspection annotation fixes were added. |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/ftp-release-list/2016-September/msg00025.html 2.24.31] |
|||
* 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}} |
|||
! colspan="8"|GTK+ 3 |
|||
| 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 |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|10 February 2011|iso}} |
|||
| Menu support in GtkApplication |
|||
| colspan=5 | Development and design of the GTK+ 3 release of the toolkit started in February 2009 during the GTK+ Theming Hackfest held in Dublin.<ref>[http://aruiz.typepad.com/siliconisland/2009/02/gtk-30-theming.html Alberto Ruiz Hackfest announcement]</ref> The first draft of the development roadmap was released on 9 April 2009.<ref>[http://testbit.eu/~timj/blogstuff/GtkRoadmap3Draft2.html Gtk+ 3 roadmap draft]</ref><br />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=Project Ridley}}</ref> <br />all the rendering is done using Cairo;<br />[[GDK]] became more X11 agnostic,<br/> XInput2, theme API is based upon [[Cascading Style Sheets|CSS]] (worsening the achievable performance for 60 Hz [[frame rate]]s) |
|||
A new color chooser |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/gnome-announce-list/2011-July/msg00060.html 3.0.12] |
|||
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 |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|25 September 2011|iso}} |
|||
| New widgets: |
|||
| colspan=5 | New widgets (GtkLockButton, GtkOverlay), New Font Chooser dialog;<br />new experimental backends ([[Wayland (display server protocol)|Wayland]], [[HTML5]] (called "Broadway")); |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/ftp-release-list/2012-March/msg00095.html 3.2.4] |
|||
* 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 |
! {{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> |
|||
|style="white-space: nowrap;"| {{date|26 March 2012|iso}} |
|||
| Wayland 1.0 stable support |
|||
| colspan=5 | Menu support in GtkApplication, a new color chooser, added support for touch devices, added support for smooth scrolling,<br /> GtkScrolledWindow will do kinetic scrolling with touch devices, OS X support has been improved.<br />This is the first version of GTK+ 3 that works well on Windows.<br />The Wayland backend has been updated to the current Wayland version<br />Spin buttons have received a new look.<br />Accessibility: the treeview accessible support has been rewritten<br />More complete CSS Theming support |
|||
Support for the broadwayd server |
|||
|style="white-space: nowrap;"| [https://mail.gnome.org/archives/ftp-release-list/2012-July/msg00019.html 3.4.4] |
|||
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 |
! {{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> |
|||
| style="white-space: nowrap;"| {{date|24 September 2012|iso}} |
|||
| New widgets: |
|||
| colspan=5 | GtkSearchEntry, GtkMenuButton, GtkLevelBar. Vertical spin buttons.<br />CSS animations, blur shadows.<br />Support for cross-fading and transitions in themes. |
|||
| style="white-space: nowrap;"| [https://mail.gnome.org/archives/ftp-release-list/2014-January/msg00091.html 3.6.5] |
|||
* 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 |
! {{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> |
|||
| style="white-space: nowrap;"| {{date|13 May 2013|iso}} |
|||
| 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> |
|||
| colspan=5 | Wayland 1.0 stable support, support for the broadwayd server, improved theming, better geometry management,<br />touch improvements, support with the [[window manager]] for the frame synchronization protocol |
|||
| style="white-space: nowrap;"| [https://mail.gnome.org/archives/ftp-release-list/2014-January/msg00092.html 3.8.9] |
|||
Support for Wayland 1.5 |
|||
New widget: [[Popover (GUI)|GtkPopover]] (an alternative to menus and dialogs) |
|||
| style="white-space: nowrap;" | 3.12.2 |
|||
|- |
|- |
||
! {{Version |
! {{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> |
|||
| style="white-space: nowrap;" | {{date|23 September 2013|iso}} |
|||
| [[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> |
|||
| colspan=5 | New widgets (GtkHeaderBar, GtkPlacesSidebar, GtkStack, GtkStackSwitcher, GtkRevealer, GtkSearchBar, GtkListBox).<br />Support for Wayland 1.2 (maximization, animated cursors, multiple monitors, settings, custom surfaces and frame synchronization)<br />Added: client-side decorations, scaled output support on high-dpi screens, fine-adjustment mode for scrolling.<br /> Removed: support for the Motif DND protocol, support for multiple screens per display, gdk_window_get_display, gtk_widget_push_composite_child,<br />Tear-off menu-items, plus a number of GTK+ settings.<br>[http://blogs.gnome.org/alexl/2013/11/04/the-modern-gtk-drawing-model/ The modern GTK+ drawing model] |
|||
| style="white-space: nowrap;"| 3.10.9 |
|||
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 |
! {{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> |
|||
| style="white-space: nowrap;"| {{date|2014-03-25|iso}} |
|||
| GDK supports rendering windows using OpenGL for X11 and Wayland using [[libepoxy]] |
|||
| colspan=5 | GTK+ 3.12 introduced client-side decorations,<ref>{{cite web |url=https://blogs.gnome.org/mclasen/2013/12/05/client-side-decorations-in-themes/ |title=GTK 3.12 introduced client-side decorations}}</ref> support for Wayland 1.5; new widgets: ([[Popover (GUI)|GtkPopover]], an alternative to menus and dialogs) |
|||
New widgets: |
|||
| style="white-space: nowrap;"| 3.12.2 |
|||
* '''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 |
! {{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> |
|||
| style="white-space: nowrap;"| {{date|2014-09-30|iso}} |
|||
| Add CSS node infrastructure |
|||
| colspan=5 | [[GtkInspector]] 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 |accessdate=2014-05-17}}</ref><ref>{{cite web |url=https://wiki.gnome.org/Projects/GTK%2B/Inspector |title=GtkInspector in GNOME wiki |date=2014-05-15 |accessdate=2014-05-17}}</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 |accessdate=2014-05-23}}</ref><ref>{{cite web |url=https://mail.gnome.org/archives/gtk-devel-list/2014-March/msg00018.html |title=RFC: gestures |date=2014-03-04 |accessdate=2014-05-23}}</ref><br>Deprecate: GtkMisc, GtkAlignment, GtkArrow, GdkColor, Style regions, support for .icon files, gdk_window_flush, drawing outside of begin/end paint.<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}}</ref> Most widgets converted to use gestures internally, Wayland supports GNOME Shell classic modus.<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}}</ref> |
|||
More filechooser design refresh and better filechooser search |
|||
| style="white-space: nowrap;"|3.14.13 |
|||
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 |
! {{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> |
|||
| style="white-space: nowrap;"| {{date|2015-03-22|iso}} |
|||
| 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> |
|||
| colspan=5 | 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>[http://www.heise.de/open/meldung/Linux-Desktop-Neues-Gnome-zeigt-Nachrichten-oben-2584020.html Linux-Desktop: Neues Gnome zeigt Nachrichten oben]</ref>), experimental [[Mir (software)|Mir]] backend<ref>[https://mail.gnome.org/archives/gnome-announce-list/2015-March/msg00029.html GTK+ 3.16.0 released]</ref> |
|||
| style="white-space: nowrap;"|3.16.7 |
|||
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 |
! {{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> |
|||
| style="white-space: nowrap;"| {{date|2015-11-22|iso}} |
|||
| Last 3.x release<ref name="devblog160901" /> |
|||
| colspan=5 | 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;"| [https://mail.gnome.org/archives/ftp-release-list/2015-November/msg00073.html 3.18.5] |
|||
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 |
! {{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> |
|||
| style="white-space: nowrap;"| {{date|2016-03-21|iso}} |
|||
| 3.22 was supposed to be the last version of GTK 3 series |
|||
| colspan=5 | 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}}</ref> move [[Drag and drop|DND]] down to [[GIMP Drawing Kit|GDK]], New widgets: [https://developer.gnome.org/gtk3/unstable/GtkShortcutsWindow.html GtkShortcutsWindow]: shows keyboard shortcuts and gestures of an application |
|||
| style="white-space: nowrap;"| [ftp://ftp.gnome.org/pub/GNOME/sources/gtk+/3.20/gtk+-3.20.3.news 3.20.3] |
|||
* 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}} |
|||
! {{Version |c |{{Anchor|3.22}} [https://download.gnome.org/sources/gtk+/3.22/ 3.22]}} |
|||
| 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> |
|||
| style="white-space: nowrap;"| {{date|2016-09-20|iso}} |
|||
| [[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> |
|||
| colspan=5 | last 3.x released<ref name="devblog160901" /><br />GTK+ 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 merged}}</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=libinput as of September 2016}}</ref><br />GSK ([[GTK+ Scene Graph Kit]] ''not merged''!<ref name="roadmap" /><br />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]]}}</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}}</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}}</ref><br /> |
|||
| style="white-space: nowrap;"| for 3+ years<br />[https://mail.gnome.org/archives/ftp-release-list/2017-January/msg00043.html 3.22.7] |
|||
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}} |
|||
! colspan="8" | GTK+ 4 development series |
|||
| 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 |
! {{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> |
|||
| style="white-space: nowrap;"| {{date|2016-11-21|iso}}<ref>[https://blog.gtk.org/2016/11/28/this-week-in-gtk-26/ This week in GTK+ – 26], By Emmanuele Bassi, 2016-11-28,GTK+ Development Blog, ''Matthias Clasen released the first GTK+ 3.89 development snapshot''</ref> |
|||
| 3.93 |
|||
| colspan=5 | |
|||
|[https://git.gnome.org/browse/gtk+/tag/?h=3.89.5 3.89.5] |
|||
* 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 |
! {{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> |
|||
| style="white-space: nowrap;"| 2017 spring |
|||
| 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> |
|||
| colspan=5 | heavy development, API&ABI will not be kept stable.<ref name="lortie4" /><ref name="lortie5" /> remove any API marked as deprecated: [https://git.gnome.org/browse/gtk+/tree/gtk/deprecated?id=a3f1596069ae966ffa785e85327a868e041560c4 before (2016-09-22)] vs. [https://git.gnome.org/browse/gtk+/tree/gtk/deprecated after] |
|||
GtkWidget can now use a GtkLayoutManager for size allocation |
|||
| style="white-space: nowrap;"| |
|||
* 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;"| |
| style="white-space: nowrap;" | 2020-02-10<ref name="Clasen" /> |
||
| colspan=5 | |
|||
| |
| |
||
* 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> |
|||
| style="white-space: nowrap;"| 2018 spring |
|||
| colspan=5 | |
|||
| |
| |
||
* 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 |
! {{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> |
|||
| style="white-space: nowrap;"| 2018 autumn |
|||
| colspan=5 | |
|||
| |
| |
||
| 4.0.2 |
|||
|- |
|- |
||
! {{Version |
! {{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> |
|||
| style="white-space: nowrap;"| 2019 spring |
|||
| |
|||
| colspan=5 | remove any API marked as deprecated, i.e. at least everything in the [https://git.gnome.org/browse/gtk+/tree/gtk/deprecated deprecated] directory |
|||
| |
| |
||
|- |
|- |
||
! {{Version|o|{{Anchor|4.4}} 4.4}} |
|||
! colspan="4" | GTK+ 5 development series !! colspan="4" | GTK+ 4 stable series |
|||
| 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> |
|||
|- |
|||
| |
|||
! width=5% {{Version |p | 4.90}} |
|||
| style="white-space: nowrap;"| |
|||
| |
|||
| style="white-space: nowrap;"| |
|||
! width=5% {{Version |p | 4.2}} |
|||
| style="white-space: nowrap;"| |
|||
| |
| |
||
| style="white-space: nowrap;"| |
|||
|- |
|- |
||
! {{Version |
! {{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> |
|||
| style="white-space: nowrap;"| |
|||
| |
| |
||
| style="white-space: nowrap;"| |
|||
! {{Version |p | 4.4}} |
|||
| style="white-space: nowrap;"| |
|||
| |
| |
||
| style="white-space: nowrap;"| |
|||
|- |
|- |
||
! {{Version |
! {{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> |
|||
| style="white-space: nowrap;"| |
|||
| |
| |
||
| style="white-space: nowrap;"| |
|||
! {{Version |p | 4.6}} |
|||
| style="white-space: nowrap;"| |
|||
| |
| |
||
| style="white-space: nowrap;"| |
|||
|- |
|- |
||
!{{Version|c|{{Anchor|4.10}} 4.10}} |
|||
|colspan="10"|{{Version |l |show=110111}} |
|||
|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> |
|||
| |
|||
|} |
|} |
||
The GNOME team releases new versions on a regular basis. |
|||
==See also== |
==See also== |
||
{{Portal|Free software}} |
{{Portal|Free and open-source software}} |
||
* [[Client-Side Decoration]] |
|||
* [[GDK]] – the GIMP Drawing Kit lies between the [[xlib]] and the GTK+ library, handling basic rendering such as drawing primitives, raster graphics (bitmaps), cursors, fonts, as well as window events and drag-and-drop functionality |
|||
* [[List of widget toolkits]] |
|||
* [[gtkmm]] – C++ bindings for GTK+ |
|||
* [[gtkmm]] – C++ bindings for GTK |
|||
* [[Qt (software)|Qt]] - cross platform framework and toolkit |
|||
* [[Enlightenment Foundation Libraries]] (EFL) |
* [[Enlightenment Foundation Libraries]] (EFL) – widget toolkit written for the Enlightenment window manager |
||
* [[FLTK]] – a light, cross-platform, non-native widget toolkit |
|||
* [[XForms (toolkit)|XForms]] - a GUI toolkit based on Xlib for the X Window System |
|||
* [[ |
* [[Fox toolkit]] – a fast, open source, cross-platform widget toolkit |
||
* [[IUP (software)|IUP]] – a multi-platform toolkit for building native graphical user interfaces |
|||
* [[FOX toolkit]] – A fast, open source, cross-platform widget toolkit |
|||
* [[IUP (software)|IUP]] – a multi-platform toolkit for building native graphical user interfaces |
|||
* [[Object Windows Library]] (OWL) |
|||
* [[Ultimate++]] |
* [[Ultimate++]] |
||
* [[Visual Component Library]] (VCL) |
* [[Visual Component Library]] (VCL) |
||
* [[Windows Forms]] – the system for creating graphical user interfaces and elements in the Microsoft family of products |
|||
* [[Windows Presentation Foundation]] – the system created by Microsoft to replace Windows Forms in GUI development |
|||
* [[List of widget toolkits]] |
|||
==References== |
==References== |
||
{{ |
{{reflist|1=30em}} |
||
==Bibliography== |
==Bibliography== |
||
{{Refbegin}} |
{{Refbegin}} |
||
*{{citation |
* {{citation |
||
| |
|last = Krause |
||
| |
|first = Andrew |
||
| |
|title = Foundations of GTK+ Development |
||
|date = April 23, 2007 |
|||
| edition = 1st |
|||
|url = https://archive.org/details/foundationsofgtk00krau |
|||
| date = April 23, 2007 |
|||
|edition = 1st |
|||
| publisher = [[Apress]] |
|||
|publisher = [[Apress]] |
|||
| isbn = 978-1-59059-793-4 |
|||
|isbn = 978-1-59059-793-4 |
|||
| url = http://www.apress.com/9781590597934 |
|||
}} |
}} |
||
*{{citation |
* {{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 |
* {{citation |
||
|title = Gtk+ Programming in C |
|||
| first1 = Syd |
|||
| |
|date = September 6, 2001 |
||
|url = http://www.informit.com/store/product.aspx?isbn=0130142646 |
|||
| title = Gtk+ Programming in C |
|||
| |
|last1 = Logan |
||
| |
|first1 = Syd |
||
|edition = 1st |
|||
| publisher = [[Prentice Hall]] |
|||
|publisher = [[Prentice Hall]] |
|||
| isbn = 978-0-13-014264-1 |
|||
|isbn = 978-0-13-014264-1 |
|||
| url = http://www.informit.com/store/product.aspx?isbn=0130142646 |
|||
|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}} |
{{Refend}} |
||
==External links== |
==External links== |
||
{{Commons category|GTK}} |
|||
{{Wikibooks|X Window Programming|GTK+}} |
{{Wikibooks|X Window Programming|GTK+}} |
||
* {{Official website}} |
* {{Official website}} |
||
* {{Official website|library.gnome.org/devel/gtk3/stable/|GTK+ 3 Reference Manual}} |
|||
* [http://www.gtk-apps.org/ List of GTK+ applications] |
|||
* {{sourceforge|pygobjectwin32|GTK+ PyGObject for Windows}} - Python All-In-One PyGI/PyGObject for Windows Installer (GTK+ 3.18 +) |
|||
* {{sourceforge|gtk-mingw|GTK+ for Windows (MinGW)}} - (Only up to GTK+ 3.5.4) |
|||
* [http://www.mono-project.com/docs/gui/gtksharp/ GtkSharp] at Mono Project |
|||
{{GTK}} |
{{GTK}} |
||
{{GNU}} |
{{GNU}} |
||
{{Widget toolkits}} |
{{Widget toolkits}} |
||
{{GUI builders}} |
|||
{{Authority control}} |
{{Authority control}} |
||
{{DEFAULTSORT:Gtk+}} |
{{DEFAULTSORT:Gtk+}} |
||
[[Category:GTK |
[[Category:GTK| ]] |
||
[[Category:Application programming interfaces]] |
[[Category:Application programming interfaces]] |
||
[[Category:Articles with example C code]] |
[[Category:Articles with example C code]] |
||
[[Category:C libraries]] |
[[Category:C (programming language) libraries]] |
||
[[Category:Cross-platform software]] |
[[Category:Cross-platform software]] |
||
[[Category:Free computer libraries]] |
[[Category:Free computer libraries]] |
||
[[Category:Free software programmed in C]] |
[[Category:Free software programmed in C]] |
||
[[Category:GNOME]] |
[[Category:GNOME]] |
||
[[Category:Software that uses Cairo]] |
[[Category:Software that uses Cairo (graphics)]] |
||
[[Category:Software that uses Meson]] |
|||
[[Category:Software using the LGPL license]] |
[[Category:Software using the LGPL license]] |
||
[[Category:Widget toolkits]] |
[[Category:Widget toolkits]] |
Latest revision as of 11:34, 28 August 2024
GTK version 4 (gtk4-widget-factory, a collection of examples that demonstrate many of the GUI widgets) | |
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.
GtkInspector
[edit]GtkInspector was introduced with version 3.14.[15][16] GtkInspector can only be invoked after installing the development package libgtk-3-dev/gtk+-devel.
GUI designers
[edit]There are several GUI designers for GTK. The following projects were active as of July 2011:
- Glade, supports GtkBuilder, which is a GTK built-in GUI description format.
- Gazpacho, GUI builder for the GTK toolkit written in Python[17]
- Crow Designer, relies on its own GuiXml format and GuiLoader library.[18]
- Stetic, part of MonoDevelop, oriented toward Gtk#.
- Gambas since version 2.0 atop BASIC
- Xojo on Linux
- Lazarus on Linux defaults to interfacing with GTK 2
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 then loaded at runtime and the objects created automatically. The Glade Interface Designer allows creation of the user interface in a what you see is what you get (WYSIWYG) manner. 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.[19]
GtkSharp, not to be confused with Gtk#, supports GTK 3.
Gtk#
[edit]Developer(s) | Xamarin |
---|---|
Initial release | March 12, 2004 |
Stable release | 2.12.41[20]
/ September 22, 2016 |
Preview release | 2.99.3 (for GTK3)[20]
/ June 6, 2014 |
Repository | |
Written in | C#, XML, Perl, C |
Operating system | Windows, macOS, Linux |
Type | Widget toolkit |
License | GNU Lesser General Public License |
Website | mono-project |
Gtk# is a set of .NET Framework bindings for the GTK graphical user interface (GUI) toolkit and assorted GNOME libraries. The library facilitates building graphical GNOME applications using Mono or any other compliant Common Language Runtime (CLR). Gtk# is an event-driven system like any other modern windowing library where every widget allows associating handler methods, which get called when certain events occur.[citation needed]
Applications built using Gtk# will run on many platforms including Linux, Windows and macOS. The Mono packages for Windows include GTK, Gtk# and a native theme to make applications look like native Windows applications. Starting with Mono 1.9, running Gtk# applications on macOS no longer requires running an X11 server.[21]
Glade Interface Designer can be used with the Glade# bindings to easily design GUI applications. A GUI designer named Stetic is integrated with the MonoDevelop integrated development environment (IDE).
In addition to support the standard GTK/GNOME stack of development tools, the gtk-dotnet.dll assembly provides a bridge to consume functionality available on the .NET stack. At this point this includes the functionality to use System.Drawing to draw on a widget.[citation needed]
As of September 2020[update], Gtk# support for Gtk3 remains in the preview phase and forked projects, such as GtkSharp, have been founded to provide full Gtk3 support for C# and other CLI languages. The lack of a released version of Gtk# with support for Gtk3 was cited as a reason to remove the Banshee media player in Ubuntu 12.04.[22]
Development
[edit]GTK is mainly developed by The GNOME Project, which also develops the GNOME Development Platform and the GNOME Desktop Environment.[23]
GTK development is loosely managed. Discussion chiefly occurs on several public mailing lists.[24] 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]
GTK is mainly written in C.[26] Many language bindings are available.
On September 1, 2016, a post on the GTK development blog denoted, among other things, the future numbering scheme of GTK.[27] 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.[28] 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.[29] 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.[30]
Build automation
[edit]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 master branch of GTK has been built with Meson, and the Autotools build system files have been dropped.[31]
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)[32] and theming.[33] 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.[34] 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.
- 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 Builder, an integrated development environment (IDE)
- GNOME Core Applications, a collection of applications as a standard bundle of the GNOME desktop environment
- 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
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
Miscellaneous
[edit]GTK programs can be run on desktop environments based on X11 and Wayland, or window managers even those 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, where it is used by some popular cross-platform applications like Pidgin and GIMP. wxWidgets, a cross-platform GUI tool-kit, uses GTK on Linux by default.[40] Other ports include DirectFB (used by the Debian installer, for example) and ncurses.[41]
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]GNU/Linux
[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.[42] Finally GTK was re-written to be object-oriented and was renamed GTK+.[43] 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.
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 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.[44]
macOS
[edit]With Quartz-backend[45] GTK is available in macOS.[46]
Windows
[edit]- After GTK 2.24.10 and 3.6.4 Development of Windows with Installer was closed by Gnome. Installation of MSYS2 on Windows is a good way to use actual GTK.[47]
- GTK 2.24.10 and 3.6.4 is available in Internet, but very buggy and limited against actual versions.[48][49]
- A version for Windows 64-bit is prepared by Tom Schoonjans with 2.24.33 (actual like Linux) and 3.24.24 (actual like Linux) from January 2021 available.[50]
- Windows 10's Fall Creators Update includes Windows Subsystem for Linux (WSL). With Linux distributions like Ubuntu or Debian available from the Microsoft Store and an X server like Xming or VcXsvr, thousands of programs like GTK 2 or 3 can run with X or terminal support.
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.[51] The latest version of GTK for OpenVMS is version 1.2.10.[52]
GTK 4
[edit]One of the cardinal novelties implemented during the GTK 4 development cycle (i.e. GTK 3.92, etc.) has been the removal of customization options for the user side (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.
- the event handling from signal handlers described by GtkWidget is delegated to event controllers
- the rendering is delegated to GtkSnapshot objects
- the layout mechanism from GtkWidget is delegated to GtkLayoutManager
In January 2018 at 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.[53]
Releases
[edit]Legend: Old version Older version, still maintained Latest version Latest preview version Future release | |||
Release series | Initial release | Major enhancements | Latest minor version |
---|---|---|---|
1.0 | 1998-04-13[54] | First stable version | 1.0. |
1.2 | 1999-02-25[55] | New widgets:
|
1.2.10 |
2.0 | 2002-03-11[56] | GObject
Overall support for UTF-8 |
2.0.9 |
2.2 | 2002-12-22[57] | Multihead support | 2.2.4 |
2.4 | 2004-03-16[58] | New widgets:
|
2.4.14 |
2.6 | 2004-12-16[59] | New widgets:
The last to support Windows 98/Me |
2.6.10 |
2.8 | 2005-08-13[60] | Most widgets are rendered by Cairo | 2.8.20 |
2.10 | 2006-07-03[61] | New widgets:
Print support: GtkPrintOperation |
2.10.14 |
2.12 | 2007-09-14[62] | GtkBuilder | 2.12.12 |
2.14 | 2008-09-04[63] | JPEG 2000 load support | 2.14.7 |
2.16 | 2009-03-13[64] | New widget: GtkOrientable
Caps Lock warning in password entry Improvements on GtkScale, GtkStatusIcon, GtkFileChooser |
2.16.6 |
2.18 | 2009-09-23[65] | 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[66] | New widgets:
Improvement on file chooser, keyboard handling, GDK Introspection data is now included in GTK |
2.20.1 |
2.22 | 2010-09-23[67] | 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[68] | 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)[69] |
3.0 | 2011-02-10[70] | Development and design of the GTK 3 release of the toolkit started in February 2009 during the GTK Theming Hackfest held in Dublin[71]
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[74] | New widgets:
New Font Chooser dialog New experimental backends: |
3.2.4 |
3.4 | 2012-03-26[75] | 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[76] | 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[77] | 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[78] |
3.8.9 |
3.10 | 2013-09-23[79] | 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[80] | Client-side decorations[81]
Support for Wayland 1.5 New widget: GtkPopover (an alternative to menus and dialogs) |
3.12.2 |
3.14 | 2014-09-22[82] | GtkInspector (a copy of gtkparasite) introduced[83][84]
Improved support for gestures/multi-touch merged[85][86] Deprecated:[87]
Most widgets converted to use gestures internally Wayland supports GNOME Shell classic mode[88] |
3.14.15 |
3.16 | 2015-03-22[89] | GDK supports rendering windows using OpenGL for X11 and Wayland using libepoxy
New widgets:
|
3.16.7 |
3.18 | 2015-09-23[92] | 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[93] | Further Integration of CSS nodes[94]
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[95] | Last 3.x release[27]
Wayland tablet support is merged,[96] support for graphics tablets is considered feature complete[97] GTK 3.22 shall be as rock-stable (and hence "boring") as GTK 2[34][98][99] |
for 3+ years 3.22.29 |
3.24 | 2018-09-03[100] | 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[101] | 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[103][104] | As GNOME 3.26 was released already on September 13, 2017,[105] 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[106] | 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[107] | 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.[108]
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[107] |
|
3.98.5 |
3.99.0 | 2020-07-31[110] |
|
3.99.4 |
4.0 | 2020-12-16[112] | 4.0.2 | |
4.2 | 2021-03-30[113] | ||
4.4 | 2021-08-23[114] | ||
4.6 | 2021-12-30[115] | ||
4.8 | 2022-09-06[116] | ||
4.10 | 2023-03-04[117] | GtkFileChooser deprecated (use GtkFileDialog)[118] |
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.
- ^ "Using GTK+ with Broadway". GNOME Developer. GNOME. Archived from the original on June 14, 2021. Retrieved March 6, 2018.
- ^ "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.
- ^ "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.
- ^ "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.
- ^ The GTK+ Team. "GTK+ Language Bindings". www.gtk.org. Archived from the original on May 25, 2019. Retrieved June 3, 2017.
- ^ a b "Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono: mono/gtk-sharp". November 16, 2019. Archived from the original on March 11, 2016. Retrieved September 1, 2016 – via GitHub.
- ^ "Download Gtk#". The GTK+ Project. Archived from the original on December 14, 2013. Retrieved December 23, 2014.
- ^ "'Bansheegeddon' may see Banshee, Mono dropped from Ubuntu default". ITWorld. Archived from the original on July 10, 2015. Retrieved August 31, 2015.
- ^ "GNOME Quick SWOT Analysis". The GNOME Project. Archived from the original on March 18, 2014. Retrieved March 18, 2014.
- ^ "GTK+ and GNOME Mailing Lists". The GNOME Project. Archived from the original on December 26, 2018. Retrieved December 4, 2011.
- ^ "About". GNOME Users And Developers European Conference (GUADEC). Archived from the original on October 4, 2011. Retrieved December 3, 2011.
- ^ "GNOME Languages". Ohloh. Black Duck Software. Archived from the original on May 22, 2014. Retrieved May 22, 2014.
- ^ 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.
- ^ 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.
- ^ "GTK+ TTY Port". Slashdot. August 26, 2003. Archived from the original on April 22, 2024. Retrieved August 31, 2010.
- ^ "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.
- ^ "Projects/GTK/OSX - GNOME Wiki!". wiki.gnome.org. Archived from the original on November 27, 2019. Retrieved November 22, 2019.
- ^ "GTK Download: Mac OS X". The GTK Team. Archived from the original on April 11, 2020. Retrieved April 11, 2020.
- ^ "GTK Download: Windows". The GTK Team. Archived from the original on April 14, 2020. Retrieved April 11, 2020.
- ^ "GTK+ for Windows Runtime Environment". SourceForge. September 15, 2017. Archived from the original on April 6, 2018. Retrieved April 5, 2018.
- ^ "GTK+". www.tarnyko.net. Archived from the original on April 8, 2018. Retrieved April 5, 2018.
- ^ "GTK+ for Windows Runtime Environment Installer (fork from http://gtk-win.sourceforge.net): tschoonj/GTK-for-Windows-Runtime-Environment-Installer". November 19, 2020. Archived from the original on June 11, 2018. Retrieved April 5, 2018 – via GitHub.
- ^ "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