Trait clutter::prelude::TextExt[][src]

pub trait TextExt: 'static {
    fn activate(&self) -> bool;
fn coords_to_position(&self, x: f32, y: f32) -> i32;
fn delete_chars(&self, n_chars: u32);
fn delete_selection(&self) -> bool;
fn delete_text(&self, start_pos: isize, end_pos: isize);
fn get_activatable(&self) -> bool;
fn get_attributes(&self) -> Option<AttrList>;
fn get_buffer(&self) -> Option<TextBuffer>;
fn get_chars(&self, start_pos: isize, end_pos: isize) -> Option<GString>;
fn get_color(&self) -> Color;
fn get_cursor_color(&self) -> Color;
fn get_cursor_position(&self) -> i32;
fn get_cursor_rect(&self) -> Rect;
fn get_cursor_size(&self) -> u32;
fn get_cursor_visible(&self) -> bool;
fn get_editable(&self) -> bool;
fn get_ellipsize(&self) -> EllipsizeMode;
fn get_font_description(&self) -> Option<FontDescription>;
fn get_font_name(&self) -> Option<GString>;
fn get_justify(&self) -> bool;
fn get_layout(&self) -> Option<Layout>;
fn get_layout_offsets(&self) -> (i32, i32);
fn get_line_alignment(&self) -> Alignment;
fn get_line_wrap(&self) -> bool;
fn get_line_wrap_mode(&self) -> WrapMode;
fn get_max_length(&self) -> i32;
fn get_password_char(&self) -> char;
fn get_selectable(&self) -> bool;
fn get_selected_text_color(&self) -> Color;
fn get_selection(&self) -> Option<GString>;
fn get_selection_bound(&self) -> i32;
fn get_selection_color(&self) -> Color;
fn get_single_line_mode(&self) -> bool;
fn get_text(&self) -> Option<GString>;
fn get_use_markup(&self) -> bool;
fn insert_text(&self, text: &str, position: isize);
fn insert_unichar(&self, wc: char);
fn position_to_coords(&self, position: i32) -> Option<(f32, f32, f32)>;
fn set_activatable(&self, activatable: bool);
fn set_attributes(&self, attrs: Option<&AttrList>);
fn set_buffer<P: IsA<TextBuffer>>(&self, buffer: &P);
fn set_color(&self, color: &Color);
fn set_cursor_color(&self, color: Option<&Color>);
fn set_cursor_position(&self, position: i32);
fn set_cursor_size(&self, size: i32);
fn set_cursor_visible(&self, cursor_visible: bool);
fn set_editable(&self, editable: bool);
fn set_ellipsize(&self, mode: EllipsizeMode);
fn set_font_description(&self, font_desc: &mut FontDescription);
fn set_font_name(&self, font_name: Option<&str>);
fn set_justify(&self, justify: bool);
fn set_line_alignment(&self, alignment: Alignment);
fn set_line_wrap(&self, line_wrap: bool);
fn set_line_wrap_mode(&self, wrap_mode: WrapMode);
fn set_markup(&self, markup: Option<&str>);
fn set_max_length(&self, max: i32);
fn set_password_char(&self, wc: char);
fn set_preedit_string(
        &self,
        preedit_str: Option<&str>,
        preedit_attrs: Option<&AttrList>,
        cursor_pos: u32
    );
fn set_selectable(&self, selectable: bool);
fn set_selected_text_color(&self, color: Option<&Color>);
fn set_selection(&self, start_pos: isize, end_pos: isize);
fn set_selection_bound(&self, selection_bound: i32);
fn set_selection_color(&self, color: Option<&Color>);
fn set_single_line_mode(&self, single_line: bool);
fn set_text(&self, text: Option<&str>);
fn set_use_markup(&self, setting: bool);
fn get_property_cursor_color_set(&self) -> bool;
fn get_property_selected_text_color_set(&self) -> bool;
fn get_property_selection_color_set(&self) -> bool;
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_cursor_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_delete_text<F: Fn(&Self, i32, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_delete_text(&self, start_pos: i32, end_pos: i32);
fn connect_text_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_activatable_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_buffer_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_color_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_cursor_color_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_cursor_color_set_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_cursor_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_cursor_visible_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_editable_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_font_description_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_font_name_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_line_alignment_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_line_wrap_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_line_wrap_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_max_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_password_char_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_selected_text_color_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_selected_text_color_set_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_selection_color_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_selection_color_set_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_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_use_markup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn activate(&self) -> bool[src]

fn coords_to_position(&self, x: f32, y: f32) -> i32[src]

fn delete_chars(&self, n_chars: u32)[src]

fn delete_selection(&self) -> bool[src]

fn delete_text(&self, start_pos: isize, end_pos: isize)[src]

fn get_activatable(&self) -> bool[src]

fn get_attributes(&self) -> Option<AttrList>[src]

fn get_buffer(&self) -> Option<TextBuffer>[src]

fn get_chars(&self, start_pos: isize, end_pos: isize) -> Option<GString>[src]

fn get_color(&self) -> Color[src]

fn get_cursor_color(&self) -> Color[src]

fn get_cursor_position(&self) -> i32[src]

fn get_cursor_rect(&self) -> Rect[src]

fn get_cursor_size(&self) -> u32[src]

fn get_cursor_visible(&self) -> bool[src]

fn get_editable(&self) -> bool[src]

fn get_ellipsize(&self) -> EllipsizeMode[src]

fn get_font_description(&self) -> Option<FontDescription>[src]

fn get_font_name(&self) -> Option<GString>[src]

fn get_justify(&self) -> bool[src]

fn get_layout(&self) -> Option<Layout>[src]

fn get_layout_offsets(&self) -> (i32, i32)[src]

fn get_line_alignment(&self) -> Alignment[src]

fn get_line_wrap(&self) -> bool[src]

fn get_line_wrap_mode(&self) -> WrapMode[src]

fn get_max_length(&self) -> i32[src]

fn get_password_char(&self) -> char[src]

fn get_selectable(&self) -> bool[src]

fn get_selected_text_color(&self) -> Color[src]

fn get_selection(&self) -> Option<GString>[src]

fn get_selection_bound(&self) -> i32[src]

fn get_selection_color(&self) -> Color[src]

fn get_single_line_mode(&self) -> bool[src]

fn get_text(&self) -> Option<GString>[src]

fn get_use_markup(&self) -> bool[src]

fn insert_text(&self, text: &str, position: isize)[src]

fn insert_unichar(&self, wc: char)[src]

fn position_to_coords(&self, position: i32) -> Option<(f32, f32, f32)>[src]

fn set_activatable(&self, activatable: bool)[src]

fn set_attributes(&self, attrs: Option<&AttrList>)[src]

fn set_buffer<P: IsA<TextBuffer>>(&self, buffer: &P)[src]

fn set_color(&self, color: &Color)[src]

fn set_cursor_color(&self, color: Option<&Color>)[src]

fn set_cursor_position(&self, position: i32)[src]

fn set_cursor_size(&self, size: i32)[src]

fn set_cursor_visible(&self, cursor_visible: bool)[src]

fn set_editable(&self, editable: bool)[src]

fn set_ellipsize(&self, mode: EllipsizeMode)[src]

fn set_font_description(&self, font_desc: &mut FontDescription)[src]

fn set_font_name(&self, font_name: Option<&str>)[src]

fn set_justify(&self, justify: bool)[src]

fn set_line_alignment(&self, alignment: Alignment)[src]

fn set_line_wrap(&self, line_wrap: bool)[src]

fn set_line_wrap_mode(&self, wrap_mode: WrapMode)[src]

fn set_markup(&self, markup: Option<&str>)[src]

fn set_max_length(&self, max: i32)[src]

fn set_password_char(&self, wc: char)[src]

fn set_preedit_string(
    &self,
    preedit_str: Option<&str>,
    preedit_attrs: Option<&AttrList>,
    cursor_pos: u32
)
[src]

fn set_selectable(&self, selectable: bool)[src]

fn set_selected_text_color(&self, color: Option<&Color>)[src]

fn set_selection(&self, start_pos: isize, end_pos: isize)[src]

fn set_selection_bound(&self, selection_bound: i32)[src]

fn set_selection_color(&self, color: Option<&Color>)[src]

fn set_single_line_mode(&self, single_line: bool)[src]

fn set_text(&self, text: Option<&str>)[src]

fn set_use_markup(&self, setting: bool)[src]

fn get_property_cursor_color_set(&self) -> bool[src]

fn get_property_selected_text_color_set(&self) -> bool[src]

fn get_property_selection_color_set(&self) -> bool[src]

fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_cursor_changed<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_delete_text<F: Fn(&Self, i32, i32) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn emit_delete_text(&self, start_pos: i32, end_pos: i32)[src]

fn connect_text_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]

fn connect_property_activatable_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_attributes_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_buffer_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_color_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_cursor_color_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_cursor_color_set_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_cursor_position_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_cursor_size_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_cursor_visible_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_editable_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_ellipsize_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_font_description_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_font_name_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_justify_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_line_alignment_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_line_wrap_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_line_wrap_mode_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_max_length_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_password_char_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_selectable_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_selected_text_color_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_selected_text_color_set_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_selection_bound_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_selection_color_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_selection_color_set_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_single_line_mode_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_text_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_use_markup_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<Text>> TextExt for O[src]

Loading content...