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§
Sourcefn is_slider_track(&self) -> bool
fn is_slider_track(&self) -> bool
Widget inner bounds define the slider range length.
Sourcefn slider_track(&self) -> Option<WidgetInfo>
fn slider_track(&self) -> Option<WidgetInfo>
Find the nearest ancestor that is a slider track.