summaryrefslogtreecommitdiff
path: root/tests/testoverlay.c
Commit message (Collapse)AuthorAgeFilesLines
* scrolledwindow: Don't take adjustments in new()Matthias Clasen2020-06-241-2/+2
| | | | | | | In 99.9% of all cases, these are just NULL, NULL. So just do away with these arguments, people can use the setters for the rare cases where they want the scrolled window to use a different adjustment.
* Change coordinate translation apis to take doublesMatthias Clasen2020-05-171-1/+1
| | | | | | Change gtk_widget_translate_coordinates and gtk_native_get_surface_transform to operate on doubles. Update all callers.
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-3/+3
| | | | These are all on GtkBox or enumerating children.
* tests: Fix testoverlayAlexander Mikhaylenko2020-05-111-13/+16
| | | | Stop using child properties and margin property.
* Use gtk_overlay_set_child throughoutMatthias Clasen2020-05-041-8/+8
| | | | | Replace all uses of gtk_container_add on overlays by gtk_overlay_set_child.
* Use gtk_window_set_child throughoutMatthias Clasen2020-05-041-7/+7
| | | | | Replace all uses of gtk_container_add on windows by gtk_window_set_child.
* Use gtk_scrolled_window_set_child throughoutMatthias Clasen2020-05-041-2/+2
| | | | | Replace all uses of gtk_container_add on popovers by gtk_scrolled_window_set_child.
* Use gtk_widget_add/remove_css_class moreMatthias Clasen2020-04-101-1/+1
| | | | | | Replace most uses of gtk_style_context_add/remove_class by the new APIs. The only remaining uses of the old API are in save/restore situations.
* tests: Add common_cflags to buildTimm Bäder2020-03-061-4/+4
| | | | | | And fix all the errors and warnings resulting from that See #2491
* Small fixupsMatthias Clasen2020-02-261-1/+0
| | | | Trying to get the ci style test to pass.
* Drop the margin propertyMatthias Clasen2020-02-251-9/+39
| | | | Replace it with margin-start, -end, -top, -bottom throughout.
* window: Remove type argument from gtk_window_new()Benjamin Otte2020-02-141-7/+7
|
* Stop using gtk_main and gtk_main_quitMatthias Clasen2020-02-091-1/+2
| | | | Replace these calls with direct use of GMainContext api.
* Rename thingsMatthias Clasen2019-04-081-1/+1
| | | | | Rename the can-pick property to can-target, and redo the pick flags with more descriptive names.
* testoverlay: Use gtk_widget_set_can_pickMatthias Clasen2019-02-211-1/+1
| | | | | Use gtk_widget_set_can_pick instead of the overlay-specific api with the same purpose.
* remove tests that no longer workMatthias Clasen2019-02-211-128/+0
|
* Stop using gtk_box_pack_endTimm Bäder2019-01-231-2/+2
| | | | It might soon go away!
* testoverlay: Re-enable blurringTimm Bäder2019-01-131-2/+2
| | | | Accidentally disabled in 8b14c8d0a820e6617bd72a39a53d2ae6fa7b242b
* testoverlay: Fix fancy effectTimm Bäder2019-01-101-8/+8
|
* eventcontrollermotion: Port to new API modelBenjamin Otte2018-04-261-2/+2
|
* Add x/y to GtkEventControllerMotion::enterMatthias Clasen2018-01-161-1/+4
| | | | | | | | We have this information available in enter events, and having it in the controller signal as well makes porting easier. Update existing users.
* testoverlay: Use an event controllerMatthias Clasen2018-01-161-3/+8
| | | | | We can stop using ::enter-notify-event here, and use our new motion event controller instead.
* stylecontext: Port to use display instead of screenBenjamin Otte2017-10-311-3/+3
|
* 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-041-0/+66
|
* tests: Get rid of GtkEventBoxBenjamin Otte2017-08-021-12/+12
|
* gtk: Mass delete all GtkWidget event mask APICarlos Garnacho2017-05-251-1/+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.
* box: Remove fill child propertyTimm Bäder2017-04-251-2/+2
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-251-2/+2
| | | | GtkWidget already has hexpand/vexpand properties.
* Remove gtk_widget_show_allTimm Bäder2017-01-201-9/+9
|
* Update callersMatthias Clasen2017-01-191-1/+1
| | | | Adapt all our tests and examples to the new initialization api.
* cssprovider: Remove GError out argument from load functionsBenjamin Otte2016-10-171-1/+1
| | | | People should use the GtkCssProvider::parsing-error signal instead.
* testoverlay: Stop using gtk_widget_override APITimm Bäder2016-10-161-26/+41
|
* box: Remove 'padding' child propertyTimm Bäder2016-10-161-2/+6
|
* 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
* tests: Add deprecation guardsBenjamin Otte2014-11-051-0/+6
| | | | | It's the last test still spewing these and I'm too lazy to do a proper fix.
* overlay: add initial version of gtkoverlayIgnacio Casal Quinteiro2011-06-121-0/+447