Trait ux::SliderExt [−][src]
pub trait SliderExt: 'static { pub fn get_buffer_value(&self) -> f64; pub fn get_value(&self) -> f64; pub fn set_buffer_value(&self, value: f64); pub fn set_value(&self, value: f64); pub fn connect_slide_start<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_slide_stop<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_buffer_value_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Fn(&Self); pub fn connect_property_value_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self); }
Required methods
pub fn get_buffer_value(&self) -> f64
[src]
get_buffer_value: @slider: A #Slider
Get the value of the #Slider:buffer-value property.
Returns: The current value of the “buffer-value” property.
pub fn get_value(&self) -> f64
[src]
get_value: @bar: A #Slider
Retrieve the current value of the media bar
Returns: gdouble
pub fn set_buffer_value(&self, value: f64)
[src]
set_buffer_value: @slider: A #Slider @value: the new buffer value of the slider
Set the value of the #Slider:buffer-value property.
pub fn set_value(&self, value: f64)
[src]
set_value: @bar: A #Slider @value: A value between 0.0 and 1.0
Set the value of the slider
pub fn connect_slide_start<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_slide_stop<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_buffer_value_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
pub fn connect_property_value_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&Self),
[src]
F: 'static + Fn(&Self),
Implementors
impl<O> SliderExt for O where
O: Is<Slider>,
[src]
impl<O> SliderExt for O where
O: Is<Slider>,
[src]pub fn get_buffer_value(&self) -> f64
[src]
get_buffer_value: @slider: A #Slider
Get the value of the #Slider:buffer-value property.
Returns: The current value of the “buffer-value” property.
pub fn get_value(&self) -> f64
[src]
get_value: @bar: A #Slider
Retrieve the current value of the media bar
Returns: gdouble
pub fn set_buffer_value(&self, value: f64)
[src]
set_buffer_value: @slider: A #Slider @value: the new buffer value of the slider
Set the value of the #Slider:buffer-value property.
pub fn set_value(&self, value: f64)
[src]
set_value: @bar: A #Slider @value: A value between 0.0 and 1.0
Set the value of the slider
pub fn connect_slide_start<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_slide_stop<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_buffer_value_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_value_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),