Trait gtk::LabelExt [] [src]

pub trait LabelExt {
    fn get_angle(&self) -> f64;
    fn get_attributes(&self) -> Option<AttrList>;
    fn get_current_uri(&self) -> Option<String>;
    fn get_ellipsize(&self) -> EllipsizeMode;
    fn get_justify(&self) -> Justification;
    fn get_label(&self) -> Option<String>;
    fn get_layout(&self) -> Option<Layout>;
    fn get_layout_offsets(&self) -> (i32, i32);
    fn get_line_wrap(&self) -> bool;
    fn get_line_wrap_mode(&self) -> WrapMode;
    fn get_lines(&self) -> i32;
    fn get_max_width_chars(&self) -> i32;
    fn get_mnemonic_keyval(&self) -> u32;
    fn get_mnemonic_widget(&self) -> Option<Widget>;
    fn get_selectable(&self) -> bool;
    fn get_selection_bounds(&self) -> Option<(i32, i32)>;
    fn get_single_line_mode(&self) -> bool;
    fn get_text(&self) -> Option<String>;
    fn get_track_visited_links(&self) -> bool;
    fn get_use_markup(&self) -> bool;
    fn get_use_underline(&self) -> bool;
    fn get_width_chars(&self) -> i32;
    fn get_xalign(&self) -> f32;
    fn get_yalign(&self) -> f32;
    fn select_region(&self, start_offset: i32, end_offset: i32);
    fn set_angle(&self, angle: f64);
    fn set_attributes<'a, P: Into<Option<&'a AttrList>>>(&self, attrs: P);
    fn set_ellipsize(&self, mode: EllipsizeMode);
    fn set_justify(&self, jtype: Justification);
    fn set_label(&self, str: &str);
    fn set_line_wrap(&self, wrap: bool);
    fn set_line_wrap_mode(&self, wrap_mode: WrapMode);
    fn set_lines(&self, lines: i32);
    fn set_markup(&self, str: &str);
    fn set_markup_with_mnemonic(&self, str: &str);
    fn set_max_width_chars(&self, n_chars: i32);
    fn set_mnemonic_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        widget: Q
    ); fn set_pattern(&self, pattern: &str); fn set_selectable(&self, setting: bool); fn set_single_line_mode(&self, single_line_mode: bool); fn set_text(&self, str: &str); fn set_text_with_mnemonic(&self, str: &str); fn set_track_visited_links(&self, track_links: bool); fn set_use_markup(&self, setting: bool); fn set_use_underline(&self, setting: bool); fn set_width_chars(&self, n_chars: i32); fn set_xalign(&self, xalign: f32); fn set_yalign(&self, yalign: f32); fn get_property_cursor_position(&self) -> i32; fn get_property_selection_bound(&self) -> i32; fn get_property_wrap(&self) -> bool; fn set_property_wrap(&self, wrap: bool); fn get_property_wrap_mode(&self) -> WrapMode; fn set_property_wrap_mode(&self, wrap_mode: WrapMode); fn connect_activate_current_link<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_activate_link<F: Fn(&Self, &str) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_copy_clipboard<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_move_cursor<F: Fn(&Self, MovementStep, i32, bool) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_populate_popup<F: Fn(&Self, &Menu) + 'static>(&self, f: F) -> u64; }

Required Methods

Implementors