Trait zng_wgt_slider::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§
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.