| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Run gtk4-builder-tool simplify --3to4 over all ui files.
|
|
|
|
| |
Avoid duplicating GtkEditable APIs. Port existing users.
|
|
|
|
| |
More GtkSearchBar entry -> editable fixups.
|
|
|
|
| |
This conversion was done with the help of gtk4-builder-tool.
|
|\
| |
| |
| |
| | |
Drop GtkButtonBox
See merge request GNOME/gtk!554
|
| |
| |
| |
| |
| | |
This widget does not seem worth keeping,
and we want to get rid of child properties.
|
|/
|
|
|
| |
We dropped the '+' and the major.minor version from the pkg-config file
name.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
In search-bar example, we can use gtk_search_bar_set_key_capture_widget()
which would simplify handling keyboard events.
|
|
|
|
|
| |
The search entry was taking the whole window size.
Let's reduce the size so as to have more natural size.
|
| |
|
|
|
|
| |
Gtk4 added an icon-name property for GtkButton.
|
|
|
|
|
| |
We do have a gtk_text_buffer_get_line_count() function
to get the line count.
|
|
|
|
| |
In gtk4, widgets are visible by default.
|
|
|
|
|
|
|
|
|
| |
The last parameter of the signal callback from .ui
is the template's object from which the class is
derived.
And so, we already have access to the window object.
Let's just use it.
|
|
|
|
|
| |
Only derivable classes are required to have private members
so that derived classes can't override them.
|
|
|
|
| |
Run gtk4-builder-tool recursively
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Use a key event controller instead.
|
|
|
|
| |
As the clip is no longer needed, get rid of it.
|
|
|
|
|
|
| |
... and gtk_widget_queue_draw_area().
They don't doi anything anymore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This renames the GdkWindow class and related classes (impl, backend
subclasses) to surface. Additionally it renames related types:
GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType,
GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge
This is an automatic conversion using the below commands:
git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass
git sed -f g GdkWindow GdkSurface
git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing
git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING
git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2"
git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE
git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo
git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE"
git sed -f g "broadway_window" "broadway_surface"
git sed -f g "BroadwayWindow" "BroadwaySurface"
git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE"
git sed -f g "wayland_window" "wayland_surface"
git sed -f g "WaylandWindow" "WaylandSurface"
git sed -f g "X11_WINDOW" "X11_SURFACE"
git sed -f g "x11_window" "x11_surface"
git sed -f g "X11Window" "X11Surface"
git sed -f g "WIN32_WINDOW" "WIN32_SURFACE"
git sed -f g "win32_window" "win32_surface"
git sed -f g "Win32Window" "Win32Surface"
git sed -f g "QUARTZ_WINDOW" "QUARTZ_SURFACE"
git sed -f g "quartz_window" "quartz_surface"
git sed -f g "QuartzWindow" "QuartzSurface"
git checkout NEWS* po-properties
|
| |
|
|
|
|
| |
Use a drag and a multi-press gesture.
|
|
|
|
|
|
| |
Using ::configure-event and ::draw on a drawing area
doesn't work anymore. Use ::size-allocate and a
draw function instead.
|
|
|
|
|
| |
I had overlooked ui files. We should really
validate those during build.
|
|
|
|
|
|
| |
It is about all window buttons, so rename it to ::show-title-buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=779862
|
|
|
|
|
|
| |
Instead of using GtkClipboard and handling everything ourselves, we now
put GtkTextBuffer into the GdkClipboard and register (de)serializers for
text/plain.
|
|
|
|
|
| |
Just rename the function, so the previous one can be used for the
new clipboard.
|
|
|
|
|
| |
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We are officially switching to Meson as the default build system for
GTK+.
|
|
|
|
|
|
|
|
|
|
| |
We now rely on toplevels receiving and forwarding all the events
the windowing should be able to handle. Event masks are no longer a
way to determine whether an event is deliverable ot a widget.
Events will always be delivered in the three captured/target/bubbled
phases, widgets can now just attach GtkEventControllers and let those
handle the events.
|
|
|
|
|
|
| |
We're mixing a lot of styles in the Meson build files. This is an
attempt at making everything slightly more consistent in terms of
whitespace and indentation.
|
|
|
|
|
| |
Mostly style changes. Don't create resource source files
with spaces in them, that's tempting our luck.
|
| |
|
|
|
|
|
| |
This is a GtkApplication so it will do the right thing when closing the
window.
|
|
|
|
| |
GtkWidget:halign and GtkWidget:valign are sufficient
|
|
|
|
| |
GtkWidget already has hexpand/vexpand properties.
|
| |
|
|
|
|
| |
Adapt all our tests and examples to the new initialization api.
|
|
|
|
|
|
|
|
| |
This merged gtk, gdk and gsk into one library, making it possible to
have internal private APIs between gtk them, as well as producing more
efficient code.
https://bugzilla.gnome.org/show_bug.cgi?id=773100
|