Skip to main content

set_sidebar_chrome

Function set_sidebar_chrome 

Source
pub fn set_sidebar_chrome(chrome: SidebarChrome) -> ShellResult<()>
Expand description

Record the user’s own sidebar choice. Never call this for the adaptive projection: a narrow window forcing a rail is not a choice, and writing it down would make the next launch open as a rail on any window size.