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§