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