| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We have a setter for this property, so we clearly
weren't serious when we marked it as construct-only.
Fixes: #4109
|
|
|
|
| |
Replace leftover gtk-doc syntax (#Type) with backquotes.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
We were misusing a transfer-full getter here.
|
|
|
|
|
|
|
| |
When there is no visible child, gtk_selection_model_is_selected()
was returning TRUE for any invalid position.
So check if the page is non-NULL and match
|
|
|
|
| |
g_list_nth_data() may return NULL if position is off the end
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If we don't have a widget inside GtkStackPage, we should use the default
GdkDisplay.
|
|
|
|
|
| |
Otherwise we're going to try to unrealize it during the GtkStack
destruction, which will emit warnings.
|
|
|
|
|
| |
GtkStackPage is not a widget, so it must release the reference on the
ATContext it owns.
|
|\
| |
| |
| |
| |
| |
| | |
Wip/baedert/for master
Closes #3282
See merge request GNOME/gtk!2755
|
| | |
|
| |
| |
| |
| |
| | |
This will let us handle additions and removals
in the AT-SPI backend.
|
| |
| |
| |
| |
| | |
This is a corner-case, and it is causing crashes in
the shortcuts window, after a11ab6c995a38fde0eba.
|
|/
|
|
|
|
|
| |
Unparent the child widget before tearing down its
stack page. This is necessary so a11y can still access
the stack page accessible to emit change notification
when it learns that the child is removed.
|
| |
|
|
|
|
| |
This was forgotten when I implemented the Tabs pattern.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This requires some cleanup to remove assumptions
about accessibles being widgets in the backend,
and some code to navigate the tree with these
extra objects in between widgets.
The accessibles for stack pages have the role
GTK_ACCESSIBLE_ROLE_TAB_PANEL. This is the first
step towards implementing the tabs patterns
as described in the aria authoring guidelines
for GtkStack.
|
|
|
|
|
|
|
| |
The name of children is not essential, so add
a way to add children without providing one.
Fixes: #3165
|
| |
|
|
|
|
| |
Does this work?
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The stack wasn't updating its visible-child when
the stack pages visible property changes. This
showed up in the inspector, when showing the details
for a list model item.
|
|
|
|
| |
Fix parameter mismatches.
|
|
|
|
| |
This was showing up as criticals since for_size != >= -1.
|
| |
|
| |
|
|
|
|
| |
This is a property on GtkStackPage these days.
|
|
|
|
|
|
|
|
| |
All widgets cache their render node already. Just allocate the
last_visible_child always at 0/0 and then move its rendernode around
during snapshot.
Fixes #2678
|
| |
|
| |
|
|
|
|
| |
This is a replacement for gtk_container_remove.
|
|
|
|
|
| |
Add GtkStackPage:use-underline, and use it when
constructing labels in the stack switcher.
|
|
|
|
|
|
|
| |
We have hhomogeneous and vhomogeneous properties
that can be set individually.
Fixes: #2673
|
|
|
|
|
|
|
|
| |
This was only living in gtkcontainer.c for historic
reasons. Move it closer to where it belongs, and
rename it from 'idle' to 'layout', since it is
really about the layout phase of the frame clock,
nowadays.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
These serve no purpose anymore - widgets don't
have surfaces, unless they're a GtkNative.
|
|
|
|
|
|
|
|
| |
Add a transition to GtkStack that pretends pages
are the sides or a cube, and switch them by
rotating the cube.
Use this transition in widget-factory.
|
| |
|
| |
|