Struct gtk::TextIter
[−]
pub struct TextIter(_);
Methods
impl TextIter
[src]
fn assign(&mut self, other: &TextIter)
fn backward_char(&mut self) -> bool
fn backward_chars(&mut self, count: i32) -> bool
fn backward_cursor_position(&mut self) -> bool
fn backward_cursor_positions(&mut self, count: i32) -> bool
fn backward_line(&mut self) -> bool
fn backward_lines(&mut self, count: i32) -> bool
fn backward_search<'a, P: Into<Option<&'a TextIter>>>(
&self,
str: &str,
flags: TextSearchFlags,
limit: P
) -> Option<(TextIter, TextIter)>
&self,
str: &str,
flags: TextSearchFlags,
limit: P
) -> Option<(TextIter, TextIter)>
fn backward_sentence_start(&mut self) -> bool
fn backward_sentence_starts(&mut self, count: i32) -> bool
fn backward_to_tag_toggle<'a, P: Into<Option<&'a TextTag>>>(
&mut self,
tag: P
) -> bool
&mut self,
tag: P
) -> bool
fn backward_visible_cursor_position(&mut self) -> bool
fn backward_visible_cursor_positions(&mut self, count: i32) -> bool
fn backward_visible_line(&mut self) -> bool
fn backward_visible_lines(&mut self, count: i32) -> bool
fn backward_visible_word_start(&mut self) -> bool
fn backward_visible_word_starts(&mut self, count: i32) -> bool
fn backward_word_start(&mut self) -> bool
fn backward_word_starts(&mut self, count: i32) -> bool
fn begins_tag<'a, P: Into<Option<&'a TextTag>>>(&self, tag: P) -> bool
fn can_insert(&self, default_editability: bool) -> bool
fn editable(&self, default_setting: bool) -> bool
fn ends_line(&self) -> bool
fn ends_sentence(&self) -> bool
fn ends_tag<'a, P: Into<Option<&'a TextTag>>>(&self, tag: P) -> bool
fn ends_word(&self) -> bool
fn forward_char(&mut self) -> bool
fn forward_chars(&mut self, count: i32) -> bool
fn forward_cursor_position(&mut self) -> bool
fn forward_cursor_positions(&mut self, count: i32) -> bool
fn forward_line(&mut self) -> bool
fn forward_lines(&mut self, count: i32) -> bool
fn forward_search<'a, P: Into<Option<&'a TextIter>>>(
&self,
str: &str,
flags: TextSearchFlags,
limit: P
) -> Option<(TextIter, TextIter)>
&self,
str: &str,
flags: TextSearchFlags,
limit: P
) -> Option<(TextIter, TextIter)>
fn forward_sentence_end(&mut self) -> bool
fn forward_sentence_ends(&mut self, count: i32) -> bool
fn forward_to_end(&mut self)
fn forward_to_line_end(&mut self) -> bool
fn forward_to_tag_toggle<'a, P: Into<Option<&'a TextTag>>>(
&mut self,
tag: P
) -> bool
&mut self,
tag: P
) -> bool
fn forward_visible_cursor_position(&mut self) -> bool
fn forward_visible_cursor_positions(&mut self, count: i32) -> bool
fn forward_visible_line(&mut self) -> bool
fn forward_visible_lines(&mut self, count: i32) -> bool
fn forward_visible_word_end(&mut self) -> bool
fn forward_visible_word_ends(&mut self, count: i32) -> bool
fn forward_word_end(&mut self) -> bool
fn forward_word_ends(&mut self, count: i32) -> bool
fn get_buffer(&self) -> Option<TextBuffer>
fn get_bytes_in_line(&self) -> i32
fn get_char(&self) -> Option<char>
fn get_chars_in_line(&self) -> i32
fn get_child_anchor(&self) -> Option<TextChildAnchor>
fn get_language(&self) -> Option<Language>
fn get_line(&self) -> i32
fn get_line_index(&self) -> i32
fn get_line_offset(&self) -> i32
fn get_marks(&self) -> Vec<TextMark>
fn get_offset(&self) -> i32
fn get_pixbuf(&self) -> Option<Pixbuf>
fn get_slice(&self, end: &TextIter) -> Option<String>
fn get_text(&self, end: &TextIter) -> Option<String>
fn get_visible_line_index(&self) -> i32
fn get_visible_line_offset(&self) -> i32
fn get_visible_slice(&self, end: &TextIter) -> Option<String>
fn get_visible_text(&self, end: &TextIter) -> Option<String>
fn has_tag(&self, tag: &TextTag) -> bool
fn in_range(&self, start: &TextIter, end: &TextIter) -> bool
fn inside_sentence(&self) -> bool
fn inside_word(&self) -> bool
fn is_cursor_position(&self) -> bool
fn is_end(&self) -> bool
fn is_start(&self) -> bool
fn order(&mut self, second: &mut TextIter)
fn set_line(&mut self, line_number: i32)
fn set_line_index(&mut self, byte_on_line: i32)
fn set_line_offset(&mut self, char_on_line: i32)
fn set_offset(&mut self, char_offset: i32)
fn set_visible_line_index(&mut self, byte_on_line: i32)
fn set_visible_line_offset(&mut self, char_on_line: i32)
fn starts_line(&self) -> bool
fn starts_sentence(&self) -> bool
fn starts_tag<'a, P: Into<Option<&'a TextTag>>>(&self, tag: P) -> bool
fn starts_word(&self) -> bool
fn toggles_tag<'a, P: Into<Option<&'a TextTag>>>(&self, tag: P) -> bool
impl TextIter
[src]
fn get_attributes(&self, values: &TextAttributes) -> bool
Trait Implementations
impl Clone for TextIter
fn clone(&self) -> TextIter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TextIter
impl PartialOrd for TextIter
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for TextIter
[src]
fn cmp(&self, other: &Self) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min
)Compares and returns the minimum of two values. Read more
impl PartialEq for TextIter
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.