Struct gtk::IconSet
[−]
pub struct IconSet(_);
Methods
impl IconSet
[src]
pub fn new() -> IconSet
[src]
pub fn new_from_pixbuf(pixbuf: &Pixbuf) -> IconSet
[src]
pub fn add_source(&self, source: &IconSource)
[src]
pub fn copy(&self) -> Option<IconSet>
[src]
pub fn get_sizes(&self) -> Vec<i32>
[src]
pub fn render_icon_pixbuf(
&self,
context: &StyleContext,
size: i32
) -> Option<Pixbuf>
[src]
&self,
context: &StyleContext,
size: i32
) -> Option<Pixbuf>
Trait Implementations
impl Clone for IconSet
fn clone(&self) -> IconSet
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 StaticType for IconSet
fn static_type() -> Type
Returns the type identifier of Self
.