zng_wgt_slider

Trait WidgetInfoExt

source
pub trait WidgetInfoExt {
    // Required methods
    fn is_slider_track(&self) -> bool;
    fn slider_track(&self) -> Option<WidgetInfo>;
}
Expand description

Slider extension methods for widget info.

Required Methods§

source

fn is_slider_track(&self) -> bool

Widget inner bounds define the slider range length.

source

fn slider_track(&self) -> Option<WidgetInfo>

Find the nearest ancestor that is a slider track.

Implementations on Foreign Types§

source§

impl WidgetInfoExt for WidgetInfo

Implementors§