Download Gtk Runtime

Active7 months ago

Trying to setup GTK+ 3.0 on Codeblocks Win7. Having some trouble finding exactly how to do this.

The Microsoft Download Manager solves these potential problems. It gives you the ability to download multiple files at one time and download large files quickly and reliably. It also allows you to suspend active downloads and resume downloads that have failed. Microsoft Download Manager is free and available for download now.

The GTK website directs you to msys2. It seems there was once a direct download on the GTK site for an all-in-one Windows bundle that is no longer there.

Having followed the instructions, installed and updated msys2, I see no reference to GTK+, in the installed files or on the mysys website that GTK directs you to.

Its seems very linuxy in terms of being unnecessarily and stupidly unclear to do something that should be simple. Maybe im missing something but should it not be as simple as downloading a zipped folder, extracting and setting up paths?

At this rate id be faster learning C++ and going with Qt.

The question is in the title, I am amazed I am having to ask the question, it seems like one that google should have completely covered but everything I am finding is relating to a download that is no longer available on the GTK website. I can find no info regarding msys2 and GTK+ 3.0.

Thanks in advance.

NOP da CALLNOP da CALL
4781 gold badge4 silver badges14 bronze badges

5 Answers

Welcome, Google users from the future! Since I wrote this answer, the GTK+ website now has official installation instructions that cover what I said below but with more details and less pain. Refer to that page instead. The answer below has been kept for historical reasons.

The problem with the GTK+ website is that there is no one to maintain these binary distributions. The previous binary distribution for Windows was for GTK+ 3.6, which was released I believe way back in 2012, if not earlier. The current version is 3.16, and 3.18 is literally days away from being released. MSYS2 is the only supported installation mechanism, and it's updated frequently enough.

That being said, you need to install GTK+ separately if you use the MSYS route; MSYS doesn't come with GTK+ out of the box. Start with

That should give you a list of possible packages to install, including the GTK+ libraries for both 32-bit and 64-bit MinGW. I forget their exact names now.

Once you find the one you want, use

to install it. Then, open the MinGW 32-bit or 64-bit Shell from the Start menu's MSYS folder to begin developing.

If you want a traditional IDE for GTK+ programming, look up GNOME Builder or Anjuta. For a graphical GUI designer, look up Glade.

andlabsandlabs
8,8681 gold badge15 silver badges41 bronze badges

Hallelujah, I have found the sane non linux version of getting GTK for windows.

Someone was kind enough to upload to dropbox the GTK files, just download and extract. Here is the link for anyone else who bumps into this GTK/msys2 disaster.

These files really ought to be available on the GTK Windows download page, it beggars belief.

Close this thread, viva windows.

NOP da CALLNOP da CALL
4781 gold badge4 silver badges14 bronze badges
Download Gtk Runtime

I agree GNOME community is being a bit insolent to this point.They made GTK+ installation almost the same as the Linux installation, which is a bit like giving you pepsi in mcdonalds.

The worst is that it is forcing you to use their own crap to the extent that they even tell you what IDE to choose, how you will build your app, what will have in your app.. (Nothing personal, I will actually always prefer Linux, I'm just being unbiased)

Now to be specific, you explicitly mentioned Codeblocks.Do not use code::block's GTK+ Project, it is awfully outdated.You can, of course modify the script or create your own, but it is still goingto slow you down and we, programmers value our time (I think)

The procedure of installing (to this day) GTK3 ver. 3.22.16 on windows 7 for use with Code::Blocks turns out to be pretty simple.First download MSYS2 and type within the msys2 shell:

pacman -S mingw-w64-x86_64-gtk3

(Enter y to confirm)Then

pacman -S mingw-w64-x86_64-toolchain base-devel(to make sure you'll have precompiled binaries of pkg-config and to make sure you will have the latest version of gcc)

Then you have some work in CodeBlocks, firstset the new compiler, from the Codeblocks's compiler settings -> Toolchain executables. The new compiler should be located in C:msys64mingw64(C or the disk you installed MSYS in)

Then link some libraries in Codeblocks's compiler settings -> Search directories:These libraries will be enough to run this simple sample code:

and have a result like this:

EdeniaEdenia
1,2751 gold badge7 silver badges26 bronze badges

Days ago i send a email to one of the maintainer of gtk for help with vs 2017, and here is the letter. After this , i chose to use gtk 2.0 on windows

This is mine

I installed the msys2, and I noticed that , there are many head fille under this folder .msys64mingw64include So , I’m wondering if I can directly include those file under msys64 to vs 2017. And let vs 2017 to use lib under the folder.like this......

and this is from him

First off, I do not recommend using the msys builds, unless you are sure that-You do not attempt to use FILE structures in your code with the ones used by GLib, etc.-The glibconfig.h that you are using matches the glibcocnfig.h.win32 in the source tarball of the version of GLib you are using, because everything that is built against GLib will be affected by it.

If you still decide to go down this route, you need to specify the libraries when you link. See Linker->Input->Additional Dependencies, you will need at least the following .lib files, separated by semicolons:

gtk-3.0.lib (or gtk-3.lib)

gdk-3.0.lib (or gdk-3.lib)

gdk_pixbuf-2.0.lib

pangocairo-1.0.lib

pango-1.0.lib

atk-1.0.lib

gio-2.0.lib

gobject-2.0.lib

gmodule-2.0.lib

glib-2.0.lib

cairo-gobject.lib

cairo.lib

intl.lib

and possibly fontconfig.lib and freetype.lib, as probably the msys64 builds include support for them.

You will also need to link to any other libraries that you may use for your assignment. Prepend these libraries with a trailing ; before %(AdditionalDependencies) (don't remove %(AdditionalDependencies))

With blessings, and cheers!

Well...i've spend several days to port my program to windows, after struggle with gtk 3.x, i found that you may use gtk 2.x to avoid all those trouble. These are some old file called All-in-one bundlealthough it is important to know that , there is some security issue with it,(plus you need to rewrite it to gtk 2.0)but if you are mainly using linux ,and just wanna it to run on windows , i'll suggest you to use old All-in-one bundle for gtk 2.xfor example

Z-Y00Z-Y00

If you're looking for projects who, apart from Msys2, provide up-to-date, MSVC-compatible GTK3 stuff, you should check-out gvsbuild and Microsoft's vcpkg.Under the hood, the former uses python and the later uses cmake.

sgetosgeto

Not the answer you're looking for? Browse other questions tagged cwindowsgtkcodeblocksgtk3 or ask your own question.

(Redirected from GTK+)
GTK
The gtk3-widget-factory is a collection of examples demonstrating many of the GUI widgets in GTK version 3
Original author(s)Spencer Kimball, Peter Mattis
Developer(s)The GNOME Project, eXperimental Computing Facility (XCF)
Initial releaseApril 14, 1998; 21 years ago
Stable release
Preview release
3.96.0 / May 7, 2019; 4 months ago[2]
Repository
Written inC, CSS[3]
Operating systemLinux, Unix-like, macOS, Windows
TypeWidget toolkit
LicenseLGPLv2.1+
Websitegtk.org

Gtk Runtime Download

GTK (formerly GTK+[4], GIMP Toolkit) is a free and open-sourcecross-platformwidget toolkit for creating graphical user interfaces (GUIs).[5] It is licensed under the terms of the GNU Lesser General Public License, allowing both free and proprietary software to use it. Along with Qt, it is one of the most popular toolkits for the Wayland and X11windowing systems.[6]

  • 1Software architecture
    • 1.4GUI designers
    • 1.5Language bindings
  • 2Development
  • 4Use
    • 4.2Desktop environments
  • 6History

Software architecture[edit]

Simplified software architecture of GTK. Pango, GDK, ATK, GIO, Cairo and GLib
GDK contains back-ends to X11, Wayland, Broadway (HTTP), Quartz, and GDI and relies on Cairo for the rendering. Its new SceneGraph is work-in-progress.

The GTK library contains a set of graphical control elements (widgets), version 3.22.16 contains 186 active and 36 deprecated widgets.[7] GTK is an object-orientedwidget 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[8][9].

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.[10] Since GTK version 3.0, all the rendering is done using Cairo.[citation needed]

On 2018-Jan-26 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.[11] In February it was announced that GTK 4 will drop the “+” from the project's name.[4]

GIMP Drawing Kit (GDK)[edit]

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.

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.

GSK is found in the /gsk directory.

GtkInspector[edit]

Download Gtk Runtime

GtkInspector was introduced with version 3.14.[12][13]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 are 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[14]
  • Crow Designer, relies on its own GuiXml format and GuiLoader library.[15]
  • Stetic, part of MonoDevelop, oriented toward Gtk#.

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]

A library written in one programming language may be used in another language if bindings are written; GTK has a range of bindings for various languages.[16]

Gtk#[edit]

Gtk#
Developer(s)Xamarin
Initial releaseMarch 12, 2004; 15 years ago
Stable release
2.12.41[17] / September 22, 2016; 2 years ago
Preview release
Repository
Written inC#, XML, Perl, C
Operating systemWindows, macOS, Linux
TypeWidget toolkit
LicenseGNU Lesser General Public License
Websitemono-project.com/GtkSharp

Gtk# is a set of .NET Framework bindings for the GTK graphical user interface (GUI) toolkit and assorted GNOMElibraries. 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.

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.[19]

Glade Interface Designer can be used with the Glade# bindings to easily design GUI applications. A GUI designer named Stetic is integrated with the MonoDevelopintegrated 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.

GtkSourceView[edit]

For syntax highlighting there is GtkSourceView, 'source code editing widget'.

GtkSourceView is maintained separately from GTK as a library: gtksourceview. There are plans to rename to gsv.

GtkSpell[edit]

GtkSpell is a distinct library separate to 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.

Development[edit]

GTK is mainly developed by The GNOME Project, which also develops the GNOME Development Platform and the GNOME Desktop Environment.[20]

GTK development is loosely managed. Discussion chiefly occurs on several public mailing lists.[21] GNOME developers and users gather at an annual GNOME Users And Developers European ConferenceGUADEC meeting to discuss GNOME's current state and future direction.[22] GNOME incorporates standards and programs from freedesktop.org to better interoperate with other desktops.

GTK is mainly written in C.[23] Many language bindingsare available.

On September 1, 2016 a post on the GTK development blog denoted, among other things, the future numbering scheme of GTK.[24] GTK version 3.22 from autumn 2016 shall be the last 3.x release. After that all resources will move to the GTK 4 development series with the version names 3.90, 3.92, etc. Even as the 4.x series enters development, notable applications still use GTK 2.x and have not been ported to 3.22. Regarding the future of legacy software using GTK+, there is no collective project to port GTK 2.x software to 3.22.

Build automation[edit]

In former times GTK (and GNOME, GLib, etc.) utilized the GNU Build System (named Autotools) as the build automation system of choice.

Since 14 Aug 2017, the master branch of GTK builds with Meson, and the Autotools build system files have been dropped.[25]

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)[26] and theming.[27]

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.[28] 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.[29]
  • Hong Jen Yee, developer of LXDE (the GTK version of which will be dropped and all efforts focused on the Qt port[30]), 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.[31]
  • The Audacious music player moved to Qt in version 3.6.[32] 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.'[33]
  • Wireshark has switched to Qt due to not having a good experience with GTK's cross-platform support.[34]

Use[edit]

The GTK support for Wayland, co-requisites applications to be adapted to Wayland also
Screenshot of GIMP 2.8 - GTK is responsible for managing the interface components of the program, including the menus, buttons, and input fields.

Applications[edit]

Some notable applications that use or once used GTK as a widget toolkit include:

  • GNOME Core Applications – as part of GNOME desktop environment, developed in concert with GTK itself.
  • AbiWord – Word processor
  • Anjuta – Integrated development environment (IDE)
  • Ardour – Digital audio workstation
  • Chromium – Web browser (Until version 34, replaced by Aurora in version 35+)[citation needed]
  • Ekiga (formerly GnomeMeeting) – VoIP and video conferencing application
  • GNU Emacs can use GTK when running on X.
  • Evolution – Personal information manager
  • gconfig – Linux kernel source configuration utility.
  • Geany – a lightweight cross-platform IDE and GTK text editor based on Scintilla.
  • GIMP – Raster graphics editor
  • Gnumeric – Spreadsheet application
  • Gramps – Genealogy software
  • Inkscape – Vector graphics editor for SVG
  • LiVES – Video editor
  • Midori – Minimalisticweb browser using GTKWebKit as rendering engine and GTK as widget toolkit
  • Pidgin – Instant messenger application

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 and uses GTK version 3
  • MATE, a fork of GNOME 2, which was initially built using GTK 2, but as of version 1.18, has been updated to use only GTK 3.
  • Xfce, currently based on GTK 3, after migration from GTK 2. xfce4-14
  • Pantheon uses GTK 3 exclusively, being developed by elementary OS
  • Sugar, a desktop environment for youth primary education, which uses GTK, especially PyGTK
  • KDE, though based on Qt, has integration with GTK written programs and themes since version 4.2
  • Phosh, a mobile UI designed for PureOS

Inactive[edit]

  • Unity, the former default desktop environment of Ubuntu
  • LXDE (Lightweight X11 Desktop Environment) is based on GTK 2
  • Access Linux Platform (successor of the Palm OSPDA platform)
  • Consort, the GNOME 3.4 Fallback Mode – fork from SolusOS
  • 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.[35] Other ports include DirectFB (used by the Debian installer, for example) and ncurses.[36]

Window managers[edit]

The following window managers use GTK:

  • Aewm
  • Amaterus
  • Consortium
  • Muffin
  • Wmg

Example[edit]

Gtk Install Windows

Documentation is available here:

The following code presents a graphical GTK hello-world program in the C programming language. This program has a window with the title 'Hello, world!' and a label with similar text.

Needs installing the libraries first in debian or derivatives:

$ sudo apt-get install libgtk-3-dev

Using pkg-config in a Unix shell, this code can be compiled with the following command:

$ cc -Wall `pkg-config --cflags gtk+-3.0` -o helloworld helloworld.c `pkg-config --libs gtk+-3.0`

Gtk+ + Runtime Free Download

Invoke the program

$ ./helloworld

History[edit]

Linux/Unix[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.[37] Finally GTK was re-written to be object-oriented and was renamed GTK+.[38] 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[39]

macOS[edit]

With Quartz-Backend[40] GTK is available in macOS.[41]

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.[42]
  • GTK 2.24.10 and 3.6.4 is available in Internet, but very buggy and limited against actual versions.[43][44]
  • A Version for Windows 64-bit is prepared by Tom Schoonjans with 2.24.32 (actual like Linux) and 3.22.30 (actual like Linux) available.[45]
  • Windows 10's Fall Creators Update includes Windows Subsystem for Linux (WSL). With Linux distributions like Ubuntu or Debian available from the Windows 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[46], however this never materialised. The latest version of GTK for OpenVMS is version 1.2.10.[47]

4.x[edit]

One of the cardinal novelties implemented during the GTK 4 development cycle (i.e. GTK 3.92, etc.) has been 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 2018-Jan-26 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 (https://mclasen.fedorapeople.org/gtk4-devconf2018.pdf).

Releases[edit]

Release history
Release seriesInitial releaseMajor enhancementsLatest minor version
Old version, no longer supported: 1.01998-04-13[48]First stable version1.0.6
Old version, no longer supported: 1.21999-02-25[49]New widgets (GtkFontSelector, GtkPacker, GtkItemFactory, GtkCTree, GtkInvisible, GtkCalendar, GtkLayout, GtkPlug, GtkSocket)1.2.10
Old version
Latest version
Future release
GTK+ 2
Old version, no longer supported: 2.02002-03-11[50]GObject, overall support for UTF-82.0.9
Old version, no longer supported: 2.22002-12-22[51]Multihead support2.2.4
Old version, no longer supported: 2.42004-03-16[52]New widgets (GtkFileChooser, GtkComboBox, GtkComboBoxEntry, GtkExpander, GtkFontButton, GtkColorButton)2.4.14
Old version, no longer supported: 2.62004-12-16[53]New widgets (GtkIconView, GtkAboutDialog, GtkCellView).
The last to support Windows 98/Me
2.6.10
Old version, no longer supported: 2.82005-08-13[54]Most widgets are rendered by Cairo.2.8.20
Old version, no longer supported: 2.102006-07-03[55]New widgets (GtkStatusIcon, GtkAssistant, GtkLinkButton,
GtkRecentChooser) and print support (GtkPrintOperation)
2.10.14
Old version, no longer supported: 2.122007-09-14[56]GtkBuilder2.12.12
Old version, no longer supported: 2.142008-09-04[57]JPEG 2000 load support2.14.7
Old version, no longer supported: 2.162009-03-13[58]New widget (GtkOrientable), Caps Lock warning in password entry.
Improvements on GtkScale, GtkStatusIcon, GtkFileChooser.
2.16.6
Old version, no longer supported: 2.182009-09-23[59]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
Old version, no longer supported: 2.202010-03-23[60]New widgets (GtkSpinner, GtkToolPalette, GtkOffscreenWindow). Improvement on file chooser,
keyboard handling, GDK. Introspection data is now included in GTK.
2.20.1
Old version, no longer supported: 2.222010-09-23[61]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
Older version, yet still supported: 2.242011-01-30[62]New widget (GtkComboBoxText), 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.32
(2018-01-08)
Old version
Latest version
Future release
GTK+ 3
Old version, no longer supported: 3.02011-02-10[63]Development and design of the GTK 3 release of the toolkit started in February 2009 during the GTK Theming Hackfest held in Dublin.[64] The first draft of the development roadmap was released on 9 April 2009.[65]
completed mostly Project Ridley, the attempt to consolidate several libraries that were external to GTK+, including libgnome, libgnomeui, libgnomeprint22, libgnomeprintui22, libglade, libgnomecanvas, libegg, libeel, gtkglext, and libsexy.[66]
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
Old version, no longer supported: 3.22011-09-25[67]New widgets (GtkLockButton, GtkOverlay), New Font Chooser dialog;
new experimental backends (Wayland, HTML5 (named 'Broadway'));
3.2.4
Old version, no longer supported: 3.42012-03-26[68]Menu support in GtkApplication, a new color chooser, added support for touch devices, added support for smooth scrolling,
GtkScrolledWindow will do kinetic scrolling with touch devices, macOS support is improved.
This is the first version of GTK 3 that works well on Windows.
The Wayland backend is updated to the current Wayland version
Spin buttons have received a new look.
Accessibility: the treeview accessible support is rewritten
More complete CSS Theming support
3.4.4
Old version, no longer supported: 3.62012-09-24[69]GtkSearchEntry, GtkMenuButton, GtkLevelBar. Vertical spin buttons.
CSS animations, blur shadows.
Support for cross-fading and transitions in themes.
3.6.5
Old version, no longer supported: 3.82013-03-25[70]Wayland 1.0 stable support, support for the broadwayd server, improved theming, better geometry management,
touch improvements, support with the window manager for the frame synchronization protocol;
GdkFrameClock added[71]
3.8.9
Old version, no longer supported: 3.102013-09-23[72]New widgets (GtkHeaderBar, GtkPlacesSidebar, GtkStack, GtkStackSwitcher, GtkRevealer, GtkSearchBar, GtkListBox).
Support for Wayland 1.2 (maximization, animated cursors, multiple monitors, settings, custom surfaces and 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
3.10.9
Old version, no longer supported: 3.122014-03-25[73]GTK 3.12 introduced client-side decorations,[74] support for Wayland 1.5; new widgets: (GtkPopover, an alternative to menus and dialogs)3.12.2
Old version, no longer supported: 3.142014-09-22[75]GtkInspector (a copy of gtkparasite) introduced;[76][77] improved support for gestures/multi-touch merged[78][79]
Deprecate: GtkMisc, GtkAlignment, GtkArrow, GdkColor, Style regions, support for .icon files, gdk_window_flush, drawing outside of begin/end paint.[80] Most widgets converted to use gestures internally, Wayland supports GNOME Shell classic modus.[81]
3.14.15
Old version, no longer supported: 3.162015-03-22[82]GDK supports rendering windows using OpenGL for X11 and Wayland using libepoxy, new widgets (GtkGLArea, GtkStackSidebar, GtkModelButton, GtkPopoverMenu), scrolling overhauled (Scrollbar hidden by default[83]), experimental Mir backend[84]3.16.7
Old version, no longer supported: 3.182015-09-23[85]Add CSS node infrastructure, More filechooser design refresh and Better filechooser search, Dropped Windows XP support, Model support for list and flow box, Kinetic touchpad scrolling, Touchpad gestures (Wayland), gtk-builder-tool utility, Output-only windows3.18.9
Old version, no longer supported: 3.202016-03-21[86]Further Integration of CSS nodes,[87] move drag and drop down to GDK, New widgets: GtkShortcutsWindow: shows keyboard shortcuts and gestures of an application3.20.10
Older version, yet still supported:3.222016-09-21[88]last 3.x released[24]
GTK+ Wayland tablet support is merged;[89] Support for graphics tablets is considered feature complete[90]
GTK 3.22 shall be as rock-stable (and hence 'boring') as GTK 2[28][91][92]
for 3+ years
3.22.29
Current stable version: 3.242018-09-03[93]3.22 was supposed to be the very last version of GTK 3 series. 3.24 was mainly released to ease migrating from GTK+ 3.x to GTK+ 4!
Dependency bumps: Require libepoxy 1.4, and 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 and stepper sensitivity in GtkRange
3.23.0
3.23.1
3.23.2
3.23.3
3.24.0
…3.24.5
Old version
Latest version
Future release
GTK 4 development series
Old version, no longer supported: 3.902017-03-31[94]merge (GTK+ Scene Graph Kit (GSK))[95]
remove any API marked as deprecated: before (2016-09-22) vs. after
heavy development, break API&ABI.[91][92] A new Vulkan-renderer augments the old Cairo-renderer[96]
3.89.1

3.89.2
3.89.4
3.89.5
3.90

Old version, no longer supported: 3.922017-10-18[97][98]As GNOME 3.26 was released already on September, 13th. [99] it is not based on GTK 3.92! Please browse the git-history to determine what hindered GTK to release early enough for the latest GNOME to be based on it: https://git.gnome.org/browse/gtk+/
GNU autotools was replaced with Meson;
3.91.0

3.91.1
3.91.2
3.92.1

Old version, no longer supported: 3.942018-06-26[100]3.93: GdkScreen, GdkVisual removed, GdkDeviceManager replaced by GdkSeat, Clipboard handling is moved from GTK to GDK, GdkEvent is converted to an opaque GObject, The GL renderer in GSK is substantially completed, and is now on par with the Vulkan renderer, The use of GdkPixbuf in APIs is reduced, and the GskTexture object is moved to GDK as GdkTexture, to take its place, The Wayland backend now implements the KDE server-side decoration protocol, Broadway is ported to GSK, …
GdkWindow is renamed to GdkSurface
new powerful abstraction for drawable content: GdkPaintable
There is support for displaying media, with: GtkVideo, GtkMediaFile, GtkMediaStream and GtkMediaControls
3.93
3.94.0
Latest preview version of a future release: 3.962019-05-07[2]The gtk4-builder-tool 'simplify' command has gained a --3to4 option to convert GTK3 ui files to GTK4.

GtkWidget can now use a GtkLayoutManager for size allocation. Layout managers can optionally use layout children holding layout properties. GtkBinLayout, GtkBoxLayout, GtkGridLayout, GtkFixedLayout and GtkCustomLayout are currently available, more layout manager implementations will appear in the future.
Focus handling has been rewritten, and focus-change event generation has been unified with crossing events.
Events have been simplified and are just used for input

  • expose events have been replaced by a GdkSurface::render signal
  • configure events have been replaced by a GdkSurface::size-changed signal
  • map events have been replaced by a GdkSurface::mapped property
  • gdk_event_handler_set has been replaced by a GdkSurface::event signal
  • key events no longer contain a string
  • events on unmapped widgets are ignored
Future release: 4.02019 autumn[101]remove any API marked as deprecated, i.e. at least everything in the deprecated directory
Old version
Latest version
Future release

The GNOME team releases new versions on a regular basis.[95]

See also[edit]

  • 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
  • gtkmm – C++ bindings for GTK
  • Qt - cross platform framework and toolkit
  • Xojo - cross-platform development tool and framework
  • 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
  • Visual Component Library (VCL)

References[edit]

  1. ^published 'tarball' at the GNOME download site url = http://ftp.gnome.org/pub/gnome/sources/gtk+/3.24/
  2. ^ abClasen, Mathias (7 May 2019). 'gtk 3.96'. GNOME Mail Services (Mailing list). Retrieved 28 May 2019.
  3. ^The GTK+ Open Source Project on Open Hub: Languages Page
  4. ^ abBassi, Emmanuele (2019-02-06). 'Project rename to 'GTK''. mail.gnome.org. GNOME mailinglist. Retrieved 2019-02-07.
  5. ^The GTK+ Team. 'GTK+ Features'. Retrieved 8 September 2014.
  6. ^'Developing X applications'.
  7. ^'GTK+ 3 Reference Manual'. Retrieved 2017-07-15.
  8. ^'Using GTK+ with Broadway'. GNOME Developer. GNOME. Retrieved 6 March 2018.
  9. ^'Broadway - GitHub symbiose/symbiose Wiki'. GitHub. Retrieved 6 March 2018.
  10. ^'GTK+ to Use Cairo Vector Engine'. Retrieved 2009-12-27.
  11. ^'Matthias Clasen DevConf.cz 2018 talk about GTK+ 4'(PDF). 2018-01-26.
  12. ^'Introducing GtkInspector'. 2014-05-15.
  13. ^'Another GtkInspector update'. 2014-07-11.
  14. ^'Gazpacho in Debian'.
  15. ^'Nothing-personal - A development site for Crow Designer, GuiLoader and Rally - Google Project Hosting'. Retrieved 2014-02-17.
  16. ^The GTK+ Team. 'GTK+ Language Bindings'. www.gtk.org. Retrieved 3 June 2017.
  17. ^'Release 2.12.41'.
  18. ^'Release 2.99.3'.
  19. ^'Download Gtk#'. The GTK+ Project.
  20. ^'GNOME Quick SWOT Analysis'. The GNOME Project. Retrieved March 18, 2014.
  21. ^'GTK+ and GNOME Mailing Lists'. The GNOME Project. Retrieved December 4, 2011.
  22. ^'About'. GNOME Users And Developers European Conference (GUADEC). Archived from the original on October 4, 2011. Retrieved December 3, 2011.Cite uses deprecated parameter dead-url= (help)
  23. ^'GNOME Languages'. Ohloh. Black Duck Software. Retrieved May 22, 2014.
  24. ^ ab'Versioning and long term stability promise in GTK'. GTK development blog. 2016-09-01.
  25. ^'Build system change GTK's master branch'. mail.gnome.org.
  26. ^'How Does One Create A Gtk+ Application? – Morten Welinder'. blogs.gnome.org. Retrieved 3 June 2017.
  27. ^mclasen (November 20, 2015). 'A GTK+ update'. Goings on.
  28. ^ ab'GUADEC2013: Benjamin Otte talks about GTK+'. GUADEC.
  29. ^Larabel, Michael (2014-01-12). 'The Biggest Problem With GTK & What Qt Does Good'. Phoronix. Retrieved 2014-09-10.
  30. ^''The future of Razor and LXDE-Qt''. LXDE Blog. 22 July 2013.
  31. ^Hong Jen Yee (2013-03-26). 'PCManFM Qt 0.1.0 released'. Retrieved 2014-09-10.
  32. ^http://audacious-media-player.org/news/32-audacious-3-6-released
  33. ^Lindgren, John (2014-05-06). 'Ugly window decorations and how to fix them (GTK 3.12)'. Retrieved 2014-10-21.
  34. ^Gerald Combs (2013-10-15). 'We're switching to Qt'. Retrieved 2015-08-19.
  35. ^'GTK+'. WxWidgets Compared To Other Toolkits.
  36. ^'GTK+ TTY Port'. Slashdot. Retrieved 2010-08-31.
  37. ^'LinuxWorld - Where did Spencer Kimball and Peter Mattis go?'. Archived from the original on April 17, 1999. Retrieved 2013-08-19.Cite uses deprecated parameter dead-url= (help)CS1 maint: BOT: original-url status unknown (link)
  38. ^'What is the + in GTK+?'. 2011. Archived from the original on 2012-03-26. Retrieved 2014-03-18.
  39. ^https://gitlab.gnome.org/GNOME/gtk/commit/d080be3e5091c98d5171063a95d55c01170881f3
  40. ^https://wiki.gnome.org/Projects/GTK+/OSX
  41. ^https://www.gtk.org/download/macos.php
  42. ^https://www.gtk.org/download/windows.php
  43. ^https://sourceforge.net/projects/gtk-win/
  44. ^http://www.tarnyko.net/dl/gtk.htm
  45. ^https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer
  46. ^http://h41379.www4.hpe.com/openvms/products/ips/gtk.html
  47. ^http://h41379.www4.hpe.com/openvms/products/ips/gtk_down.html
  48. ^Amundson, Shawn T. (13 April 1998). 'ANNOUNCE: GTK+ 1.0.0 Released!'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  49. ^Amundson, Shawn T. (25 February 1999). 'ANNOUNCE: GTK+ and GLib 1.2.0 Released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  50. ^Taylor, Owen (11 March 2002). 'GTK+-2.0.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  51. ^Taylor, Owen (22 December 2002). 'GTK+-2.2.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  52. ^Taylor, Owen (16 March 2004). 'GTK+-2.4.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  53. ^Clasen, Mathias (16 December 2004). 'GTK+-2.6.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  54. ^Clasen, Mathias (13 August 2005). 'GTK+ 2.8.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  55. ^Clasen, Mathias (3 July 2006). 'GTK+ 2.10 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  56. ^Clasen, Mathias (14 September 2007). 'GTK+ 2.12 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  57. ^Clasen, Mathias (4 September 2008). 'GTK+ 2.14.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  58. ^Clasen, Mathias (13 March 2009). 'GTK+ 2.16.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  59. ^Clasen, Mathias (23 September 2009). 'GTK+ 2.18.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  60. ^Clasen, Mathias (23 March 2010). 'GTK+ 2.20.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  61. ^Clasen, Mathias (23 September 2010). 'GTK+ 2.22.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  62. ^Clasen, Mathias (20 January 2011). 'GTK+ 2.24.0'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  63. ^Clasen, Mathias (10 February 2011). 'GTK+ 3.0.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  64. ^'Gtk+ 3.0 Theming API Hackfest'. Silicon Island. Retrieved 3 June 2017.
  65. ^'Gtk+ 3 roadmap draft'. Retrieved 3 June 2017.
  66. ^'Project Ridley'.
  67. ^Clasen, Mathias (25 September 2011). 'GTK+ 3.2.0'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  68. ^Clasen, Mathias (26 March 2012). 'GTK+ 3.4.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  69. ^Clasen, Mathias (24 September 2012). 'GTK+ 3.6.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  70. ^Clasen, Mathias (25 March 2013). 'GTK+ 3.8.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  71. ^'GdkFrameClock'.
  72. ^Clasen, Mathias (23 September 2013). 'GTK+ 3.10.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  73. ^Clasen, Mathias (25 March 2014). 'GTK+ 3.12 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  74. ^'GTK 3.12 introduced client-side decorations'.
  75. ^Clasen, Mathias (22 September 2014). 'GTK+ 3.14.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  76. ^Matthias Clasen (2014-05-15). 'GtkInspector Author's blog entry'. Retrieved 2014-05-17.
  77. ^'GtkInspector in GNOME wiki'. 2014-05-15. Retrieved 2014-05-17.
  78. ^'Merging gestures into 3.14'. 2014-05-23. Retrieved 2014-05-23.
  79. ^'RFC: gestures'. 2014-03-04. Retrieved 2014-05-23.
  80. ^'gtk+ 3.13.2'. 2014-05-27.
  81. ^'gtk+ 3.13.3'. 2014-06-24.
  82. ^Clasen, Mathias (22 March 2015). 'GTK+ 3.16.0 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  83. ^online, heise. 'Linux-Desktop: Neues Gnome zeigt Nachrichten oben'. heise online. Retrieved 3 June 2017.
  84. ^'GTK+ 3.16.0 released'. mail.gnome.org. Retrieved 3 June 2017.
  85. ^Nestor, Marius (Sep 24, 2015). 'GTK+ 3.18.0 Officially Released as Part of the GNOME 3.18 Desktop Environment'. Softpedia. Retrieved 25 May 2019.
  86. ^Clasen, Mathias (21 March 2016). 'GTK+ 3.20'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  87. ^'GTK+ 3.20 – Style Classes and Element Names'. 2015-11-20.
  88. ^Clasen, Mathias (21 September 2016). 'GTK+ 3.22 released'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  89. ^'GTK+ Wayland tablet support merged'.
  90. ^'libinput as of September 2016'.
  91. ^ ab'Gtk 4.0 will not be stable until Gtk 4.6'. 2016-06-13.
  92. ^ ab'Gtk 5.0 will not be stable until Gtk 5.6'. 2016-06-14.
  93. ^Clasen, Mathias (3 September 2018). 'gtk+ 3.24.0'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  94. ^Clasen, Mathias (31 March 2017). 'gtk+ 3.90.0'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  95. ^ ab'GNOME Wiki: roadmap for GTK+'.
  96. ^'gskvulkanrenderer.c'.
  97. ^Clasen, Mathias (18 October 2017). 'gtk+ 3.92.1'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  98. ^Clasen, Mathias (October 23, 2017). 'GTK+ 3.92'. GTK Development Blog. Retrieved 25 May 2019.
  99. ^'GNOME 3.26 Released'. 2017-09-13.
  100. ^Clasen, Mathias (26 Jun 2018). 'gtk+ 3.94.0'. GNOME Mail Services (Mailing list). Retrieved 20 May 2019.
  101. ^Clasen, Matthias (12 July 2018). 'A report from the Guadec GTK+ BoF'. GTK+ Development Blog. Retrieved 21 Feb 2019.

Bibliography[edit]

  • Krause, Andrew (April 23, 2007), Foundations of GTK+ Development (1st ed.), Apress, ISBN978-1-59059-793-4
  • Wright, Peter (May 15, 2000), Beginning GTK+ and GNOME (1st ed.), Peer Information, ISBN978-1-86100-381-2
  • Logan, Syd (September 6, 2001), Gtk+ Programming in C (1st ed.), Prentice Hall, ISBN978-0-13-014264-1

External links[edit]

Wikimedia Commons has media related to GTK.
The Wikibook X Window Programming has a page on the topic of: GTK+
  • Official website
  • GTK+ PyGObject for Windows on SourceForge.net - Python All-In-One PyGI/PyGObject for Windows Installer (GTK 3.18 +)
  • GTK+ for Windows (MinGW) on SourceForge.net - (Only up to GTK 3.5.4)
  • GtkSharp at Mono Project
Retrieved from 'https://en.wikipedia.org/w/index.php?title=GTK&oldid=914040062'