gtkImageNewFromPixmap: gtkImageNewFromPixmap

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

Description

Creates a GtkImage widget displaying pixmap with a mask. A GdkPixmap is a server-side image buffer in the pixel format of the current display. The GtkImage does not assume a reference to the pixmap or mask; you still need to unref them if you own references. GtkImage will add its own reference rather than adopting yours.

Usage

1
gtkImageNewFromPixmap(pixmap = NULL, mask = NULL, show = TRUE)

Arguments

pixmap

a GdkPixmap, or NULL. [ allow-none ]

mask

a GdkBitmap, or NULL. [ allow-none ]

Value

[GtkWidget] a new GtkImage

Author(s)

Derived by RGtkGen from GTK+ documentation


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