summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: Update testoverlay "Chase" testcase to gtk4 crossing eventsCarlos Garnacho2017-09-151-6/+3
| | | | | The intent is detecting enter events into the overlayed label, so just connect to ::enter-notify-event on the label with no GdkWindow checks.
* Add a test for overlay blurMatthias Clasen2017-09-042-0/+66
|
* testcenterbox: Properly quit on window closeTimm Bäder2017-09-031-0/+2
|
* testpopover: Use HeaderBar to get CSD decorationsDaniel Boles2017-08-241-0/+5
| | | | | | | This helps test whether the Popover positioning gets messed up by the presence of CSD shadow or other accessories around the content area. https://bugzilla.gnome.org/show_bug.cgi?id=786209
* testgtk: Remove some invalid cssTimm Bäder2017-08-231-9/+0
|
* testpopover: Sync initial vals of controls & propsDaniel Boles2017-08-141-11/+11
| | | | | | | | | The ComboBoxes were initially empty, rather than reflecting the initial values of the properties. The CheckButtons were only correct by chance. Fix this by setting the initial values on the widgets and binding them to the properties using SYNC_CREATE, so the two are always synced up. https://bugzilla.gnome.org/show_bug.cgi?id=786209
* Drop old MSC makefilesEmmanuele Bassi2017-08-141-110/+0
|
* Drop Autotools buildEmmanuele Bassi2017-08-142-527/+0
| | | | | We are officially switching to Meson as the default build system for GTK+.
* Add a testcase for the new Emoji chooserMatthias Clasen2017-08-121-0/+14
| | | | For now, add it in testentryicons.
* Drop the shape window example in testgtkMatthias Clasen2017-08-111-225/+0
| | | | | Not sure this can be rescued without root window coordinates. It is also somewhat inherently X11-specific.
* testgtk: Actually expand the scrolled windowBenjamin Otte2017-08-021-0/+1
|
* testgtk: Get rid of GtkEventBoxBenjamin Otte2017-08-021-262/+5
|
* tests: Get rid of GtkEventBoxBenjamin Otte2017-08-0210-123/+73
|
* testentryicons: Set tooltips on all iconsDaniel Boles2017-07-311-0/+20
| | | | | | | | | Just to test tooltips in all cases; what was already here should have been sufficient, but this doesn't hurt. While here, also add some instructive placeholder text. https://bugzilla.gnome.org/show_bug.cgi?id=780938
* eventbox: Remove visible-window propertyTimm Bäder2017-07-271-16/+0
| | | | The GdkWindow that was supposed to back it is gone.
* testflowbox: hexpand the flowboxTimm Bäder2017-07-221-2/+0
|
* tests: Include system headers appropriatelyChun-wei Fan2017-07-211-1/+4
| | | | | | | Don't include unistd.h on Windows, and include the appropriate headers on Windows as necessary. https://bugzilla.gnome.org/show_bug.cgi?id=773299
* tests/rendernode-create-tests.c: Don't use VLAsChun-wei Fan2017-07-211-6/+7
| | | | | | | | Replace uses of VLAs (variable-length arrays) using g_newa(), since Visual Studio builds will unlikely ever support VLAs (which became optional in C11). https://bugzilla.gnome.org/show_bug.cgi?id=773299
* gdkgears: Add window content spacing backTimm Bäder2017-07-201-0/+1
| | | | This was lost when border-width was removed.
* testgtk: Remove unused local variableTimm Bäder2017-07-191-1/+0
|
* widget: Add baseline and out_clip parameters to size-allocateTimm Bäder2017-07-191-5/+8
| | | | | | | | | | | Since setting a clip is mandatory for almost all widgets, we can as well change the size-allocate signature to include a out_clip parameter, just like GtkCssGadget did. And since we now always propagate baselines, we might as well pass that one on to size-allocate. This way we can also make sure to transform the clip returned from size-allocate to parent-coordinates, i.e. the same coordinate space priv->allocation is in.
* testpopover: Remove expand GtkBox child propertiesTimm Bäder2017-07-192-18/+1
|
* testbaseline: Add a horizontal spinbuttonTimm Bäder2017-07-191-0/+4
|
* testnotebookdnd: quit when the toplevel gets closedTimm Bäder2017-07-191-0/+3
|
* Remove all widget style property codeTimm Bäder2017-07-191-1/+1
|
* layout: Remove bin_windowTimm Bäder2017-07-191-9/+1
|
* testwidgetfocus: Drop SPACING constant in favor for CSSTimm Bäder2017-07-191-11/+125
| | | | This makes it easier to test various other properties of widgets.
* testtooltips: Add static tooltipTimm Bäder2017-07-191-0/+40
| | | | | Just a widget class emulating the tooltip look by calling itself "tooltip" in the css node tree and adding the .background style class.
* testheightforwidth: Remove GtkBox fill/expand usageTimm Bäder2017-07-191-28/+0
|
* testgtk.c: native file chooser filter changesTom Schoonjans2017-07-181-6/+22
| | | | | | | Set the filter before showing the dialog Afterwards, fetch the last active filter and display its name. https://bugzilla.gnome.org/show_bug.cgi?id=784723
* Add a simple center box testMatthias Clasen2017-06-043-0/+42
| | | | Just a simple use of this widget.
* testlist: Fix custom cssTimm Bäder2017-05-251-3/+3
|
* gtk: Mass delete all GtkWidget event mask APICarlos Garnacho2017-05-255-39/+0
| | | | | | | | | | We now rely on toplevels receiving and forwarding all the events the windowing should be able to handle. Event masks are no longer a way to determine whether an event is deliverable ot a widget. Events will always be delivered in the three captured/target/bubbled phases, widgets can now just attach GtkEventControllers and let those handle the events.
* build: Improve consistency of the "coding" styleEmmanuele Bassi2017-05-031-4/+4
| | | | | | We're mixing a lot of styles in the Meson build files. This is an attempt at making everything slightly more consistent in terms of whitespace and indentation.
* meson: gtk: remove internal static libs from declared gtk dependencyTim-Philipp Müller2017-05-031-0/+1
| | | | | | | | | | | | | | | gdk and gsk are no longer separate libs but part of gtk now, so any Gtk+ user should just link to gtk, there's no need to additionally link against all those static helper libs that go into the gtk lib. This means we need to specifically add confinc to include_directories in more places to make sure the right config.h (i.e. ours) gets included and not a subproject's like graphene's config.h. Not dragging in static libs also fixes the issue of all executables having to be relinked for any and all changes. With this change it's super-fast now and can be skipped for most changes that don't touch the external ABI.
* meson: tests: make tests find resources from the source dirTim-Philipp Müller2017-05-039-3/+48
| | | | | Should probably also do this in the autotools build, since the same problem exists there as well if we use srcdir != builddir.
* meson: tests: update and sync with MakefilesTim-Philipp Müller2017-05-032-177/+144
|
* meson: update list of sources for changes in git masterTim-Philipp Müller2017-05-031-7/+1
|
* meson: update build filesTimm Bäder2017-05-031-30/+0
|
* meson: build some more testsTimm Bäder2017-05-031-14/+84
|
* meson: build tests/visualsTimm Bäder2017-05-032-0/+8
|
* meson: Install libgtk and libgdkTimm Bäder2017-05-031-1/+0
|
* meson: Build all tests in tests/Timm Bäder2017-05-031-2/+138
|
* meson: Build gtk marshallersTimm Bäder2017-05-031-0/+5
| | | | And fix libgtk_dep/libgdk_dep to link_with the shared lib
* testdnd2: Don't pass a toplevel to gtk_drag_set_icon_widgetTimm Bäder2017-04-251-14/+10
|
* label: Remove angle propertyTimm Bäder2017-04-256-148/+7
|
* box: Remove center childTimm Bäder2017-04-251-1/+0
|
* actionbar: Add explicit center widgetTimm Bäder2017-04-251-0/+4
| | | | | | | The center widget in GtkBox was only introduced to use it in GtkActionBar. However, the implementation there is much more complex than it needs to be, so move the center widget into GtkActionBar instead and later remove it from GtkBox.
* box: Remove fill child propertyTimm Bäder2017-04-2559-828/+762
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-2560-836/+830
| | | | GtkWidget already has hexpand/vexpand properties.