Struct gtk::SelectionData
[−]
pub struct SelectionData(_);
Methods
impl SelectionData
[src]
fn get_data_type(&self) -> Atom
fn get_display(&self) -> Option<Display>
fn get_format(&self) -> i32
fn get_length(&self) -> i32
fn get_pixbuf(&self) -> Option<Pixbuf>
fn get_selection(&self) -> Atom
fn get_target(&self) -> Atom
fn get_text(&self) -> Option<String>
fn get_uris(&self) -> Vec<String>
fn set_pixbuf(&self, pixbuf: &Pixbuf) -> bool
fn set_text(&self, str: &str, len: i32) -> bool
fn set_uris(&self, uris: &[&str]) -> bool
fn targets_include_image(&self, writable: bool) -> bool
fn targets_include_rich_text(&self, buffer: &TextBuffer) -> bool
fn targets_include_text(&self) -> bool
fn targets_include_uri(&self) -> bool
Trait Implementations
impl Clone for SelectionData
fn clone(&self) -> SelectionData
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