summaryrefslogtreecommitdiff
path: root/tests/teststack.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Stop using gtk_widget_show/hideMatthias Clasen2022-12-131-1/+1
|
* tests: Ignore deprecationsMatthias Clasen2022-10-111-0/+2
| | | | Eventually, most of these tests should be dropped.
* Clean up uses of gtk_toggle_button_get/set_activeMatthias Clasen2020-08-301-6/+6
| | | | | Replace all uses on check buttons by the corresponding check button api.
* Replace "gchar" with "char"Benjamin Otte2020-07-251-7/+7
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-4/+4
|
* scrolledwindow: Don't take adjustments in new()Matthias Clasen2020-06-241-1/+1
| | | | | | | 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.
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-18/+18
| | | | These are all on GtkBox or enumerating children.
* Use gtk_window_destroyMatthias Clasen2020-05-111-1/+1
| | | | | Replace calls to gtk_widget_destroy on windows with gtk_window_destroy.
* tests: Fix teststack "add icon" buttonAlexander Mikhaylenko2020-05-111-1/+1
|
* Use gtk_window_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on windows by gtk_window_set_child.
* Use gtk_scrolled_window_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on popovers by gtk_scrolled_window_set_child.
* tests: Add common_cflags to buildTimm Bäder2020-03-061-10/+10
| | | | | | And fix all the errors and warnings resulting from that See #2491
* window: Remove type argument from gtk_window_new()Benjamin Otte2020-02-141-1/+1
|
* Stop using gtk_main and gtk_main_quitMatthias Clasen2020-02-091-1/+2
| | | | Replace these calls with direct use of GMainContext api.
* Fix teststackMatthias Clasen2019-04-031-13/+9
| | | | This testcase wasn't updated to new GtkStack apis.
* Stop using gtk_box_pack_endTimm Bäder2019-01-231-3/+3
| | | | It might soon go away!
* box: Remove fill child propertyTimm Bäder2017-04-251-3/+3
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-251-3/+4
| | | | GtkWidget already has hexpand/vexpand properties.
* Remove gtk_widget_show_allTimm Bäder2017-01-201-1/+1
|
* Update callersMatthias Clasen2017-01-191-1/+1
| | | | Adapt all our tests and examples to the new initialization api.
* box: Remove 'padding' child propertyTimm Bäder2016-10-161-3/+3
|
* 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.
* Rename GtkSidebar to GtkStackSidebarLars Uebernickel2015-02-131-2/+2
| | | | | | GtkSidebar is too generic and doesn't fully convey what the widget does. https://bugzilla.gnome.org/show_bug.cgi?id=744094
* Test h/vhomogenenous in teststackMatthias Clasen2014-10-261-4/+17
| | | | Add separate checkboxes for hhomogeneous and vhomogeneous.
* Add GtkSidebarIkey Doherty2014-10-011-2/+11
| | | | | | | | | | | | | | | | | GtkSidebar behaves internally much like GtkStackSwitcher, providing a vertical sidebar like widget. It is virtually identical in appearance to the widget currently used in GNOME Tweak Tool. This widget is connected to a GtkStack, and builds its own contents as a GtkListBox subclass, using the "title" child property to provide a consistent navigatable widget. Being a subclass of GtkListBox it benefits immediately from strong keyboard navigation, and minimal changes are required for theming. https://bugzilla.gnome.org/show_bug.cgi?id=735293 Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
* teststack: don't enumerate transitions manuallyMatthias Clasen2014-05-021-21/+6
| | | | Thats what introspection is for.
* stack: Add counterparts of OVER_UP_DOWN transitionPhilip Chimento2014-05-021-0/+3
| | | | | | | The GtkStackTransitionType enum now has OVER_DOWN_UP, OVER_LEFT_RIGHT, and OVER_RIGHT_LEFT values to complement OVER_UP_DOWN. https://bugzilla.gnome.org/show_bug.cgi?id=726676
* Test new transition typesMatthias Clasen2013-09-251-1/+10
| | | | | | | We should make teststack pick up new transitions automatically. For now, we have to add them manually. https://bugzilla.gnome.org/show_bug.cgi?id=707187
* Add a needs-attention child property to GtkStackPaolo Borelli2013-09-251-0/+1
| | | | | | | | | The child property is watched by the StackSwicther which in turns sets a needs-attention css class on the corresponding button, so that the theme can for instance show a throbbing animation if one of the hidden pages needs the user attention. https://bugzilla.gnome.org/show_bug.cgi?id=707153
* GtkStack: Add position-dependent slide transitionsErick Pérez Castellanos2013-06-131-0/+2
| | | | | These go left/right or up/down depending on the relative order of the children being switched between.
* GtkStack: add vertical slide transitionsMatthias Clasen2013-04-211-12/+10
| | | | We allow transitions that slide up or down.
* Add a way to specify transition types on the flyMatthias Clasen2013-04-211-4/+2
| | | | | Add a gtk_stack_set_visible_child_full that takes a transition type.
* Add GtkStackMatthias Clasen2013-04-211-0/+249
Add separate GtkStack and GtkStackSwitcher widgets that are an alternative to GtkNotebook. Additionally, GtkStack supports animated transitions when changing pages. These widgets were initially developed in libgd.