gdk-sharp2.10.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Offscreen drawable.Pixmaps are offscreen drawables. They can be drawn upon with the standard drawing primitives, then copied to another drawable (such as a ) with .
The depth of a pixmap is the number of bits per pixels. Bitmaps are simply pixmaps with a depth of 1. (That is, they are monochrome bitmaps - each pixel can be either on or off).
Gdk.DrawableMethodGdk.PixmapLooks up the that wraps the given native pixmap handle.
a native pixmap handle.
the wrapper for the native window, or if there is none.Looks up the GdkPixmap that wraps the given native pixmap handle.
For example in the X backend, a native pixmap handle is an Xlib XID.
MethodGdk.PixmapWraps a native window for the default display in a . This may fail if the pixmap has been destroyed.
a native pixmap handle.
The newly-created wrapper for the native pixmap or if the pixmap has been destroyed.Wraps a native window for the default display in a GdkPixmap. This may fail if the pixmap has been destroyed.
For example in the X backend, a native pixmap handle is an Xlib XID.
ConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.MethodGdk.PixmapTo be added
a
a a To be addedMethodGdk.PixmapWraps a native pixmap in a . This may fail if the pixmap has been destroyed.
The where the pixmap is located.
a native pixmap handle.
The newly-created wrapper for the native pixmap or if the pixmap has been destroyed.Wraps a native pixmap in a GdkPixmap. This may fail if the pixmap has been destroyed.
For example in the X backend, a native pixmap handle is an Xlib XID.
MethodGdk.PixmapTo be added
a
a
a
a
a
a
a a To be addedConstructorCreates a new pixmap with the given size and depth.
A , used to determine default values for the new pixmap.
Can be if is specified
The width of the new pixmap in pixels.
The height of the new pixmap in pixels.
The depth (number of bits per pixel) of the new pixmap. If -1, and drawable is not , the depth of the new pixmap will be equal to that of drawable.
Create a new pixmap with a given size and depth. PropertyGLib.GTypeGType Property.a Returns the native value for .ConstructorProtected Constructor.
a Chain to this constructor if you have manually registered a native value for your subclass.System.Obsolete(Message=null, IsError=False)ConstructorCreate a new pixmap using a reference drawable for depth.
A , used to determine default values for the new pixmap.
The width of the new pixmap in pixels.
The height of the new pixmap in pixels.
Creates a new pixmap with a given size and depth.MethodGdk.PixmapCreate a pixmap from XPM data.
a
a
a
an array of , defining an XPM image
a To be addedMethodGdk.PixmapCreate a pixmap from an XPM file using a specific colormap.
a
a
a
a
a a To be addedMethodGdk.PixmapCreate a pixmap from an XPM file.
a
a
a
a a To be addedMethodGdk.PixmapCreate a pixmap from XPM data using a colormap.
a
a
a
a
an array of , defining an image in XPM format
a To be addedMethodGdk.PixmapTo be added
a
a
a a To be addedMethodGdk.PixmapTo be added
a
a a To be addedMethodGdk.PixmapTo be added
a
a
a a To be addedMethodGdk.PixmapTo be added
a
a a To be addedMethodGdk.PixmapCreates a new bitmap from data in XBM format.
A , used to determine default values for the new pixmap.
A string representing the XBM data.
The width of the new pixmap in pixels.
The height of the new pixmap in pixels.
The bitmap.None.MethodGdk.Pixmap
the desired screen.
Native pixmap handle, for example, an xlib XID.
Width of pixmap .
Height of pixmap .
Depth of pixmap .
Wraps a native Pixmap for a screen.a wrapping the native ID, or if the native pixmap is destroyed.Use this method as an alternative to when the dimensions and screen are known, which saves a roundtrip to the server on X.