- 11 May, 2022 1 commit
-
-
Sophie Herold authored
Those property features don't seem to be in use anywhere. They are redundant since the docs cover the same information and more. They also created unnecessary translation work. Closes #4904
-
- 20 Sep, 2021 1 commit
-
-
Lukáš Tyrychtr authored
-
- 29 Jul, 2021 1 commit
-
-
Matthias Clasen authored
The g_source_set_name calls were showing up as a major source of strdups in our profiles. Avoid that by using new GLib api when available.
-
- 24 Jun, 2021 1 commit
-
-
Alexander Mikhaylenko authored
Don't leave leftover .image-button or .text-button.
-
- 10 Jun, 2021 1 commit
-
-
Matthias Clasen authored
GtkToggleButton needs to know if it needs to actively maintain its state, or defer to the action helper.
-
- 21 May, 2021 1 commit
-
-
Matthias Clasen authored
Remove a boatload of "or %NULL" from nullable parameters and return values. gi-docgen generates suitable text from the annotation that we don't need to duplicate. This adds a few missing nullable annotations too.
-
- 20 May, 2021 2 commits
-
-
Matthias Clasen authored
allow-none has been deprecated for a long time already. Instead use optional and nullable everywhere.
-
Matthias Clasen authored
Mostly fixing up indentation of continuation lines, and other small cleanups.
-
- 01 Apr, 2021 1 commit
-
-
Matthias Clasen authored
We lost the visual feedback for activating a button via Space or Enter when the :active pseudo-state became managed. Bring it back with a style class. Fixes: #3813
-
- 11 Mar, 2021 4 commits
-
-
-
Connect properties, getters, and setters with annotations
-
Change link syntax, add an example image, generally clean things up.
-
Emmanuele Bassi authored
The documentation engine will use the first paragraph as the summary for a type or constant.
-
- 29 Jan, 2021 1 commit
-
-
Alexander Mikhaylenko authored
Currently GtkButton claims the sequence both on press and on release. Stop claiming it on press and only do it on release, allowing drags to start from it. This will allow to remove a hack from GtkWindowHandle.
-
- 05 Dec, 2020 1 commit
-
-
Emmanuele Bassi authored
-
- 12 Nov, 2020 2 commits
-
-
Emmanuele Bassi authored
Buttons are described by text, and the icon child can be safely ignored.
-
Alexander Mikhaylenko authored
With the last commit, pressing the same button with multiple fingers doesn't cause extra emissions, so we can remove exclusive and allow pressing multiple buttons at once on touch.
-
- 10 Nov, 2020 1 commit
-
-
Emmanuele Bassi authored
Using GList is a bit lame, and makes the API more complicated to use than necessary in the common case. The only real use case for a GList is gtk_widget_add_mnemonic_label(), and for that we can use the GValue-based API instead. Fixes: #3343
-
- 04 Nov, 2020 1 commit
-
-
Emmanuele Bassi authored
Establish the relation whenever we set the label widget.
-
- 14 Oct, 2020 1 commit
-
-
- 25 Sep, 2020 2 commits
-
-
Carlos Garnacho authored
This is now only toggled around, may be cleaned up.
-
Carlos Garnacho authored
The priv->in_button state that used to be relied upon for pointer events has been reduced over time to a broken state, since the button does not track crossing events anymore. Make the coordinate-based checks apply for pointer events too, besides touch events. This fixes GtkButton mistakenly emitting ::clicked with pointer button releases outside the widget. Fixes: #3121
-
- 29 Aug, 2020 2 commits
-
-
Timm Bäder authored
To show how that works
-
Timm Bäder authored
-
- 14 Aug, 2020 1 commit
-
-
Matthias Clasen authored
We document the supported style classes by name, not by macro name, and these macros don't really add any value. Drop them for GTK 4.
-
- 10 Aug, 2020 1 commit
-
-
Matthias Clasen authored
This fixes issues with double activation on clicks. Fixes: #3054
-
- 05 Aug, 2020 1 commit
-
-
Carlos Garnacho authored
That means waiting till button release.
-
- 01 Aug, 2020 2 commits
-
-
Timm Bäder authored
-
Timm Bäder authored
-
- 27 Jul, 2020 1 commit
-
-
Matthias Clasen authored
Add a section to the long description for each widget that is using a non-default accessible role.
-
- 26 Jul, 2020 3 commits
-
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
-
Emmanuele Bassi authored
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 acces...
-
- 24 Jul, 2020 2 commits
-
-
Benjamin Otte authored
-
Benjamin Otte authored
-
- 18 Jul, 2020 1 commit
-
-
Matthias Clasen authored
We should not rely on GtkWindow to have global "activate-default" key bindings that happen to fall back to activating the focus widget. This is unreliable, since the bubbling up from the button to the toplevel may run across other widgets that may want to use Enter for their own purpose, and then the button loses out. By adding our own key bindings, the button gets to handle it before its ancestors. This fixes check buttons in the inspector property list not reacting to Enter despite having focus.
-
- 24 Jun, 2020 1 commit
-
-
Carlos Garnacho authored
The click gesture already has a ::cancel handler, and does almost everything it should. Move the last bits and remove the grab_notify handler.
-
- 15 Jun, 2020 1 commit
-
-
Matthias Clasen authored
If we leave the valign to be the default fill, then the images pick up baseline alignment from the environment, which can occasionally lead to misplaced -/+ icons in spinbuttons, for example in the "Page Setup" tab of the print dialog.
-
- 05 Jun, 2020 1 commit
-
-
Emmanuele Bassi authored
Make GtkButton notify the accessible state directly when updating the label.
-
- 11 May, 2020 1 commit
-
-
Matthias Clasen authored
In many cases, the default widget vfuncs work just fine, combined with setting focusable.
-