pub fn on_header_mouse_down<T: 'static + Fn(&mut StatesContext, Mouse) -> bool>(
        mut self,
        callback: T,
    ) -> Self {
        self.state.on_header_mouse_down_callback = Some(Box::new(callback));
        self
    }
///Set the callback that is called when user click on the header (generally used to switch tab)
Set the callback that is called when user click on the header (generally used to switch tab)
Set the callback that is called when user click on the header ( generally used to switch tab )
pub fn on_header_mouse_down<T: 'static + Fn(&mut StatesContext, Mouse) -> bool>(
        mut self,
        callback: T,
    ) -> Self {
        self.state.on_header_mouse_down_callback = Some(Box::new(callback));
        self
    }
pub fn on_header_mouse_down < T : ' static + Fn ( & mut StatesContext , Mouse ) -> bool > ( mut self , callback : T , ) -> Self { self . state . on_header_mouse_down_callback = Some ( Box :: new ( callback ) ) ; self }
Set the callback that is called when user click on the header (generally used to switch tab)
Set the callback that is called when user click on the header ( generally used to switch tab )
mut self
callback
T