gtk2/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 quartz: move atom/pasteboard type conversions functions to GDK 2013-03-28 13:10:38 +01:00
visuals window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
3DRings.xpm Initial revision 1997-11-24 22:37:52 +00:00
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 Insert cast to fix warning. Assign something to old_value to quiet gcc 2003-07-03 01:02:04 +00:00
blur-performance.c gsk: Move gtk/gtkcairoblur.c to gsk/gskcairoblur.c 2016-12-20 18:01:11 +01:00
check-n.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
check-y.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
dialog.ui Drop the can-default property 2019-04-28 23:28:39 +00:00
FilesQueue.xpm Initial revision 1997-11-24 22:37:52 +00:00
frame-stats.c tests/frame-stats.c: Include stdlib.h 2020-02-11 20:59:04 +08:00
frame-stats.h tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
gdkgears.c Drop the margin property 2020-02-25 20:59:04 -05:00
gnome-textfile.png Add testiconview. A test for GtkIconView ...which uses this image. 2004-08-04 14:32:45 +00:00
gradient1.png Make styleexamples work 2011-01-03 12:34:23 -05:00
gtkgears.c Avoid redefining GNU_SOURCE 2017-03-23 15:15:12 +00:00
gtkgears.h tests: Make gtkgears compile without complaints 2014-10-14 14:33:08 +02:00
listmodel.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
marble.xpm Initial revision 1997-11-24 22:37:52 +00:00
merge-1.ui Test handling of empty menus. 2003-09-30 20:55:24 +00:00
merge-2.ui Add UI manager attribute to always show image in menu items 2009-11-27 19:14:43 +01:00
merge-3.ui Change the XML format: <Root> element is replaced by <ui>, <menu> element 2003-08-27 22:22:28 +00:00
meson.build GtkToolbar: remove 2020-02-07 14:08:26 +01:00
Modeller.xpm Initial revision 1997-11-24 22:37:52 +00:00
motion-compression.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00
mydialog2.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
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 GtkMenuSectionBox: Always show separators for labeled sections 2014-04-29 12:19:53 -04:00
portland-rose.jpg Add a test for overlay blur 2017-09-04 14:28:16 -04:00
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 Initial revision 1997-11-24 22:37:52 +00:00
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 Add GtkApplication 2010-06-07 16:46:30 -04:00
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 Add a color editor test 2016-01-23 18:16:51 -05:00
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 tests: Test the x11-specific error trap api 2017-11-17 00:08:24 -05:00
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: fix css 2016-10-16 18:17:21 +02:00
testgtk.1 Added gtk/testgtk.1 man page for testgtk 1998-03-24 04:01:21 +00:00
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 Add test for GtkActionable GtkListBoxRow. 2018-01-02 17:56:10 -08:00
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 Bump GLib dependency to 2.35 2012-11-04 13:01:38 -05:00
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 Update callers 2017-01-19 13:50:17 -05:00
testprintfileoperation.c Further updates from the GtkPrintContext functions rename. 2006-05-31 14:06:02 +00:00
testprintfileoperation.h perf/widgets.h tests/print-editor.c tests/prop-editor.h 2008-05-23 14:55:43 +00:00
testrc.c Update callers 2017-01-19 13:50:17 -05:00
testrevealer2.c Rename GtkHeaderBar::show-close-button 2017-12-07 22:37:06 -05:00
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 Update callers 2017-01-19 13:50:17 -05:00
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 handle case where there are no rows in the model 2001-01-09 17:45:34 +00:00
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 tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
variable.h Fix another header guard oversight 2014-12-08 19:34:23 -05:00
video-timer.c window: Remove type argument from gtk_window_new() 2020-02-14 21:18:49 +01:00