Constructor
Gtk.Image.new_from_paintable
Declaration [src]
GtkWidget*
gtk_image_new_from_paintable (
GdkPaintable* paintable
)
Description [src]
Creates a new GtkImage displaying paintable.
The GtkImage does not assume a reference to the paintable; you still
need to unref it if you own references. GtkImage will add its own
reference rather than adopting yours.
The GtkImage will track changes to the paintable and update
its size and contents in response to it.
Parameters
paintable |
GdkPaintable* |
a |
|
Can be NULL | |
| Ownership is not transferred to the callee |
Return value
Returns: GtkWidget |
|
a new |
|
| Ownership is not transferred to the caller | |