| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
No need to load these as gio modules, we just include
them in libgtk.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add an extension point called gtk-im-module, which requires
the type GtkIMContext. Simplify the loading by using GIO
infrastructure. Drop the locale filtering for now, I don't
think it is really necessary nowadays.
Convert existing platform modules to gio modules.
Sill to do: Drop the conditional build machinery.
Either always include them, or never.
|
| |/
|/|
| |
| |
| | |
Since cursors are per-widget now and the icons are widgets, we can just
set the cursors once.
|
| | |
|
| |
| |
| |
| |
| | |
Otherwise, the radius here ends up being 0 and we don't draw anything at
all.
|
| |
| |
| |
| |
| | |
Otherwise, the resulting node will be too small and the result looks
clipped.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Doing that once for every emoji is pretty slow and unnecessary as the
width does not change.
|
| |
| |
| |
| |
| |
| | |
Do the mouse cursor un-obscuring in the ::motion handler instead of in
the ->event handler. We don't get rid of the GtkWidgetClass::event
handler altogether that way, but it's a step in the right direction.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
We use the x/y values later on to decide what to do with the event.
|
| |
| |
| |
| |
| | |
Makes for a larger hit area for pointing devices. If vertical centering
is still desired, GtkWidget:halign can be set on the icon widgets.
|
| |
| |
| |
| |
| | |
No need to use widget->priv later if we already define a priv pointer
before.
|
| |
| |
| |
| |
| | |
This way we can also move the GtkButtonPrivate definition into
gtkbutton.c
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
We know how many items this array will have in advance, so just malloc
enough.
|
|/ |
|
|
|
|
| |
The papi print backend has been removed.
|
| |
|
| |
|
| |
|
|
|
|
| |
No need for a new_name local variable here.
|
|
|
|
|
|
| |
GRAB_BROKEN events cause the ::cancel handler of the gesture to be
emitted, which is where we also call gtk_button_do_release, so this
GtkWidget::event handler is unnecessary.
|
|
|
|
|
| |
We write 0 to dest_x and dest_y nowadays if the two widgets do not have
a common ancestor.
|
|
|
|
| |
(cherry picked from commit f3f75f62e8e419b2e8cc6fcd243f12ee7b281e7d)
|
|
|
|
| |
(cherry picked from commit 68eb897900b6ca8b5173c9d21ea122db7694069c)
|
|\
| |
| |
| |
| | |
text-view: make measure() use the layout height
See merge request GNOME/gtk!37
|
| |
| |
| |
| |
| |
| | |
GtkTextView::measure should include the height of the text-layout in its
minimum and natural heights. This fixes scrolling when a text-view has a
scrolled-window ancestor that is not its immediate parent.
|
| |
| |
| |
| |
| |
| |
| | |
This reverts 76461a8004caf4490f84140b0551d1f5296241f6.
We don't want to quiet the compiler here because new warnings should be
added to the enum the moment they become available.
|
| |
| |
| |
| |
| | |
Also, guard newer error returns with proper #if, so they don't trip up
older Vulkan versions.
|
| |
| |
| |
| |
| | |
Just use the drag_widget we create before, since GtkWindow drag icons
are not allowed anymore.
|
| |
| |
| |
| | |
lower - upper results in something negative of course.
|
| |
| |
| |
| | |
Print widget class, css node name and address.
|
| |
| |
| |
| |
| | |
Save the x/y we allocated the slider at, which is different than
the coordinates we get from any of the widget allocation accessors.
|
| |
| |
| |
| | |
Instead of outside at every call-site.
|
| |
| |
| |
| |
| | |
This is unnecessary these days due to the negative margins of the
slider.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The given coordinate needs to be trough-relative, since that's what the
slider is relative to. Also use the trough's content size and not the
outer size.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
We have the mouse position available everywhere we want to use it
anyway, so use that instead.
|
| |
| |
| |
| |
| | |
Instead, just use gtk_widget_pick() to get the widget at the pointer
position whenever we need it.
|
| |
| |
| |
| |
| | |
calc_slider() updates the slider visibility, but that can only change if
the upper or lower change.
|