Pike v8.1 release 6

Class GTK2.Image

Inheritance graph
Description

An image is a image object stored in client, not X server, memory. A pixmap, on the other hand, is a image object stored in the X-server. See GDK2.Image and GDK2.Pixmap.

 GTK2.Image("tornado_nguyen_big.jpg");

Properties: string file string icon-name icon-set int icon-size GDK2.Image image GDK2.Pixmap mask GDK2.Pixbuf pixbuf GDK2.PixbufAnimation pixbuf-animation int pixel-size GDK2.Pixmap pixmap string stock int storage-type IMAGE_ANIMATION, IMAGE_EMPTY, IMAGE_ICON_NAME, IMAGE_ICON_SET, IMAGE_IMAGE, IMAGE_PIXBUF, IMAGE_PIXMAP and IMAGE_STOCK


Inherit Misc

inherit GTK2.Misc : Misc


Method create

GTK2.Image GTK2.Image(string|GdkPixbuf|GdkPixbufAnimation|GdkImage|GdkPixmap|mapping file_or_props, GTK2.GdkBitmap mask_or_size)

Description

Create a new W(Image) from either a file or a GDK2.Pixbuf.