Skip to content

Make the window be owned by the event loop #3434

@madsmtm

Description

@madsmtm

Part of #3367, opening to discuss separately.

Roughly proposed API:

let window_id = event_loop.create_window();

// Later

let window: &Window = event_loop.get_window(window_id);
window.set_title("foo");

See this comment for a full description of the issue.

Related: #3317.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions