Struct tui_logger::TuiLoggerSmartWidget
source · pub struct TuiLoggerSmartWidget { /* private fields */ }
Expand description
The Smart Widget combines the TuiLoggerWidget and the TuiLoggerTargetWidget into a nice combo, where the TuiLoggerTargetWidget can be shown/hidden.
In the title the number of logging messages/s in the whole buffer is shown.
Implementations§
source§impl TuiLoggerSmartWidget
impl TuiLoggerSmartWidget
pub fn highlight_style(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn border_style(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style_error(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style_warn(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style_info(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style_trace(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style_debug(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style_off(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style_hide(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn style_show(&mut self, style: Style) -> &mut TuiLoggerSmartWidget
pub fn state(&mut self, state: &TuiWidgetState) -> &mut TuiLoggerSmartWidget
Trait Implementations§
source§impl Default for TuiLoggerSmartWidget
impl Default for TuiLoggerSmartWidget
source§fn default() -> TuiLoggerSmartWidget
fn default() -> TuiLoggerSmartWidget
Returns the “default value” for a type. Read more
source§impl EventListener<Event> for TuiLoggerSmartWidget
impl EventListener<Event> for TuiLoggerSmartWidget
source§fn dispatcher(
&mut self,
dispatcher: Rc<RefCell<Dispatcher<Event>>>
) -> &mut TuiLoggerSmartWidget
fn dispatcher(
&mut self,
dispatcher: Rc<RefCell<Dispatcher<Event>>>
) -> &mut TuiLoggerSmartWidget
Hand over a Dispatcher to the widget.