Skip to main content

titlebar_with

Function titlebar_with 

Source
pub fn titlebar_with(ui: &mut Ui<'_>, content: impl FnOnce(&mut Ui<'_>))
Expand description

Titlebar with custom content (tabs, a search box, …) between the platform inset and the window buttons. The whole strip is a drag handle; interactive children declared inside it sit on top and win hit-testing, so buttons in a titlebar just work.