Skip to main content

title_bar_control

Function title_bar_control 

Source
pub fn title_bar_control<E: InteractiveElement>(element: E) -> E
Expand description

Makes a control inside a title bar take the press itself. The whole bar is a drag area: on Windows a press there arrives as a caption press, and one no element stops goes on to the system’s move-window loop (and maximizes on a double click). Empty bar space still moves the window.