Trait components::SliderExt [−][src]
pub trait SliderExt: 'static { fn get_buffer_value(&self) -> f64; fn get_value(&self) -> f64; fn set_buffer_value(&self, value: f64); fn set_value(&self, value: f64); fn connect_slide_start<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_slide_stop<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_buffer_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required methods
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.
fn get_value(&self) -> f64
[src]
get_value: @bar: A #Slider
Retrieve the current value of the media bar
Returns: gdouble
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.
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
fn connect_slide_start<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn connect_slide_stop<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn connect_property_buffer_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: Is<Slider>> SliderExt for O
[src]
impl<O: Is<Slider>> SliderExt for O
[src]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.
fn get_value(&self) -> f64
[src]
get_value: @bar: A #Slider
Retrieve the current value of the media bar
Returns: gdouble
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.
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
fn connect_slide_start<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn connect_slide_stop<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn connect_property_buffer_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_value_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId