gdkImageNew {RGtk2}R Documentation

gdkImageNew

Description

Creates a new GdkImage.

Usage

gdkImageNew(type, visual, width, height)

Arguments

type [GdkImageType] the type of the GdkImage, one of GDK_IMAGE_NORMAL, GDK_IMAGE_SHARED and GDK_IMAGE_FASTEST. GDK_IMAGE_FASTEST is probably the best choice, since it will try creating a GDK_IMAGE_SHARED image first and if that fails it will then use GDK_IMAGE_NORMAL.
visual [GdkVisual] the GdkVisual to use for the image.
width [integer] the width of the image in pixels.
height [integer] the height of the image in pixels.

Value

[GdkImage] a new GdkImage, or NULL if the image could not be created.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]