GObject.Object
Gdk.Image
Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-2.0.gir |
C documentation: | GdkImage |
Class : | Image |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
bits_per_pixel : Number
read only
|
Gdk.Image | |
bpl : Number
read only
|
Gdk.Image | |
bpp : Number
read only
|
Gdk.Image | |
byte_order : Gdk.ByteOrder
read only
|
Gdk.Image | |
colormap : Gdk.Colormap
read only
|
Gdk.Image | |
depth : Number
read only
|
Gdk.Image | |
height : Number
read only
|
Gdk.Image | |
mem : void*
read only
|
Gdk.Image | |
parent_instance : GObject.Object
read only
|
Gdk.Image | |
type : Gdk.ImageType
read only
|
Gdk.Image | |
visual : Gdk.Visual
read only
|
Gdk.Image | |
width : Number
read only
|
Gdk.Image | |
windowing_data : void*
read only
|
Gdk.Image |
Method / Constructor | Defined By | |
---|---|---|
new Gdk.Image
(Object properties)
Create a new Gdk.Image
Create a new Gdk.Image
|
||
Create a new Gdk.Image
Create a new Gdk.Image
|
||
This is a deprecated wrapper for gdk_drawable_get_image(); most cases gdk_pixbuf_get_from_drawable() is the most convenient choice.
This is a deprecated wrapper for gdk_drawable_get_image(); most cases gdk_pixbuf_get_from_drawable() is the most convenient choice.
|
Gdk.Image | |
get_colormap
()
:
Gdk.Colormap
Retrieves the colormap for a given image, if it exists.
Retrieves the colormap for a given image, if it exists. An image will have a colormap if the drawable from which it was created has a colormap, or if a colormap was set explicitely with gdk_image_set_colormap().
|
Gdk.Image | |
Gdk.Image | ||
Gdk.Image | ||
set_colormap
(Colormap colormap)
:
none
Sets the colormap for the image to the given colormap.
Sets the colormap for the image to the given colormap. Normally there's no need to use this function, images are created with the correct colormap if you get the image from a drawable. If you create the image from scratch, use the colormap of the drawable you intend to render the image to.
|
Gdk.Image |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdk
Method |
Gdk.draw_image
(Drawable drawable, GC gc, Image image, Number xsrc, Number ysrc, Number xdest, Number ydest, Number width, Number height)
:
none
Draws a GdkImage onto a drawable.
|
Gdk
Method |
Gdk.pixbuf_get_from_image
(Pixbuf dest, Image src, Colormap cmap, Number src_x, Number src_y, Number dest_x, Number dest_y, Number width, Number height)
:
GdkPixbuf.Pixbuf
Same as gdk_pixbuf_get_from_drawable() but gets the pixbuf from an image.
|
Gdk.Drawable
Method |
A GdkImage stores client-side image data (pixels).
|
Gdk.Drawable
Method |
copy_to_image
(Image image, Number src_x, Number src_y, Number dest_x, Number dest_y, Number width, Number height)
:
Gdk.Image
Copies a portion of drawable into the client side image structure and copies into that.
|
Gtk.Image
Property |
image : Gdk.Image
|
Gtk.Image
Method |
Create a new Gtk.Image
|
Gtk.Image
Method |
See gtk_image_new_from_image() for details.
|
Gtk.Image
Method |
get_image
()
:
Object
Gets the GdkImage and mask being displayed by the GtkImage.
|
Gtk.Image
Method |
Sets the GtkImage.
|
Gtk.Image
Method |
Gets the GtkImage.
|