Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Struct Gtk.IconSource

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkIconSource
Struct : IconSource
  Show / Hide Inherited methods, properties and signals
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
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
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, Number 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 Tue Jun 22 2010 16:34:39 GMT+0800 (HKT)