Struct gtk::IconSet
[−]
pub struct IconSet(_);
Methods
impl IconSet
[src]
fn new() -> IconSet
fn new_from_pixbuf(pixbuf: &Pixbuf) -> IconSet
fn add_source(&self, source: &IconSource)
fn copy(&self) -> Option<IconSet>
fn render_icon_pixbuf(
&self,
context: &StyleContext,
size: i32
) -> Option<Pixbuf>
&self,
context: &StyleContext,
size: i32
) -> Option<Pixbuf>
fn render_icon_surface<'a, P: Into<Option<&'a Window>>>(
&self,
context: &StyleContext,
size: i32,
scale: i32,
for_window: P
) -> Option<Surface>
&self,
context: &StyleContext,
size: i32,
scale: i32,
for_window: P
) -> Option<Surface>
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
Performs copy-assignment from source
. Read more