pub fn title_bar( title: impl Into<SharedString>, cx: &mut App, ) -> Entity<TitleBar>
Create a TitleBar entity — include as the first child of your Workspace.
TitleBar
Workspace