Module dui.Image
Constructor Summary | |
---|---|
package |
(GtkWidget* gtkWidget) |
() creates a new image |
|
(Pixmap pixmap, Bitmap mask) creates a new image from a pixmap and a mask |
|
(Image image, Bitmap mask, bit dummy) creates a new image from and image and a mask |
|
(char filename) Creates a new image from a file |
|
(String filename) |
|
(Pixbuf pixbuf) creates a new image from a pixbuf |
|
(Stock stockID, IconSize size) creates a new image from the stock of images (same as the stock of buttons. |
|
(GtkIconSet* icon_set, IconSize size) Creates a new Image from and icon set with a size |
|
(GdkPixbufAnimation* animation, bit dummy) Create a new Image from an animation |
Methods Summary | |
---|---|
public static GType |
getType() Gets this class type |
void |
setFromPixmap(Pixmap pixmap, Bitmap mask) Sets this image from a pixmap and a mask |
void |
setFromImage(GdkImage* gdk_image, Bitmap mask) setFromImage |
void |
setFromFile(char filename) setFromFile |
void |
setFromFile(String filename) |
void |
setFromPixbuf(Pixbuf pixbuf) setFromPixbuf |
void |
setFromStock(Stock stockID, IconSize size) setFromStock |
void |
setFromIconSet(GtkIconSet* icon_set, IconSize size) setFromIconSet |
void |
setFromAnimation(GdkPixbufAnimation* animation) setFromAnimation |
GtkImageType |
getStorageType() getStorageType |
void |
getPixmap(GdkPixmap** pixmap, GdkBitmap** mask) getPixmap |
void |
getImage(GdkImage** gdk_image, GdkBitmap** mask) getImage |
Pixbuf |
getPixbuf() |
void |
getStock(gchar** stock_id, IconSize* size) |
void |
getIconSet(GtkIconSet** icon_set, IconSize* size) getIconSet |
GdkPixbufAnimation* |
getAnimation() getAnimation |