pub trait LabelExt: IsA<Label> + Sealed + 'static {
Show 82 methods
// Provided methods
fn angle(&self) -> f64 { ... }
fn attributes(&self) -> Option<AttrList> { ... }
fn current_uri(&self) -> Option<GString> { ... }
fn ellipsize(&self) -> EllipsizeMode { ... }
fn justify(&self) -> Justification { ... }
fn label(&self) -> GString { ... }
fn layout(&self) -> Option<Layout> { ... }
fn layout_offsets(&self) -> (i32, i32) { ... }
fn is_line_wrap(&self) -> bool { ... }
fn line_wrap_mode(&self) -> WrapMode { ... }
fn lines(&self) -> i32 { ... }
fn max_width_chars(&self) -> i32 { ... }
fn mnemonic_keyval(&self) -> u32 { ... }
fn mnemonic_widget(&self) -> Option<Widget> { ... }
fn is_selectable(&self) -> bool { ... }
fn selection_bounds(&self) -> Option<(i32, i32)> { ... }
fn is_single_line_mode(&self) -> bool { ... }
fn text(&self) -> GString { ... }
fn tracks_visited_links(&self) -> bool { ... }
fn uses_markup(&self) -> bool { ... }
fn uses_underline(&self) -> bool { ... }
fn width_chars(&self) -> i32 { ... }
fn xalign(&self) -> f32 { ... }
fn yalign(&self) -> f32 { ... }
fn select_region(&self, start_offset: i32, end_offset: i32) { ... }
fn set_angle(&self, angle: f64) { ... }
fn set_attributes(&self, attrs: Option<&AttrList>) { ... }
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(&self, widget: Option<&impl IsA<Widget>>) { ... }
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 cursor_position(&self) -> i32 { ... }
fn selection_bound(&self) -> i32 { ... }
fn wraps(&self) -> bool { ... }
fn set_wrap(&self, wrap: bool) { ... }
fn wrap_mode(&self) -> WrapMode { ... }
fn set_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) -> Propagation + '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_angle_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_attributes_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_cursor_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_ellipsize_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_justify_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_lines_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_max_width_chars_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_mnemonic_keyval_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_mnemonic_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_pattern_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_selectable_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_selection_bound_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_single_line_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_track_visited_links_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_use_markup_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_use_underline_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_width_chars_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_wrap_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
fn connect_wrap_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId { ... }
}