gtk/tests
Benjamin Otte a411959c91 droptarget: Redo
This is a huge reorganization of GtkDropTarget. I did not know how to
split this up, so it's unfortunately all one commit.

Highlights:

- Split GtkDropTarget into GtkDropTarget and GtkDropTargetAsync
  GtkDropTarget is the simple one that only works with GTypes and offers
  a synchronous interface.
  GtkDropTargetAsync retains the full old functionality and allows
  handling mime types.

- Drop events are handled differently
  Instead of picking a single drop target and sending all DND events to
  it, every event is sent to every drop target. The first one to handle
  the event gets to call gdk_drop_status(), further handlers do not
  interact with the GdkDrop.
  Of course, for the ultimate GDK_DROP_STARTING event, only the first
  one to accept the drop gets to handle it.
  This allows stacking DND event controllers that aren't necessarily
  interested in handling the event or that might decide later to drop
  it.

- Port all widgets to either of those
  Both have a somewhat changed API due to the new event handling.
  For the ones who should use the sync version, lots of cleanup was
  involved to operate on a sync API.
2020-03-02 03:18:55 +01:00
..
dummy-headers
visuals window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
3DRings.xpm
animated-resizing.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
animated-revealing.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
apple-red.png
blur-performance.c
check-n.xpm
check-y.xpm
dialog.ui Drop the can-default property 2019-04-28 23:28:39 +00:00
FilesQueue.xpm
frame-stats.c tests/frame-stats.c: Include stdlib.h 2020-02-11 20:59:04 +08:00
frame-stats.h
gdkgears.c Drop the margin property 2020-02-25 20:59:04 -05:00
gnome-textfile.png
gradient1.png
gtkgears.c
gtkgears.h
listmodel.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
marble.xpm
merge-1.ui
merge-2.ui
merge-3.ui
meson.build GtkToolbar: remove 2020-02-07 14:08:26 +01:00
Modeller.xpm
motion-compression.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
mydialog2.ui
mydialog.ui Drop the can-default property 2019-04-28 23:28:39 +00:00
overlayscroll.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
popover2.ui Drop the margin property 2020-02-25 20:59:04 -05:00
popover.ui
portland-rose.jpg
print-editor.c Remove filename/URI API from GtkFileChooser 2020-02-22 15:22:06 +00:00
rendernode-create-tests.c rendernode: Take a graphene_point_t for the offset 2019-05-21 06:43:59 +02:00
rendernode.c tests: Use g_free(), not free() 2019-05-21 07:23:30 +02:00
scrolling-performance.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
selectionmode.ui Convert all ui files 2019-03-27 13:36:24 -04:00
showrendernode.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
simple.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
syncscroll.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
test.xpm
testaccel.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testadjustsize.c Small fixups 2020-02-26 08:13:45 -05:00
testappchooser.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testappchooserbutton.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testapplication.desktop
testassistant.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testbaseline.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testblur.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testborderdrawing.c Drop the margin property 2020-02-25 20:59:04 -05:00
testbox.c Drop the margin property 2020-02-25 20:59:04 -05:00
testbuttons.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testcairo.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testcalendar.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testcellarea.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testcellrenderertext.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testcenterbox.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testclipboard2.c contentprovider: Add gdk_content_provider_new_typed() 2020-02-16 20:10:30 +01:00
testcolorchooser2.c Stop using gtk_main and gtk_main_quit 2020-02-09 23:12:32 -05:00
testcolorchooser2.ui
testcolorchooser.c Stop using gtk_main and gtk_main_quit 2020-02-09 23:12:32 -05:00
testcombo.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testcombochange.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testdialog.c Drop the margin property 2020-02-25 20:59:04 -05:00
testdnd2.c droptarget: Redo 2020-03-02 03:18:55 +01:00
testdnd3.c droptarget: Redo 2020-03-02 03:18:55 +01:00
testdnd.c droptarget: Redo 2020-03-02 03:18:55 +01:00
testellipsise.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testemblems.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testentrycompletion.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testentryicons.c Drop the margin property 2020-02-25 20:59:04 -05:00
testerrors.c
testexpand.c Drop the margin property 2020-02-25 20:59:04 -05:00
testexpander.c Stop using gtk_main and gtk_main_quit 2020-02-09 23:12:32 -05:00
testfilechooser.c Remove preview widget from GtkFileChooser 2020-02-22 16:39:01 +00:00
testfilechooserbutton.c Drop the margin property 2020-02-25 20:59:04 -05:00
testflowbox.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testfontchooser.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testfontchooserdialog.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testfontoptions.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testframe.c Small fixups 2020-02-26 08:13:45 -05:00
testfullscreen.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testgaction.c popover: Drop ::relative-to 2020-02-24 20:46:41 -05:00
testgiconpixbuf.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testglarea.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testglblending.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testgmenu.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testgrid.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testgridbaseline.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testgrouping.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testgtk2.css
testgtk.1
testgtk.c Drop the margin property 2020-02-25 20:59:04 -05:00
testgtk.css And another keybinding leftover 2019-02-22 00:07:35 +01:00
testheaderbar.c Drop the margin property 2020-02-25 20:59:04 -05:00
testheightforwidth.c Drop the margin property 2020-02-25 20:59:04 -05:00
testicontheme.c icontheme: Update the api 2020-02-18 20:32:17 -05:00
testiconview-keynav.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testiconview.c popover: Drop ::relative-to 2020-02-24 20:46:41 -05:00
testinfobar.c testinfobar: Stop using gtk_info_bar_get_content_area() 2020-02-15 17:18:26 +01:00
testkineticscrolling.c dnd: Port the TreeModel machinery to GValue DND 2020-02-18 02:40:00 +01:00
testlevelbar.c Drop the margin property 2020-02-25 20:59:04 -05:00
testlist2.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testlist3.c droptarget: Redo 2020-03-02 03:18:55 +01:00
testlist4.c
testlist.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testlockbutton.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testlogout.c Drop the margin property 2020-02-25 20:59:04 -05:00
testmenubutton.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testmodelbutton.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testmountoperation.c Stop using gtk_main and gtk_main_quit 2020-02-09 23:12:32 -05:00
testnoscreen.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testnotebookdnd.c droptarget: Redo 2020-03-02 03:18:55 +01:00
testnouiprint.c
testorientable.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testoutsetshadowdrawing.c Drop the margin property 2020-02-25 20:59:04 -05:00
testoverlay.c Small fixups 2020-02-26 08:13:45 -05:00
testoverlaystyleclass.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testperf.c Prototype a sysprof helper 2020-01-21 17:31:48 -05:00
testpixbuf-scale.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testplacesview.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testpopover.c Drop the margin property 2020-02-25 20:59:04 -05:00
testprint.c
testprintfileoperation.c
testprintfileoperation.h
testrc.c
testrevealer2.c
testrevealer.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testscale.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testscrolledge.c Drop the margin property 2020-02-25 20:59:04 -05:00
testscrolledwindow.c popover: Drop ::relative-to 2020-02-24 20:46:41 -05:00
testselectionmode.c Drop the margin property 2020-02-25 20:59:04 -05:00
testsensitive.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testspinbutton.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testsplitheaders.c Stop using gtk_main and gtk_main_quit 2020-02-09 23:12:32 -05:00
testsplitheaders.ui Drop the margin property 2020-02-25 20:59:04 -05:00
teststack.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
teststackedheaders.c Stop using gtk_main and gtk_main_quit 2020-02-09 23:12:32 -05:00
teststackedheaders.ui Convert all ui files 2019-03-27 13:36:24 -04:00
testswitch.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtexthistory.c texthistory: add GtkTextHistory helper 2019-11-05 09:34:29 -08:00
testtexture.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtextview2.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtextview.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtoolbar2.c Drop the margin property 2020-02-25 20:59:04 -05:00
testtooltips.c Merge branch 'spinning-spinner' into 'master' 2020-02-25 04:04:46 +00:00
testtreechanging.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtreecolumns.c tests: Guard variables with necessary macros 2020-02-22 07:44:52 +01:00
testtreecolumnsizing.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtreednd.c droptarget: Redo 2020-03-02 03:18:55 +01:00
testtreeedit.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtreeflow.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtreefocus.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtreelistmodel.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtreemodel.c
testtreepos.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtreesort.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testtreeview-plan.txt
testtreeview.c dnd: Port the TreeModel machinery to GValue DND 2020-02-18 02:40:00 +01:00
testverticalcells.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testvolumebutton.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testwidgetfocus.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testwidgettransforms.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
testwindowdrag.c events: reorganize getters 2020-02-21 00:51:03 -05:00
testwindowsize.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
treestoretest.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
variable.c
variable.h
video-timer.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00