summaryrefslogtreecommitdiff
path: root/testsuite/gtk/focus-chain
Commit message (Collapse)AuthorAgeFilesLines
* gtk: Remove GtkFileChooserButtonBenjamin Otte2020-12-035-11/+0
| | | | ... as discussed in the meeting.
* Drop devel styling from our windowsno-more-devel-headersMatthias Clasen2020-11-233-9/+0
| | | | | We are about to do a stable release. Time to get used again to plain old, boring header bars.
* Tweak focus testsMatthias Clasen2020-10-223-8/+8
| | | | | | | | | | | | | These tests are a bit fragile because the initial focus that is taken depends on what ends up in the center of the window, horizontally or vertically, which depends on things like fonts, or theme spacing. This commit makes some tweaks to push things in the widget-factory example around far enough to make the tests work again. We should figure out a way to make this more robust.
* scale: Make draw-value default to FALSEMatthias Clasen2020-10-043-0/+6
| | | | | | | | | | This is rarely what you want, so lets turn it off by default. Update the one place in our demos where we want to draw a value, add support for this to gtk-builder-tool, add a test and mention this change in the migration guide.
* Fix up the focus-chain testsMatthias Clasen2020-08-317-16/+10
| | | | | Several typos here, and some of the expected output changes due to widget class changes.
* Remove GtkRadioButton uses in ui files in testsMatthias Clasen2020-08-307-28/+28
|
* Change button hierarchyTimm Bäder2020-08-294-10/+10
| | | | | | | | | | | | | | | A radiobutton without indicator is really just a togglebutton with a group. A radiobutton with indicator is really just a checkbutton with a group. Make checkbutton its own widget not inheriting from GtkButton. GtkRadioButton could be removed but it stays for now. Radiobutton && !draw-indicator => Togglebutton Checkbutton && !draw-indicator => Togglebutton Radiobutton && draw-indicator => CheckButton + group
* grid layout: Rename some propertiesMatthias Clasen2020-08-023-177/+177
| | | | | | | Rename GtkGridLayoutChild:left-attach/top-attach to GtkGridLayoutChild:column/row. Update all users. Fixes: #2967
* Remove ATKEmmanuele Bassi2020-07-263-63/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To build a better world sometimes means having to tear the old one down. -- Alexander Pierce, "Captain America: The Winter Soldier" ATK served us well for nearly 20 years, but the world has changed, and GTK has changed with it. Now ATK is mostly a hindrance towards improving the accessibility stack: - it maps to a very specific implementation, AT-SPI, which is Linux and Unix specific - it requires implementing the same functionality in three different layers of the stack: AT-SPI, ATK, and GTK - only GTK uses it; every other Linux and Unix toolkit and application talks to AT-SPI directly, including assistive technologies Sadly, we cannot incrementally port GTK to a new accessibility stack; since ATK insulates us entirely from the underlying implementation, we cannot replace it piecemeal. Instead, we're going to remove everything and then incrementally build on a clean slate: - add an "accessible" interface, implemented by GTK objects directly, which describe the accessible role and state changes for every UI element - add an "assistive technology context" to proxy a native accessibility API, and assign it to every widget - implement the AT context depending on the platform For more information, see: https://gitlab.gnome.org/GNOME/gtk/-/issues/2833
* headerbar: Show title buttons by defaultAlexander Mikhaylenko2020-07-023-3/+0
| | | | | Most of the time show-title-buttons is set to TRUE. Go ahead and make that the default.
* menubutton: Drop reliefMatthias Clasen2020-04-173-10/+10
| | | | | We are only using this as a boolean, so change it to a boolean property named has-frame.
* button: Drop reliefMatthias Clasen2020-04-173-11/+11
| | | | | We are only using this as a boolean, so change it to a boolean property named has-frame.
* scrolledwindow: Drop shadow-typeMatthias Clasen2020-04-173-21/+21
| | | | | We were only using this as a boolean, so change it to a boolean property named has-frame.
* scalebutton: Don't derive from GtkButtonMatthias Clasen2020-04-092-4/+4
| | | | | | | | | Make GtkScaleButton a widget that has a toggle button as a child, just like all the other button widgets now. The immediate benefit of this arrangement is to avoid the "double focus" problem when we pop up the popup. Update accessible, demos and tests to match.
* Remove focusable-container testsMatthias Clasen2020-04-093-39/+0
| | | | | | Like the previous commit, these tests were relying on setting :can-focus to make an unsuspecting container focusable, which does not work anymore.
* Fix up focus chain resultMatthias Clasen2020-04-091-1/+30
| | | | | | The notebook grab_focus change in the previous commit made backwards tabbing work as expected, and thereby changed the output of one of the focus-chain tests.
* Add more focus chain testsMatthias Clasen2020-04-0911-0/+7800
| | | | Test page 2 and 3 of widget-factory as well, and try other directions.
* colorbutton: Fix focusMatthias Clasen2020-04-041-1/+0
| | | | | | | | The colorbutton contains a button which contains a colorswatch. We want the focus to go straight to the button, nowhere else, so mark the swatch as !can-focus. Adapt tests to match.
* testsuite: Add a big focus chain testcaseMatthias Clasen2020-04-032-0/+3846
|
* Add a focus-chain test for focusable containersMatthias Clasen2019-06-113-0/+39
|
* testsuite: more focus-chain outputMatthias Clasen2019-06-114-0/+8
| | | | | | | | Differentiate between wrapping around and stopping at the end of the focus chain. Update the existing tests, and add two new ones where the difference matters.
* Add a focus chain testMatthias Clasen2019-06-113-0/+22
Add a test that enumerates the focus chain by emitting move-focus repeatedly, and compares the result to expected output. The test expects a ui file and a reference file as input. The reference file can be created using the --generate option.