summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Make testpopover more versatileMatthias Clasen2014-02-221-13/+76
| | | | Allow testing alignment and positioning.
* tests: Connect signals in visuals testBenjamin Otte2014-02-201-0/+1
| | | | This is useful for demoing animations.
* tests: Don't use show_all() for a builder fileBenjamin Otte2014-02-201-1/+1
| | | | | It's enough to gtk_widget_show() the window as all the widgets in a builder file a marked properly for visibility.
* Add a testcase for box sizingMatthias Clasen2014-02-162-0/+183
|
* tests: fix volume buttonWilliam Jon McCann2014-02-131-1/+5
|
* tests: add a visibility toggle to the action bar testWilliam Jon McCann2014-02-121-7/+21
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723929
* Add a test for model-based popoversMatthias Clasen2014-02-073-1/+192
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723014
* Add a testcase for various dialog headerbar scenariosMatthias Clasen2014-02-022-0/+315
|
* tests: fix button underline in testassistantWilliam Jon McCann2014-01-291-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723212
* Remove deprecations and warnings from testsMatthias Clasen2014-01-241-16/+1
| | | | This removes one instance of gtk_dialog_get_action_area.
* Remove deprecation warnings from demos and testsMatthias Clasen2014-01-241-2/+2
| | | | | There were a few uses of gtk_widget_get_root_window that need to be removed.
* Add an expand button box typeWilliam Jon McCann2014-01-171-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=720059
* Changed obsolete FSF portal addresses to web addressAndika Triwidada2014-01-121-3/+1
| | | | Fixed https://bugzilla.gnome.org/show_bug.cgi?id=721530
* testtextview: Add test for gtk_text_view_add_child_in_windowAlexander Larsson2014-01-101-7/+31
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=711826
* Make testsplitheaders more robustMatthias Clasen2014-01-071-2/+6
| | | | | Same empty string issue that I fixed in GtkHeaderBar a few days ago.
* Add an action bar testMatthias Clasen2014-01-072-0/+151
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721665
* tests: use actionbar in headerbar testWilliam Jon McCann2014-01-071-25/+5
| | | | | | This is a great example of where headerbar should not be used. https://bugzilla.gnome.org/show_bug.cgi?id=721665
* Make testtitlebar more versatileMatthias Clasen2014-01-061-2/+69
| | | | | | Test adding multiple custom widgets at each end. This exposes that we're doing it wrong - the pack-end widgets are ordered in the wrong way.
* Avoid compiler warningsMatthias Clasen2014-01-061-12/+11
|
* tests: add menu alignments to the menubutton testWilliam Jon McCann2014-01-061-16/+80
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=720939
* tests: add some space to menubutton testWilliam Jon McCann2014-01-061-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=720939
* Add an example for split headersMatthias Clasen2014-01-063-0/+247
| | | | | This shows how to deal with variability in window decorations with split header bars.
* testbbox: Remove unused variableColin Walters2014-01-041-1/+0
| | | | This was the only compiler warning in Continuous for gtk3.
* gtk: remove unused GTK_BUTTONBOX_DEFAULT_STYLE from gtkenums.h tests: remove ↵Clayton Walker2014-01-041-18/+13
| | | | | | GTK_BUTTONBOX_DEFAULT_STYLE from testbbox.c and fix crashing https://bugzilla.gnome.org/show_bug.cgi?id=721317
* Redo header bar decorations once moreMatthias Clasen2013-12-211-17/+5
| | | | | | | | | | | | | | | Applications need a way to fix or adapt the decoration layout, for situations like split header bars. Setting the layout from the theme with a style property did not offer a good way to do this, and the ::show-close-button property does not provide fine-grained control. To improve the situation, move the layout string to a property of GtkHeaderBar which is backed by a setting. This allows platforms to set a default button layout independent of the theme, while applications can override the default. The style GtkWindow style property is now deprecated and ignored.
* testtitlebar: Add custom contentMatthias Clasen2013-12-161-0/+2
| | | | | This will help in tracking down size allocation issues in GtkHeaderBar.
* testtitlebar: Set a window iconMatthias Clasen2013-12-131-0/+1
| | | | | This reveals that GtkHeaderBar does not pick up window icons correctly for it menu button, currently.
* testtitlebar: Fix initial valuesMatthias Clasen2013-12-121-10/+10
| | | | | Make sure that the controls show the initial values fo the headerbar properties, not the other way around.
* testtitlebar: more testsMatthias Clasen2013-12-121-15/+85
| | | | | | Turn this into a GtkApplication with an app menu. Allow to override the gtk-shell-shows-app-menu setting and the decoration-button-layout style property.
* Make testtitlebar more testyMatthias Clasen2013-12-121-33/+49
| | | | | | | | Now that the nice titlebar example is in gtk3-demo, we can use testtitlebar as an actual testbed for headerbar stuff. This immediately reveals size allocation issues when titlebar widgets change size.
* testtitlebar: Fix -Wunused-variable warningVolker Sobek2013-12-121-1/+0
| | | | | | GtkWidget *title is no longer used. https://bugzilla.gnome.org/show_bug.cgi?id=720296
* Use ::has-subtitle in testtitlebarMatthias Clasen2013-12-101-6/+2
| | | | This also gets simplified.
* Don't use depeprecated apiMatthias Clasen2013-12-011-2/+2
| | | | | | GtkPrintUnixDialog and testtitlebar were still using gtk_widget_set_margin_left/right. Switch them over to gtk_widget_set_margin_start/end.
* tests: Add max-width-chars to testwindowsize testBenjamin Otte2013-11-251-8/+19
|
* tests: Make testinput example not compress eventsMartin Renold2013-11-161-4/+5
|
* testgtk: Don't use GDK_POINTER_MOTION_HINT_MASK anymoreMartin Renold2013-11-161-3/+1
|
* Replace all margin-left and margin-right with margin-start and margin-endYosef Or Boczko2013-11-155-15/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710238
* Test duplicate shortcutsMatthias Clasen2013-11-091-0/+3
| | | | | | Add an application shortcut for the Music folder in testfilechooser. The file chooser used to filter duplicates out, but this broke in the sidebar merge.
* Fix testtoolbarMatthias Clasen2013-11-091-1/+4
| | | | | | The conversion from stock to icon names left some items without a label, which in turn shows up as empty menuitems in the overflow menu.
* tests: Make testflowbox test not emit warningsBenjamin Otte2013-11-041-2/+8
|
* Add various tests for stock widgetsMatthias Clasen2013-10-072-0/+99
| | | | | | This test demonstrates that various deprecated ways to construct buttons and menuitems still work as they are supposed to, including always-show-image functionality.
* Add GtkFlowBoxMatthias Clasen2013-10-062-0/+697
| | | | | | | | | | | | | | | | | | GtkFlowBox is a container that its children in a reflowing grid, which can be oriented horizontally or vertically. It is similar to GtkListBox in that the children can be sorted and filtered, and by requiring a dedicated child widget type, GtkFlowBoxChild. It is similar to GtkTreeView in that is supports a full set of selection modes, including rubberband selection. This is the culmination of work that has happened in the egg-list-box module, and earlier in libegg. The origins of this code are the EggSpreadTable in libegg, which was written by Tristan van Berkom. It was moved to egg-list-box and renamed EggFlowBox by Jon McCann, and I gave it some finishing touched in the flowbox-improvements branch of that module.
* testgtk: Remove idle testBenjamin Otte2013-10-051-178/+0
| | | | | The test is broken, written like it's 1999 and testing a feature that I'm about to deprecate.
* tests: Don't call gtk_style_context_invalidate()Benjamin Otte2013-10-051-2/+0
| | | | It's not needed anymore.
* 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
* testicontheme: Add some tests for scalesAlexander Larsson2013-09-231-17/+32
|
* Add a test for icons in menu modelsMatthias Clasen2013-09-081-1/+6
| | | | testmenubutton now features an icon.
* Add a testcase for custom levels in GtkLevelBarMatthias Clasen2013-09-082-0/+82
| | | | This is related to https://bugzilla.gnome.org/show_bug.cgi?id=707695
* Don't use deprecated GSimpleActionGroup apiMatthias Clasen2013-09-051-10/+10
| | | | Instead, use the corresponding GActionMap api.