[][src]Trait gtk::ScaleExt

pub trait ScaleExt: 'static {
    fn add_mark<'a, P: Into<Option<&'a str>>>(
        &self,
        value: f64,
        position: PositionType,
        markup: P
    );
fn clear_marks(&self);
fn get_digits(&self) -> i32;
fn get_draw_value(&self) -> bool;
fn get_has_origin(&self) -> bool;
fn get_layout(&self) -> Option<Layout>;
fn get_layout_offsets(&self) -> (i32, i32);
fn get_value_pos(&self) -> PositionType;
fn set_digits(&self, digits: i32);
fn set_draw_value(&self, draw_value: bool);
fn set_has_origin(&self, has_origin: bool);
fn set_value_pos(&self, pos: PositionType);
fn connect_format_value<F: Fn(&Self, f64) -> String + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_digits_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_draw_value_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_has_origin_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_value_pos_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn add_mark<'a, P: Into<Option<&'a str>>>(
    &self,
    value: f64,
    position: PositionType,
    markup: P
)

fn clear_marks(&self)

fn get_digits(&self) -> i32

fn get_draw_value(&self) -> bool

fn get_has_origin(&self) -> bool

fn get_layout(&self) -> Option<Layout>

fn get_layout_offsets(&self) -> (i32, i32)

fn get_value_pos(&self) -> PositionType

fn set_digits(&self, digits: i32)

fn set_draw_value(&self, draw_value: bool)

fn set_has_origin(&self, has_origin: bool)

fn set_value_pos(&self, pos: PositionType)

fn connect_format_value<F: Fn(&Self, f64) -> String + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_digits_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_draw_value_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_has_origin_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_value_pos_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<Scale>> ScaleExt for O[src]

Loading content...