Expand description
fn copy_text(&self, start_pos: i32, end_pos: i32)
Copy text from start_pos
up to, but not including end_pos
to the clipboard.
start position
end position
fn cut_text(&self, start_pos: i32, end_pos: i32)
Copy text from start_pos
up to, but not including end_pos
to the clipboard and then delete from the widget.
start position
end position
fn delete_text(&self, start_pos: i32, end_pos: i32)
Delete text start_pos
up to, but not including end_pos
.
start position
end position
fn paste_text(&self, position: i32)
Paste text from clipboard to specified position
.
position to paste
fn set_text_contents(&self, string: &str)
Set text contents of self
.
string to set for text contents of self