Skip to content

gtk: host NativeList via GtkListBox - #109

Merged
tannevaled merged 1 commit into
mainfrom
feat/gtk-list
Sep 6, 2026
Merged

gtk: host NativeList via GtkListBox#109
tannevaled merged 1 commit into
mainfrom
feat/gtk-list

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

The GTK peer of cocoa's NSTableView-backed NativeList: rows are the Items, the selected index is Number (reported via OnNumber on row-selected). Uses go-gtk v0.6.0's GtkListBox. So NativeList is native on macOS + Linux now (Windows keeps the drawn fallback). Proven by TestGTKBackendList under Xvfb.

🤖 Generated with Claude Code

The GTK peer of cocoa's NSTableView-backed NativeList: rows are the Items, the
selected index is Number (reported via OnNumber on "row-selected"). Uses go-gtk
v0.6.0's GtkListBox. Selection is pushed on change; changing the row strings needs a
new Key (the binding has no clear-all), which the reconcile handles. So NativeList
is now native on macOS and Linux (Windows uses the drawn fallback — SysListView32
would need a Windows pass). Proven by TestGTKBackendList under Xvfb.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 3bfd2e9 into main Sep 6, 2026
28 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