10.2 KB
Newer Older
General Information
2 3

4 5 6 7
This is GTK+ version @GTK_VERSION@. GTK+ is a multi-platform toolkit for
creating graphical user interfaces. Offering a complete set of widgets,
GTK+ is suitable for projects ranging from small one-off projects to
complete application suites.
Owen Taylor's avatar
Owen Taylor committed
8 9 10

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

The official download locations are:
17 18 19 20

The official web site is:

Information about mailing lists can be found at
Matthias Clasen's avatar
Matthias Clasen committed

Matthias Clasen's avatar
Matthias Clasen committed

25 26 27 28

See the file 'INSTALL'
29 30

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
How to report bugs

Bugs should be reported to the GNOME bug tracking system.
(, product glib.) You will need
to create an account for yourself.

In the bug report please include:

* Information about your system. For instance:

   - What operating system and version
   - For Linux, what version of the C library

  And anything else you think is relevant.

* How to reproduce the bug.

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

* If the bug was a crash, the exact text that was printed out
  when the crash occured.

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


Patches should also be submitted to If the
patch fixes an existing bug, add the patch as an attachment
to that bug report.

Otherwise, enter a new bug report that describes the patch,
and attach the patch to that bug report.

72 73 74 75
Patches should be in unified diff form. (The -up option to GNU diff)
Even better are git-formatted patches. (Use git format-patch)

76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
Release notes for 3.14

* A new state, GTK_STATE_FLAG_CHECKED, has been added for checked states
  of radio and check buttons and menuitems. Applications that are using
  GTK+ styles without widgets will need adjustments.

* Adwaita is now the default theme on all platforms.

* The icon theme code has become a little pickier about sizes and is not
  automatically scaling icons beyond the limits defined in the icon theme
  unless explicitly asked to do so with GTK_ICON_LOOKUP_FORCE_SIZE.

* GTK+ now includes an interactive debugger which can be activated with
  the keyboard shortcuts Ctrl-Shift-d or Ctrl-Shift-i. If these shortcuts
  interfere with application keybindings, they can be disabled with the
  setting org.gtk.Settings.Debug.enable-inspector-keybinding.

* Most widgets have been ported to use the new gesture framework internally
  for event handling. Traditional event handlers in derived widgets are still
  being called.

98 99 100 101
* Using GTK+ under X11 without the X Render extension has been observed
  to be problematic. This combination is using code paths in cairo and
  graphics drivers which are rarely tested and likely buggy.

Matthias Clasen's avatar
Matthias Clasen committed
102 103 104 105 106 107 108 109 110
Release notes for 3.12

* GtkWidget had a hack where if opacity is 0.999 we set up an opacity
  group when rendering the widget. This is no longer needed in 3.10,
  and GtkStack doesn't use it anymore. It has been removed in 3.12.
  GdStack is using it, so applications should be ported from GdStack
  to GtkStack in 3.12.

111 112 113 114 115
* GtkHeaderBar in 3.10 was not ordering its pack-end children in
  the right way. This has been fixed in 3.12. Applications which
  pack multiple widgets at the end of a headerbar will have to
  be updated.

116 117 118 119 120
* gtk_text_view_add_child_in_window has changed behaviour a bit.
  It now always positions the child in buffer coordinates, where
  it used to inconsistently scroll with the buffer but then go
  reposition to a window-relative position on redraw.

121 122 123 124 125
* A number of container widgets have been made more compliant with
  the uniform CSS rendering model by making them render backgrounds
  and borders. This may require some adjustments in applications that
  were making assumptions about containers never rendering backgrounds.

126 127 128 129 130 131 132
Release notes for 3.10

* GDK has been changed to allow only a single screen per display.
  Only the X11 backend had multiple screens before, and multi-screen
  setups (not multi-monitor!) are very rare nowadays. If you really
  need multiple X screens, open them as separate displays.

134 135 136 137 138 139
* The behavior of GtkBox::expand has been changed to never propagate
  up. Previously, this was happening inconsistently. If you want the
  expand to propagate, use the GtkWidget h/v expand properties.
  If you experience sizing problems with widgets in ported code,
  carefully check the expand and fill flags of your boxes.

140 141 142 143
* GtkBin no longer provides default implementations for
  get_height_for_width, subclasses now have to provide their own
  implementation if they need height-for-width functionality.

144 145 146 147 148 149
* Widget state propagation has been changed. Historically, all of
  active, prelight, selected, insensitive, inconsistent and backdrop
  have been propagated to children. This has now been restricted
  to just the insensitive and backdrop states. This mostly affects

Alexander Larsson's avatar
Alexander Larsson committed
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
* The way widget drawing happens has changed. Earlier versions handled
  one expose event per GdkWindow, each with a separate cairo_t. Now we
  only handle the expose event on the toplevel and reuse the same
  cairo_t (with the right translation and clipping) for the entire
  widget hierarchy, recursing down via the GtkWidget::draw signal.
  Having all rendering in the same call tree allows effects like
  opacity and offscreen rendering of entire widget sub-hierarchies.
  Generally this should not require any changes in widgets, but
  code looking at e.g. the current expose event may see different
  behavior than before.

* The Gtk+ scrolling implementation has changed. gdk_window_scroll()
  and gdk_window_move_region() no longer copy the region on the
  window, but rather invalidate the entire scrolled region. This is
  slightly slower, but allowed us to implement a offscreen surface
  scrolling method which better fits modern hardware. Most scrolling
  widgets in Gtk+ have been converted to use this model for scrolling,
  but external widgets implementing scrolling using GdkWindow may see
  some slowdown.

Cosimo Cecchi's avatar
Cosimo Cecchi committed
Release notes for 3.8
171 172 173 174 175 176 177

* GtkIconInfo has changed from being a boxed type to a GObject. This
  is technically an ABI change, but basically all existing code
  will keep working if its used as a boxed type, and its not
  possible to instantiate GtkIconInfos outside Gtk, so this is not
  expected to be a big problem.

179 180 181
Release notes for 3.6

182 183 184 185 186 187 188 189 190 191 192
* The accessibility bridge code that exports accessible objects
  on the bus is now used by default; atk-bridge has been converted
  into a library that GTK+ links against. To void the linking,
  pass --without-atk-bridge when configuring GTK+.

* GDK threading support has been deprecated. It is recommended to
  use g_idle_add(), g_main_context_invoke() and similar funtions
  to make all GTK+ calls from the main thread.

* GTK+ now follows the XDG Base Directory specification for
  user configuration and data files. In detail,
193 194 195 196 197 198 199 200 201 202 203 204 205
  * $XDG_CONFIG_HOME/gtk-3.0/custom-papers is the new location
    for $HOME/.gtk-custom-papers
  * $XDG_CONFIG_HOME/gtk-3.0/bookmarks is the new location
    for $HOME/.gtk-bookmarks
  * $XDG_DATA_HOME/themes is preferred over $HOME/.themes
  * $XDG_DATA_HOME/icons is preferred over $HOME/.icons.
  Existing files from the old location will still be read
  if the new location does not exist.

* $HOME/.gtk-3.0 is no longer in the default module load path.
  If you want to load modules from there, add it to the GTK_PATH
  environment variable.

Matthias Clasen's avatar
Matthias Clasen committed
206 207 208
Release notes for 3.4

209 210 211
* Scroll events have been separated from button events, and smooth
  scrolling has been added with a separate event mask. Widgets now
  need to have either GDK_SCROLL_MASK or GDK_SMOOTH_SCROLL_MASK in
212 213 214 215
  their event mask to receive scroll events. In addition, the
  GdkScrollDirection enumeration has gained a new member,
  GDK_SCROLL_SMOOTH, so switch statements will have to be amended
  to cover this case.

Matthias Clasen's avatar
Matthias Clasen committed
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
* GTK+ now uses <Primary> instead of <Control> in keyboard accelerators,
  for improved cross-platform handling. This should not affect
  applications, unless they parse or create these accelerator

* The tacit assumption that the Alt key corresponds to the MOD1
  modifier under X11 is now a hard requirement.

* The beagle search backend for the file chooser has been dropped.
  Tracker is the only supported search backend on Linux now.

* GtkNotebook has been changed to destroy its action widgets when
  it gets destroyed itself. If your application is using action
  widgets in notebooks, you may have to adjust your code to take
  this into account.

* GtkApplication no longer uses the gtk mainloop wrappers, so
  it is no longer possible to use gtk_main_quit() to stop it.

Matthias Clasen's avatar
Matthias Clasen committed
236 237
* The -uninstalled variants of the pkg-config files have been dropped.

Matthias Clasen's avatar
Matthias Clasen committed
238 239 240 241
* Excessive dependencies have been culled from Requires: lines
  in .pc files. Dependent modules may have to declare dependencies
  that there were getting 'for free' in the past.

242 243 244 245 246 247 248
Release notes for 3.2

* The accessible implementations for GTK+ widgets have been integrated
  into libgtk itself, and the gail module does not exist anymore. This
  change should not affect applications very much.

249 250 251 252 253 254 255 256 257 258 259
Release notes for 3.0

* GTK+ 3 is a major new version of GTK+, which is parallel installable
  with GTK+ 2.x. For information about porting applications from GTK+ 2.x
  to GTK+ 3, see the file:


  Or online at:

Matthias Clasen's avatar
Matthias Clasen committed
261 262 263 264 265

* Note that the library sonames in this release have been changed from
  libgtk-3.0 and libgdk-3.0 to libgtk-3 and libgdk-3, to prevent the
  library versions from going backwards, compared to the 2.90/91/99
  releases. Applications will have to be recompiled.