Skip to main content

WindowHeader

Trait WindowHeader 

pub trait WindowHeader {
    // Required method
    fn set_history_control(&mut self, control: Option<HistoryControl>);
}
Expand description

A widget that draws the window’s header row.

Required Methods§

fn set_history_control(&mut self, control: Option<HistoryControl>)

Show the window’s History control at the trailing edge of the row, or none (None: the app has no History, or the host’s own chrome presents it).

Implementors§

§

impl WindowHeader for NavShell

Controls in a column the shell is not showing (a hidden sidebar, a closed drawer, a screen pushed away) still belong to the window: custody, invocations and availability reach every part the shell owns.