Struct gtk::SelectionData
[−]
pub struct SelectionData(_);
Methods
impl SelectionData
[src]
fn get_data_type(&self) -> Atom
[src]
fn get_data_with_length(&self) -> Vec<u8>
[src]
fn get_display(&self) -> Option<Display>
[src]
fn get_format(&self) -> i32
[src]
fn get_length(&self) -> i32
[src]
fn get_pixbuf(&self) -> Option<Pixbuf>
[src]
fn get_selection(&self) -> Atom
[src]
fn get_target(&self) -> Atom
[src]
fn get_targets(&self) -> Option<Vec<Atom>>
[src]
fn get_text(&self) -> Option<String>
[src]
fn get_uris(&self) -> Vec<String>
[src]
fn set(&mut self, type_: &Atom, format: i32, data: &[u8])
[src]
fn set_pixbuf(&self, pixbuf: &Pixbuf) -> bool
[src]
fn set_text(&self, str: &str) -> bool
[src]
fn set_uris(&self, uris: &[&str]) -> bool
[src]
fn targets_include_image(&self, writable: bool) -> bool
[src]
fn targets_include_rich_text(&self, buffer: &TextBuffer) -> bool
[src]
fn targets_include_text(&self) -> bool
[src]
fn targets_include_uri(&self) -> bool
[src]
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[src]
Performs copy-assignment from source
. Read more
impl Debug for SelectionData
impl StaticType for SelectionData
fn static_type() -> Type
Returns the type identifier of Self
.