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_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 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_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 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
    ) -> SignalHandlerId;
fn emit_activate_current_link(&self);
fn connect_activate_link<F: Fn(&Self, &str) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_copy_clipboard<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_copy_clipboard(&self);
fn connect_move_cursor<F: Fn(&Self, MovementStep, i32, bool) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_move_cursor(
        &self,
        step: MovementStep,
        count: i32,
        extend_selection: bool
    );
fn connect_populate_popup<F: Fn(&Self, &Menu) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_angle_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_attributes_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_cursor_position_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_ellipsize_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_justify_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_label_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_max_width_chars_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_mnemonic_keyval_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_mnemonic_widget_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_pattern_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_selectable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_selection_bound_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_single_line_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_track_visited_links_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_use_markup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_use_underline_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_width_chars_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_wrap_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_wrap_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Implementors