context menu support for tab control headers

This commit is contained in:
Dmitry Stepanov
2026-09-04 20:02:35 +03:00
parent d0544e73f5
commit 151055269f
5 changed files with 90 additions and 73 deletions
+1
View File
@@ -140,6 +140,7 @@ fn make_tab(
content,
can_be_closed: false,
user_data: None,
context_menu: None,
}
}
+1
View File
@@ -920,6 +920,7 @@ impl SceneViewer {
content: Default::default(),
can_be_closed: true,
user_data: None,
context_menu: None,
}),
);
}