- 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
-
- 13 Dec, 2021 3 commits
-
-
Matthias Clasen authored
We need to disable the DND support in GtkColorSwatch completely for this to work in X11.
-
Matthias Clasen authored
Provide default icons for paintables and files. This is easy to do, and makes sense. fixup drag icon
-
Matthias Clasen authored
We run into trouble on X11 if the widgets in the drag icon have drop targets attached. Prevent this by suppressing event delivery to drag icons outright.
-
- 06 Oct, 2021 1 commit
-
-
Benjamin Otte authored
Adding a random member to it resulted in a lot of header surgery as a side effect.
-
- 30 Aug, 2021 1 commit
-
-
Benjamin Otte authored
Somebody should make this default drag icon machinery pluggable.
-
- 19 Jun, 2021 1 commit
-
-
Matthias Clasen authored
Instead of drag'n'drop, say drag-and-drop. That is easier to read, and less unclear on the markdown syntax implications.
-
- 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.
-
- 11 Mar, 2021 2 commits
-
-
- 07 Dec, 2020 5 commits
-
-
Jonas Ådahl authored
This is now handle by the corresponding implemenatations using per non-gobject-type API.
-
Jonas Ådahl authored
It didn't even use GtkNative, just the vfunc it set to the interface sturct.
-
Jonas Ådahl authored
This changes allocation of the widget trees to happen as a side effect to the GdkSurface::layout signal, which first passes the GtkNative instance where it is then forwarded to the implementations of the GtkNative interface. The implementations of GtkNative are the ones doing the actual gtk_widget_allocate(), and they do so in their GtkNativeClass::layout function.
-
Jonas Ådahl authored
-
Jonas Ådahl authored
Showing before the child would result in bogus gdk_drag_surface_present() with an "empty" (1x1) size. This can easily be avoided by postponing showing until there is anything to show.
-
- 05 Nov, 2020 1 commit
-
-
Matthias Clasen authored
Mark gtk_drag_icon_create_widget_for_value with GDK_AVAILABLE_IN_ALL, since it is meant to be public. Also, clarify the documentation a bit. Fixes: #3325
-
- 20 Oct, 2020 1 commit
-
-
Benjamin Otte authored
gtkcssnodeprivate.h was mainly used for repositioning CSS nodes in gadgets, and gadgets are gone now.
-
- 14 Aug, 2020 1 commit
-
-
Matthias Clasen authored
We are not sure yet if allowing out-of-tree implementations of GtkNative are a good idea.
-
- 07 Jun, 2020 1 commit
-
-
Matthias Clasen authored
No need to ship empty headers.
-
- 17 May, 2020 1 commit
-
-
Matthias Clasen authored
Change gtk_widget_translate_coordinates and gtk_native_get_surface_transform to operate on doubles. Update all callers.
-
- 16 May, 2020 1 commit
-
-
Timm Bäder authored
-
- 11 May, 2020 1 commit
-
-
Matthias Clasen authored
In many cases, the default widget vfuncs work just fine, combined with setting focusable.
-
- 01 May, 2020 1 commit
-
-
Matthias Clasen authored
This wasn't meant to derive from GtkContainer.
-
- 09 Apr, 2020 2 commits
-
-
Matthias Clasen authored
After the :can-focus change in the previous commit, widgets need to set suitable focus and grab_focus implementations to implement the desired focus behavior. This commit does that for all widgets.
-
Matthias Clasen authored
Make :focus-widget a GtkWindow property and add vfuncs to the GtkRoot interface instead of the property.
-
- 12 Mar, 2020 1 commit
-
-
Matthias Clasen authored
-
- 03 Mar, 2020 1 commit
-
-
Emmanuele Bassi authored
-
- 02 Mar, 2020 3 commits
-
-
Benjamin Otte authored
... and use it to set a drag icon.
-
Benjamin Otte authored
Before, gtk_drag_icon_new_for_drag() allowed creating new drag icons. This could cause multiple drag icons to exist for a single drag. Now, gtk_drag_icon_get_for_drag() makes sure that only one drag icon is created.
-
Benjamin Otte authored
-
- 22 Feb, 2020 1 commit
-
-
Benjamin Otte authored
FIXME: Is this necessary? Could the surfaces just clamp to 1x1 themselves? We recently declared that surfaces can decide on whatever size they want so natives need to inspect the size they requested anyway.
-
- 29 Jan, 2020 1 commit
-
-
Matthias Clasen authored
Replace uses of gtk_css_style_get_value with direct access, throughout the tree. We don't replace all uses, just those where we are dealing with a fixed property. Be careful to handle the currentColor special case for color properties.
-
- 25 Jan, 2020 1 commit
-
-
Matthias Clasen authored
Just go to the css node directly.
-
- 09 Jan, 2020 1 commit
-
-
Matthias Clasen authored
-
- 08 Jan, 2020 1 commit
-
-
Matthias Clasen authored
This is needed if we want to use gdk_drag_begin for one-off drags, without a GtkDragSource.
-
- 30 Dec, 2019 1 commit
-
-
Matthias Clasen authored
This is a GtkRoot implemntation for drag icons, using the surface provided by GdkDrag. This lets us avoid GTK_WINDOW_POPUP and gtk_window_set_hardcoded_surface.
-