Skip to content

Initial support for host callbacks#296

Merged
prokopyl merged 16 commits into
nextfrom
host-main-thread-callback
Jul 21, 2026
Merged

Initial support for host callbacks#296
prokopyl merged 16 commits into
nextfrom
host-main-thread-callback

Conversation

@prokopyl

@prokopyl prokopyl commented Jul 20, 2026

Copy link
Copy Markdown
Member

This PR introduces a new Host type, which can be optionally passed to create_window and will provide the ability for baseview to trigger host callbacks when it needs to act on the parent window.

Currently, the Host callbacks supports requesting a parent resize (for plugin -> host window resizing), and notifying the host that the parent window has been destroyed.

@prokopyl
prokopyl changed the base branch from master to next July 20, 2026 02:15
@prokopyl prokopyl changed the title Initial implementation for host callbacks Initial support for host callbacks Jul 21, 2026
@prokopyl
prokopyl marked this pull request as ready for review July 21, 2026 03:07
@prokopyl
prokopyl merged commit c197b20 into next Jul 21, 2026
14 checks passed
@prokopyl
prokopyl deleted the host-main-thread-callback branch July 21, 2026 05:44
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