Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Struct Gtk.IconSource

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkIconSource
Struct : IconSource
Properties
None
Methods / Constructors
Method / Constructor Defined By
 
new Gtk.IconSource.c_new () : Gtk.IconSource
Create a new Gtk.IconSource
Create a new Gtk.IconSource
Returns:
Gtk.IconSource a new GtkIconSource
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk
Method
Gtk.render_icon_pixbuf (StyleContext context, IconSource source, gint32 size) : GdkPixbuf.Pixbuf
Renders the icon specified by source at the given size, returning the result
in a pixbuf.
Gtk.IconSet
Method
add_source (IconSource source) : none
Icon sets have a list of GtkIconSource, which they use as base
icons for rendering icons in different states and sizes.
Gtk.Style
Method
render_icon (IconSource source, TextDirection direction, StateType state, gint32 size, Widget widget, String detail) : GdkPixbuf.Pixbuf
Renders the icon specified by source at the given size
according to the given parameters and returns the result in a
pixbuf.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:15:07 GMT+0800 (HKT)