| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Include gtkprivate.h for I_() and glib-i18n.h for
gettext macros.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
allow-none has been deprecated for a long time
already. Instead use optional and nullable everywhere.
|
|
|
|
|
| |
Mostly fixing up indentation of continuation lines,
and other small cleanups.
|
| |
|
|
|
|
|
| |
Make it possible to add spacing to them from the theme without affecting
the center child should it happen to be a box.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
These are all on GtkBox or enumerating children.
|
|
|
|
| |
GtkContainer is going away.
|
|
|
|
| |
This is a replacement for gtk_container_remove.
|
|
|
|
| |
The destroy vfunc is going away.
|
|
|
|
|
| |
Replace all uses of gtk_container_add on revealers
with gtk_revealer_set_child.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Drop the pack-type child property. Allow ui
files to direct children by adding a child
type for it.
|
|
|
|
|
| |
There is no particular need to have this, and we want
to get rid of child properties.
|
|
|
|
|
|
|
|
|
|
| |
Change the reorder api to insert after a sibling,
so that moving to first place becomes reorder (... NULL).
And add a insert_after api that can replace the common
container_add / reorder_after (... NULL) combination.
Update all callers.
|
|
|
|
| |
It might soon go away!
|
|
|
|
|
| |
The values have been 0/0 for a long time now, so just drop the
GtkAllocation argument and replace it with width and height.
|
| |
|
| |
|
|
|
|
| |
As the clip is no longer needed, get rid of it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an automated change doing these command:
git sed -f g gtk_widget_set_has_window gtk_widget_set_has_surface
git sed -f g gtk_widget_get_has_window gtk_widget_get_has_surface
git sed -f g gtk_widget_set_parent_window gtk_widget_set_parent_surface
git sed -f g gtk_widget_get_parent_window gtk_widget_get_parent_surface
git sed -f g gtk_widget_set_window gtk_widget_set_surface
git sed -f g gtk_widget_get_window gtk_widget_get_surface
git sed -f g gtk_widget_register_window gtk_widget_register_surface
git sed -f g gtk_widget_unregister_window gtk_widget_unregister_surface
git checkout NEWS*
|
|
|
|
|
|
|
| |
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
|
|
|
|
| |
This stops gtk-doc complaints.
|
|
|
|
| |
This avoids a bunch of strdups at startup.
|
|
|
|
|
|
| |
mostly: syncing with previous commit, where InfoBar copied this all from
Also, remove my unhelpful “and vice-versa” from InfoBar.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=785318
|
|
|
|
|
|
|
|
|
|
|
| |
Since setting a clip is mandatory for almost all widgets, we can as well
change the size-allocate signature to include a out_clip parameter, just
like GtkCssGadget did. And since we now always propagate baselines, we
might as well pass that one on to size-allocate.
This way we can also make sure to transform the clip returned from
size-allocate to parent-coordinates, i.e. the same coordinate space
priv->allocation is in.
|
|
|
|
|
|
|
|
|
|
|
| |
always initialize clips to the (content) allocation, don't walk up the
widget hierarchy in gtk_widget_set_clip, implement
gtk_widget_size_allocate in GtkSeparator. This way we don't end up using
uninitialized clip values.
The entire clip handling is up for major rework since we can't and don't
want to force every single widget to call _set_clip in size-allocate
implementations.
|
| |
|
| |
|
|
|
|
|
| |
It provides functionality that GtkBox used to have,
and is generally useful.
|
|
|
|
|
|
| |
with include_internals=TRUE, this is the same as the (still private)
gtk_widget_forall, or just using the children/sibling accessors in a
loop.
|
|
|
|
|
|
|
| |
The center widget in GtkBox was only introduced to use it in
GtkActionBar. However, the implementation there is much more complex
than it needs to be, so move the center widget into GtkActionBar instead
and later remove it from GtkBox.
|
|
|
|
| |
GtkWidget:halign and GtkWidget:valign are sufficient
|
|
|
|
| |
GtkWidget already has hexpand/vexpand properties.
|
| |
|
| |
|
|
|
|
|
| |
So we can show and hide it with a transition as well as bind another
property to it.
|
| |
|
|
|
|
|
| |
They only show/hide the widget in a delayed fashion which doesn't
work, just like it doesn't work with infobars and popovers.
|
|
|
|
|
|
|
| |
And with it, remove the draw func from custom gadgets, that has been
NULL everywhere.
All gadgets are snapshot now.
|
| |
|