Struct gtk::IconSource
[−]
pub struct IconSource(_);
Methods
impl IconSource
[src]
fn new() -> IconSource
fn get_direction(&self) -> TextDirection
fn get_direction_wildcarded(&self) -> bool
fn get_filename(&self) -> Option<PathBuf>
fn get_icon_name(&self) -> Option<String>
fn get_pixbuf(&self) -> Option<Pixbuf>
fn get_size(&self) -> i32
fn get_size_wildcarded(&self) -> bool
fn get_state(&self) -> StateType
fn get_state_wildcarded(&self) -> bool
fn set_direction(&mut self, direction: TextDirection)
fn set_direction_wildcarded(&mut self, setting: bool)
fn set_filename<P: AsRef<Path>>(&mut self, filename: P)
fn set_icon_name<'a, P: Into<Option<&'a str>>>(&mut self, icon_name: P)
fn set_pixbuf(&mut self, pixbuf: &Pixbuf)
fn set_size(&mut self, size: i32)
fn set_size_wildcarded(&mut self, setting: bool)
fn set_state(&mut self, state: StateType)
fn set_state_wildcarded(&mut self, setting: bool)
Trait Implementations
impl Clone for IconSource
fn clone(&self) -> IconSource
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