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
Matthias Clasen
6b3f2131c5
Redo the listbox dnd example
...
Rewrite this example to have better drag highlighting.
2017-05-31 21:15:34 -04:00
Matthias Clasen
ae6f95878e
testlist3: Handle dropping a row onto itself
...
Instead of spewing criticals, we should handle this
gracefully by doing nothing.
2017-04-22 21:39:10 -04:00
Matthias Clasen
7ab48458a0
Refine the listbox dnd example
...
Add a drag handle, and demonstrate broken offsets.
2017-04-22 08:07:42 -04:00
Matthias Clasen
930acacf94
Implement dnd for list box rows in an example
...
This shows very basic DND of list box rows.
2017-04-21 17:02:05 -04:00
Matthias Clasen
ccc4fb8512
Improve list selection example
...
Print out signals, so we see how often they are emitted.
2014-04-06 01:44:38 -04:00
Matthias Clasen
92eab67a49
Add a list box selection testcase
2014-04-06 01:44:37 -04:00