Trait fltk::prelude::ValuatorExt[][src]

pub unsafe trait ValuatorExt: WidgetExt {
    fn set_bounds(&mut self, a: f64, b: f64);
fn minimum(&self) -> f64;
fn set_minimum(&mut self, a: f64);
fn maximum(&self) -> f64;
fn set_maximum(&mut self, a: f64);
fn set_range(&mut self, a: f64, b: f64);
fn set_step(&mut self, a: f64, b: i32);
fn step(&self) -> f64;
fn set_precision(&mut self, digits: i32);
fn value(&self) -> f64;
fn set_value(&mut self, arg2: f64);
fn format(&mut self, arg2: &str) -> Result<(), FltkError>;
fn round(&self, arg2: f64) -> f64;
fn clamp(&self, arg2: f64) -> f64;
fn increment(&mut self, arg2: f64, arg3: i32) -> f64; }

Defines the methods implemented by all valuator widgets

Required methods

fn set_bounds(&mut self, a: f64, b: f64)[src]

Set bounds of a valuator

fn minimum(&self) -> f64[src]

Get the minimum bound of a valuator

fn set_minimum(&mut self, a: f64)[src]

Set the minimum bound of a valuator

fn maximum(&self) -> f64[src]

Get the maximum bound of a valuator

fn set_maximum(&mut self, a: f64)[src]

Set the maximum bound of a valuator

fn set_range(&mut self, a: f64, b: f64)[src]

Set the range of a valuator

fn set_step(&mut self, a: f64, b: i32)[src]

Set change step of a valuator

fn step(&self) -> f64[src]

Get change step of a valuator

fn set_precision(&mut self, digits: i32)[src]

Set the precision of a valuator

fn value(&self) -> f64[src]

Get the value of a valuator

fn set_value(&mut self, arg2: f64)[src]

Set the value of a valuator

fn format(&mut self, arg2: &str) -> Result<(), FltkError>[src]

Set the format of a valuator

fn round(&self, arg2: f64) -> f64[src]

Round the valuator

fn clamp(&self, arg2: f64) -> f64[src]

Clamp the valuator

fn increment(&mut self, arg2: f64, arg3: i32) -> f64[src]

Increment the valuator

Loading content...

Implementors

impl ValuatorExt for Adjuster[src]

impl ValuatorExt for Counter[src]

impl ValuatorExt for Dial[src]

impl ValuatorExt for FillDial[src]

impl ValuatorExt for FillSlider[src]

impl ValuatorExt for HorFillSlider[src]

impl ValuatorExt for HorNiceSlider[src]

impl ValuatorExt for HorSlider[src]

impl ValuatorExt for HorValueSlider[src]

impl ValuatorExt for LineDial[src]

impl ValuatorExt for NiceSlider[src]

impl ValuatorExt for Roller[src]

impl ValuatorExt for Scrollbar[src]

impl ValuatorExt for Slider[src]

impl ValuatorExt for ValueInput[src]

impl ValuatorExt for ValueOutput[src]

impl ValuatorExt for ValueSlider[src]

Loading content...