IconSet
Object Hierarchy:
Description:
[ CCode ( ref_function = "gtk_icon_set_ref" , type_id = "gtk_icon_set_get_type ()" , unref_function = "gtk_icon_set_unref" ) ]
[ Compact ]
[ Version ( deprecated = true , deprecated_since = "3.10" , replacement = "IconTheme" ) ]
public class IconSet
Warning: IconSet is deprecated since 3.10. Use IconTheme.
Content:
Creation methods:
Methods:
- public unowned IconSet @ref ()
Increments the reference count on this
.
- public void add_source (IconSource source)
Icon sets have a list of
IconSource, which they use as base icons for rendering icons in different states and sizes.
- public IconSet copy ()
Copies this by value.
- public void get_sizes (out IconSize[] sizes)
Obtains a list of icon sizes this icon set can render.
- public Pixbuf render_icon (Style? style, TextDirection direction, StateType state, IconSize size, Widget? widget, string? detail)
- public Pixbuf render_icon_pixbuf (StyleContext context, IconSize size)
- public Surface render_icon_surface (StyleContext context, IconSize size, int scale, Window? for_window)
- public void unref ()
Decrements the reference count on this
, and frees memory if the reference count reaches 0.