Skip to content

Providing a solution for #2248#2290

Merged
klayoutmatthias merged 1 commit intomasterfrom
feature/issue-2248
Mar 3, 2026
Merged

Providing a solution for #2248#2290
klayoutmatthias merged 1 commit intomasterfrom
feature/issue-2248

Conversation

@klayoutmatthias
Copy link
Collaborator

The solution is to introduce a new object, the layout handle. A layout handle is a reference counting pointer to a layout. It can be obtained from a cell view and stored somewhere. If the cell view is closed, the layout will still exists as long as a layout handle exists. A layout handle can be used in LayoutView#show_layout in addition to the Layout object to re-open a layout that existed in a closed view.

The solution is to introduce a new object, the layout handle.
A layout handle is a reference counting pointer to a layout.
It can be obtained from a cell view and stored somewhere.
If the cell view is closed, the layout will still exists
as long as a layout handle exists. A layout handle can be
used in LayoutView#show_layout in addition to the Layout
object to re-open a layout that existed in a closed view.
@klayoutmatthias klayoutmatthias linked an issue Mar 1, 2026 that may be closed by this pull request
@klayoutmatthias klayoutmatthias merged commit 9b5c76f into master Mar 3, 2026
26 of 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.

switch layouts but without losing the handle

1 participant