mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 02:10:10 +00:00
3e1f59af61
With the removal of grabs from the public API, we need a replacement API to let applications bypass system keyboard shortcuts. A typical use case for this API is remote desktop or virtual machine viewers which need to inhibit the default system keyboard shortcuts so that the remote session or virtual host gets those instead of the local environment. Close: https://gitlab.gnome.org/GNOME/gtk/issues/982
159 lines
3.7 KiB
Meson
159 lines
3.7 KiB
Meson
gtk_tests = [
|
|
# testname, optional extra sources
|
|
['rendernode'],
|
|
['rendernode-create-tests'],
|
|
['overlayscroll'],
|
|
['syncscroll'],
|
|
['animated-resizing', ['frame-stats.c', 'variable.c']],
|
|
['animated-revealing', ['frame-stats.c', 'variable.c']],
|
|
['motion-compression'],
|
|
['scrolling-performance', ['frame-stats.c', 'variable.c']],
|
|
['blur-performance', ['../gsk/gskcairoblur.c']],
|
|
['simple'],
|
|
['print-editor'],
|
|
['video-timer', ['variable.c']],
|
|
['testaccel'],
|
|
['testadjustsize'],
|
|
['testappchooser'],
|
|
['testappchooserbutton'],
|
|
['testassistant'],
|
|
['testbaseline'],
|
|
['testbox'],
|
|
['testbuttons'],
|
|
['testcairo'],
|
|
['testcalendar'],
|
|
['testclipboard2'],
|
|
['testcolorchooser'],
|
|
['testcolorchooser2'],
|
|
['testcombo'],
|
|
['testcombochange'],
|
|
['testcellrenderertext'],
|
|
['testdialog'],
|
|
['testdnd'],
|
|
['testdnd2'],
|
|
['testdnd3'],
|
|
['testellipsise'],
|
|
['testemblems'],
|
|
['testentrycompletion'],
|
|
['testentryicons'],
|
|
['testfilechooser'],
|
|
['testfilechooserbutton'],
|
|
['testflowbox'],
|
|
['testfontchooser'],
|
|
['testfontoptions'],
|
|
['testframe'],
|
|
['testfullscreen'],
|
|
['testgiconpixbuf'],
|
|
['testglarea'],
|
|
['testglblending', ['gtkgears.c']],
|
|
['testgrid'],
|
|
['testgtk'],
|
|
['testheaderbar'],
|
|
['testheightforwidth'],
|
|
['testhover'],
|
|
['testiconview'],
|
|
['testiconview-keynav'],
|
|
['testicontheme'],
|
|
['testinfobar'],
|
|
['testkineticscrolling'],
|
|
['testlist'],
|
|
['testlist2'],
|
|
['testlist3'],
|
|
['testlist4'],
|
|
['testlevelbar'],
|
|
['testlockbutton'],
|
|
['testmenubutton'],
|
|
['testmodelbutton'],
|
|
['testmountoperation'],
|
|
['testnotebookdnd'],
|
|
['testnouiprint'],
|
|
['testorientable'],
|
|
['testoverlay'],
|
|
['testoverlaystyleclass'],
|
|
['testprint', ['testprintfileoperation.c']],
|
|
['testscale'],
|
|
['testselectionmode'],
|
|
['testspinbutton'],
|
|
['testtoolbar2'],
|
|
['testtreechanging'],
|
|
['testtreednd'],
|
|
['testtreeedit'],
|
|
['testtreemodel'],
|
|
['testtreeview'],
|
|
['testtreefocus'],
|
|
['testtreeflow'],
|
|
['testtreecolumns'],
|
|
['testtreecolumnsizing'],
|
|
['testtreesort'],
|
|
['testverticalcells'],
|
|
['treestoretest'],
|
|
['testgrouping'],
|
|
['testtooltips'],
|
|
['testexpand'],
|
|
['testexpander'],
|
|
['testvolumebutton'],
|
|
['testscrolledwindow'],
|
|
['testscrolledge'],
|
|
['testcellarea'],
|
|
['testswitch'],
|
|
['testnoscreen'],
|
|
['testtreepos'],
|
|
['testsensitive'],
|
|
['testtextview'],
|
|
['testtextview2'],
|
|
['testpixbuf-scale'],
|
|
['testgmenu'],
|
|
['testlogout'],
|
|
['teststack'],
|
|
['testrevealer'],
|
|
['testrevealer2'],
|
|
['testtreelistmodel'],
|
|
['testsplitheaders'],
|
|
['teststackedheaders'],
|
|
['testwindowsize'],
|
|
['testpopover'],
|
|
['gdkgears', ['gtkgears.c']],
|
|
['listmodel'],
|
|
['testgaction'],
|
|
['testwidgetfocus'],
|
|
['testwidgettransforms'],
|
|
['testcenterbox'],
|
|
['testgridbaseline'],
|
|
['showrendernode'],
|
|
['testborderdrawing'],
|
|
['testoutsetshadowdrawing'],
|
|
['testblur'],
|
|
['testtexture'],
|
|
['testwindowdrag'],
|
|
['testinhibitshortcuts'],
|
|
['testtexthistory', ['../gtk/gtktexthistory.c']],
|
|
]
|
|
|
|
if os_unix
|
|
gtk_tests += [['testfontchooserdialog']]
|
|
endif
|
|
|
|
if x11_enabled
|
|
gtk_tests += [['testerrors']]
|
|
endif
|
|
|
|
# Pass the source dir here so programs can change into the source directory
|
|
# and find .ui files and .png files and such that they load at runtime
|
|
test_args = ['-DGTK_SRCDIR="@0@"'.format(meson.current_source_dir())]
|
|
|
|
foreach t: gtk_tests
|
|
test_name = t.get(0)
|
|
test_srcs = ['@0@.c'.format(test_name), t.get(1, [])]
|
|
executable(test_name, test_srcs,
|
|
include_directories: [confinc, gdkinc],
|
|
c_args: test_args + common_cflags,
|
|
dependencies: [libgtk_dep, libm])
|
|
endforeach
|
|
|
|
if get_option('profiler')
|
|
executable('testperf', 'testperf.c',
|
|
dependencies: [profiler_dep, platform_gio_dep, libm])
|
|
endif
|
|
|
|
subdir('visuals')
|