gtk2/examples
Robert Mader 77e0d83000 gtk: Properly calculate device offset for DnD
We need to take the device scale into account, like it is done in
gdkwindow.c.

This fixes wrongly placed DnD surfaces in scaled contexts on X11
as well as Wayland.
2019-09-23 11:50:05 +02:00
..
application1 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application2 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application3 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application4 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application5 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application6 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application7 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application8 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application9 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
application10 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
bp autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
action-namespace.c Improve action-namespace example 2014-12-02 21:00:24 -05:00
builder.c examples: Check for error when loading file 2018-04-11 03:11:22 +02:00
builder.ui
drawing.c examples/drawing: Don't call gtk_main_quit 2017-05-22 14:26:32 +01:00
grid-packing.c Updated grid-packing to GtkApplication. 2015-02-15 22:57:57 +01:00
hello-world.c Update hello-world.c to GtkApplication, document 2015-03-09 12:17:31 +01:00
listbox-dnd.c gtk: Properly calculate device offset for DnD 2019-09-23 11:50:05 +02:00
Makefile.am autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
meson.build Import meson build files from an 3.22 2019-04-11 16:40:33 +02:00
plugman.c examples: Strip newlines from g_warning and g_error 2016-02-28 12:23:12 -05:00
README Trivial off-by-one fix 2014-12-08 17:30:35 -05:00
search-bar.c Add example app for GtkSearchBar 2013-10-10 14:48:12 -04:00
sunny.c headerbar: Support all kinds of CSD decorations 2013-12-12 19:30:59 -05:00
window-default.c Get started: port example-0.c to GtkApplication 2015-01-28 16:31:12 -05:00

= Examples =

== Building the examples ==

The examples in this directory are built alongside the rest of GTK+.

The examples under the `application[1-10]` directories are also included in
the GTK+ API reference documentation, and can be built independently, using
the system libraries, by doing:

    $ cd application1
    $ make -f Makefile.example