gtkImageNewFromPixbuf: gtkImageNewFromPixbuf

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

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

1

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

[GtkWidget] a new GtkImage

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.