Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkImageNewFromPixbuf

gtkImageNewFromPixbuf


Description

Creates a new GtkImage displaying pixbuf. The GtkImage does not assume a reference to the pixbuf; you still need to unref it if you own references. GtkImage will add its own reference rather than adopting yours.

Usage

gtkImageNewFromPixbuf(pixbuf = NULL, show = TRUE)

Arguments

pixbuf

a GdkPixbuf, or NULL. [ allow-none ]

Details

Note that this function just creates an GtkImage from the pixbuf. The GtkImage created will not react to state changes. Should you want that, you should use gtkImageNewFromIconSet.

Value

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.