summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* testdnd2: Add some verbositywip/matthiasc/dnd-animationMatthias Clasen2015-12-131-0/+21
| | | | | This makes it easier to see that we're missing some signals under Wayland.
* Add a drag-end callbackMatthias Clasen2015-12-111-0/+13
| | | | | This will be helpful in figuring out life-cycle issues with icon widgets.
* Add a dnd testcaseMatthias Clasen2015-12-112-0/+270
| | | | This has tests for drag images, widgets, hotspots.
* Add more examples to foreigndrawingMatthias Clasen2015-12-051-2/+73
| | | | Show how to draw checks and radios.
* wayland: fix testtooltipsOlivier Fourdan2015-12-041-0/+5
| | | | | | | | | | On Wayland, for tooltips to work as expected, the type hint must be set to tooltips, otherwise the popup window won't be translated as a subsurface. Fix the test do work as expected under Wayland. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759018
* tests: Rework some foreigndrawing codeBenjamin Otte2015-12-031-21/+18
| | | | | Instead of specifying the full path everytime, just specify the parent style context and then use its path.
* Simplify foreign drawing example a bitMatthias Clasen2015-12-031-21/+9
|
* Add a selected text exampleMatthias Clasen2015-12-021-0/+51
|
* Make foreign drawing example workMatthias Clasen2015-12-021-33/+53
| | | | Set up multiple style contexts to get inheritance right.
* Add another hand-drawn scrollbarMatthias Clasen2015-12-021-13/+15
| | | | This one is supposed to show up in active state, but doesn't.
* Add an example of foreign drawingMatthias Clasen2015-12-022-0/+125
| | | | | This uses the gtk_render apis with a style context constructed from a style path.
* testentryicons: update dnd exampleMatthias Clasen2015-11-301-8/+4
| | | | This code was #ifdefed out since 2008. Time to try it.
* testentryicons: Use an existing icon nameMatthias Clasen2015-11-301-1/+1
| | | | dialog-info is not an existing icon.
* Update testlevelbarMatthias Clasen2015-11-131-6/+4
| | | | | This test needs some small updates after the recent changes to levelbar styling.
* Add gtk_native_dialog_destroy()Alexander Larsson2015-11-111-1/+8
| | | | | | | Its very easy to get extra references to the NativeDialog so that when you release your last reference any visible dialog is not hidden. We handle this by adding a destroy method similar to how you destroy regular toplevels.
* Improve testlevelbarMatthias Clasen2015-11-101-18/+41
| | | | Add a switch to toggle between discrete and continuous modes.
* testgtk: Add native dialog testsAlexander Larsson2015-11-051-0/+357
|
* tests: Make stack expandBenjamin Otte2015-11-041-0/+1
| | | | | This is to test invisible children are actually resized before they are made visible (which they currrently are not.
* Add a more complex widget in the flipping assistantSébastien Granjoux2015-10-291-3/+8
| | | | | This reproduces the problem from bug https://bugzilla.gnome.org/show_bug.cgi?id=756385
* testassistant: Add another exampleMatthias Clasen2015-10-261-0/+88
| | | | | | This adds a test involving removing and re-adding pages, to help with https://bugzilla.gnome.org/show_bug.cgi?id=756385
* testgtk/Alpha Window: fix the drawn area when we are drawing decorationsOwen W. Taylor2015-10-221-0/+16
| | | | | | | | A GtkWindow's allocation includes the titlebar, borders, and shadows; we only want to draw our custom alpha content over the child allocation of the GtkWindow. https://bugzilla.gnome.org/show_bug.cgi?id=756886
* Allow testglarea to work with legacy GL contextsEmmanuele Bassi2015-10-071-4/+44
| | | | | | Use the 1.30 GLSL shading language for the fragment and vertex shaders. https://bugzilla.gnome.org/show_bug.cgi?id=756142
* gdkgears: Use a headerbarMatthias Clasen2015-09-291-1/+1
| | | | | This is a testcase for https://bugzilla.gnome.org/show_bug.cgi?id=755675
* testflowbox: Add an example with buttonsMatthias Clasen2015-08-261-1/+22
| | | | | | | This example populates a flow box with buttons, and makes the flow box children unfocusable, with the intention that the focus moves directly between the buttons. Currently, keynav does not work at all in this case.
* gdkgears: Add a popoverMatthias Clasen2015-08-261-1/+11
| | | | | As pointed out in bug 754143, this reveals a crash in the Wayland backend.
* Add a test for gtk_flow_box_bind_modelMatthias Clasen2015-08-161-15/+27
|
* Add a test for g_list_box_bind_modelMatthias Clasen2015-08-162-0/+224
|
* testfilechooser: Say SaveMatthias Clasen2015-07-311-1/+1
| | | | Thats a more typical affirmative action in save mode.
* testgtk: Remove pointless codeMatthias Clasen2015-07-171-1/+1
| | | | | The display is getting overwritten immediately. Pointed out by coverity.
* testdialog: Error out if templates are missingMatthias Clasen2015-07-171-2/+6
| | | | | Coverity complained about us ignoring the return value here, and it is nicer to get an error message about this.
* tests/gears: Ensure we don't use unavailable GL resourcesEmmanuele Bassi2015-07-161-35/+87
| | | | | | | | We need to check on realize if we have access to a GL context, before calling GL functions. We use gtk_gl_area_get_error() for that. We also need to tear down the resources during unrealization, instead of leaking them.
* tests: Remove testplacesview testBenjamin Otte2015-07-162-5/+2
| | | | | The GtkPlacesView widget was made private, so we can't create it in a testcase.
* tests: Fix gcc complaints about testfilechooserBenjamin Otte2015-07-161-34/+37
|
* placesview: add view for fixed drives and networksGeorges Basile Stavracas Neto2015-07-152-0/+29
| | | | | | | | | | | | | | | | | | | | Places sidebar shows XDG directories, mounted and unmounted devices, connected networks, bookmarks and actions like 'Connect to server' and 'Insert location', which causes the sidebar to grow very quickly and look cluttered. Because of that, new mockups for the sidebar try to simplify it. To make the sidebar simpler, the new mockups propose that it should only handle connected networks and removable devices such as flash drives and USB devices, and delegates other devices for external widgets through the 'Other Locations' item. To handle fixed devices and manage network connections, add a new widget named GtkPlacesView, based on Nautilus mockups to keep consistency between GNOME file management tools - in this case, between Nautilus and the bundled Gtk's file chooser. https://bugzilla.gnome.org/show_bug.cgi?id=752034
* testtoolbar: Don't expand rows that shouldn't be expandedBenjamin Otte2015-07-081-2/+0
|
* testgmenu: use the menu binding codeRyan Lortie2015-07-071-373/+14
| | | | | | | | | | The menu tracker does a better job of this than we can, so move over to using it instead. This fixes issues with './testgmenu --import' not properly displaying the language submenu. https://bugzilla.gnome.org/show_bug.cgi?id=752016
* testfilechooser: Add a --local-only flagMatthias Clasen2015-07-041-1/+4
| | | | This allows for easier testing of !local-only mode.
* testfilechooser: Disable the terrible previewMatthias Clasen2015-07-041-0/+2
| | | | It makes testing the intended user experience harder.
* Add a testcase for font optionsMatthias Clasen2015-07-012-0/+97
|
* overlay: remove gtk_overlay_add_pass_through_overlay()Cosimo Cecchi2015-06-171-1/+2
| | | | | | | The API to access this functionality will be the setter we just added in the previous commit. https://bugzilla.gnome.org/show_bug.cgi?id=750568
* testoverlay: Fix indentationAlexander Larsson2015-06-151-5/+5
|
* testoverlay: Add test for overlay z orderingAlexander Larsson2015-06-151-0/+67
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917
* testoverlay: Fix test by using add_pass_through_overlayAlexander Larsson2015-06-151-1/+1
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917
* testoverlay: Add new input stacking testAlexander Larsson2015-06-151-0/+53
| | | | | | | | | | | | | | In this case we have a bunch of interactive main children of the overlay, and then a centered overlay that contains both non-interactive (labels) and interactive (entry) widgets. This shows off a problem where the non-interactive parts (the labels) steals input from the overlay main children (breaks button click and hover effects). https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917
* testassistant: Remove padding from the filechooser pageMatthias Clasen2015-06-141-0/+1
| | | | | This tests the new assistant api to remove padding from pages.
* Add a filechooser-in-assistant exampleMatthias Clasen2015-06-141-0/+6
| | | | | This is one of the cases where one wants a page without any padding.
* Only build testfontchooserdialog on linuxMatthias Clasen2015-06-131-1/+5
| | | | | | | | We are using this to test pango functionality that uses fontconfig apis, so this doesn't build on OS X or Windows anymore. https://bugzilla.gnome.org/show_bug.cgi?id=750892
* Add a tree dnd testcaseMatthias Clasen2015-06-052-0/+140
| | | | This shows a minimal setup for enabling non-row DND from a treeview.
* testgtk: Add new Adwaita cursor namesMatthias Clasen2015-05-071-1/+6
|
* GtkFontChooser: Allow a custom font mapMatthias Clasen2015-05-071-1/+23
| | | | | | | This lets applications show their own fonts instead of or in addition to system fonts. https://bugzilla.gnome.org/show_bug.cgi?id=748771