| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
It was added at a time when default buttons
had a very large external border that would disrupt
aligment. Not a problem nowadays.
|
|
|
|
|
|
|
|
| |
The default widget is mostly a dialog concept,
and does not really need this generic api.
If you need to mark a widget as default,
use gtk_window_set_default() directly.
|
|
|
|
|
| |
This is a convenience wrapper for
activating the "default.activate" action.
|
|
|
|
|
|
| |
Since actions are used increasingly, we should
have a convenient way to trigger an action in
the context of a widget.
|
|
|
|
|
| |
And the getter, too. Widgets no longer have
extra surfaces that could serve as parent surfaces.
|
|
|
|
|
| |
Rename the can-pick property to can-target,
and redo the pick flags with more descriptive names.
|
|
|
|
|
|
|
| |
This will be used to let the inspector and other users
pick insensitive widgets again. For now, update all
callers to pass no flags, preserving the current
behavior.
|
|
|
|
|
| |
The way to influence picking is to implement contains,
we no longer use the pick vfunc.
|
|
|
|
|
| |
We no longer have any child properties in
our containers, so drop the infrastructure for it.
|
|
|
|
| |
measure() replaced get_preferred_height() and get_preferred_width().
|
|
|
|
|
|
| |
We delegate the size request mode, the measuring, and the allocation of
a widget through a GtkLayoutManager instance, if one has been attached
to the widget; otherwise, we fall back to the widget's own implementation.
|
|
|
|
|
| |
It doesn't really make sense to have only
the setter, but not the getter public.
|
|
|
|
| |
Replace this with gtk_widget_set_has_focus + gtk_widget_event.
|
|
|
|
| |
The renaming of the prefix makes this a large patch.
|
|
|
|
| |
I overlooked this at first.
|
|
|
|
|
| |
It is no longer used and has been replaced by the
root and unroot vfuncs.
|
|
|
|
|
| |
The signal is long gone, no need for this unused
vfunc anymore.
|
|
|
|
|
| |
This is a generally useful property to make widgets
'transparent' for input purposes.
|
|
|
|
|
| |
We can reason about GtkTransform way better - and determine its category or
do equality checks.
|
|
|
|
|
| |
Lots of code does not error-check these functions, and when we add CSS
transforms, they will start failing. And we want people to check that.
|
|
|
|
|
| |
Use gtk_widget_get_allocated_width/height in the only user (GtkStack),
even though that isn't 100% correct.
|
|
|
|
| |
It's the replacement for gtk_widget_translate_coordinates()
|
| |
|
|
|
|
|
|
| |
The transform matrix is a translation matrix from the parent's origin to
the widget origin. We will later allow more transformations than just
translations.
|
|
|
|
|
| |
The property is just for API completeness, the getter is meant to
replace toplevel usage.
|
|
|
|
|
| |
They get added whenever a widget gets added into a hierarchy with a root
widget.
|
|
|
|
|
| |
This adds a simple abilities for widget implementations to clip their
content. See future commits for users of this.
|
|
|
|
| |
The signal is gone, no need to keep the vfunc around.
|
|
|
|
|
| |
It's been broken for quite a while now and doesn't make sense anymore
these days.
|
|
|
|
|
| |
The values have been 0/0 for a long time now, so just drop the
GtkAllocation argument and replace it with width and height.
|
|
|
|
|
| |
This mirrors gtk_widget_observe_children() - just that it observes the
controllers, not the children.
|
|
|
|
|
| |
This creates a listmodel that tracks a widget's children. Doing so turns
adding/removing children from O(1) to O(N) though, so use with caution.
|
|
|
|
|
|
|
| |
This is to go along with the newly introduced GdkDrop.
This commit includes the necessary updates to the X11, Wayland
and Broadway backends. Other backends have to be updated separately.
|
| |
|
| |
|
| |
|
|
|
|
| |
Drag Contexts are on their way out!
|
|
|
|
|
| |
These are the last event-type specific signals,
we are just relying on the generic ::event signal now.
|
|
|
|
| |
This signal will be going away, so stop mentioning it so much.
|
| |
|
|
|
|
|
| |
So we don't do unnecessary work when just setting priv->child_visible to
the same value again.
|
|
|
|
| |
.. and gtk_widget_remove_controller().
|
|
|
|
| |
Everybody chains up now.
|
|
|
|
| |
Stop docs build from complaining
|
|
|
|
|
| |
The first in a set of functions intended to query widget coordinates
from another widget's coordinate system.
|
|
|
|
|
|
| |
Widgets are exclusively snapshot now.
The draw signal still exists.
|
|
|
|
|
|
|
|
|
| |
If you want to draw a widget to cairo today, you create a widget
paintable, snapshot it to a render node and then draw the render node to
cairo.
And yes, this is that complicated on purpose. Don't draw widgets to
Cairo.
|
|
|
|
| |
As the clip is no longer needed, get rid of it.
|
|
|
|
| |
It's not used anywhere, so why would we need it?
|
|
|
|
|
|
| |
... and gtk_widget_queue_draw_area().
They don't doi anything anymore.
|