Skip to content

deps: go-widgets/window v0.62.0 — native GTK4 window on Linux - #280

Merged
tannevaled merged 1 commit into
mainfrom
deps/window-gtk-linux
Aug 31, 2026
Merged

deps: go-widgets/window v0.62.0 — native GTK4 window on Linux#280
tannevaled merged 1 commit into
mainfrom
deps/window-gtk-linux

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

v0.62.0 makes the GTK4-hosted backend actually present frames (sizes the GtkPicture, drives frame() from the GdkFrameClock; before, the window came up blank). With it, newsreader -window under GO_WIDGETS_GTK=1 runs the reader as a native GTK4 app on Linux — the toolkit framebuffer in a GtkPicture, the search field and other controls as overlaid GtkEntry/GtkButton — completing native windowing on all three desktops (cocoa, win32, gtk), CGO=0. Verified end-to-end under Xvfb. Pulls go-gtk/gtk4 v0.2.4 (indirect).

v0.62.0 makes the GTK4-hosted backend actually present frames (it sizes the
GtkPicture and drives frame() from the GdkFrameClock; before, the window came up
blank). With this, 'newsreader -window' with GO_WIDGETS_GTK=1 runs the reader as a
native GTK4 application on Linux — the toolkit framebuffer in a GtkPicture, the
search field and other controls as real overlaid GtkEntry/GtkButton — completing
native windowing on all three desktops (cocoa, win32, gtk), CGO=0. Verified end to
end under Xvfb. Pulls in go-gtk/gtk4 v0.2.4 (indirect).
@tannevaled
tannevaled merged commit a1bf526 into main Aug 31, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant