2003-02-12 01:57:20 +00:00
<Type Name= "Pixmap" FullName= "Gdk.Pixmap" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class Pixmap : Gdk.Drawable" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > gdk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2007-12-06 18:37:54 +00:00
<AssemblyVersion > 2.12.0.0</AssemblyVersion>
2003-02-12 01:57:20 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Offscreen drawable.</summary>
<remarks > Pixmaps are offscreen drawables. They can be drawn upon with the standard drawing primitives, then copied to another drawable (such as a <see cref= "T:Gdk.Window" /> ) with <see cref= "M:Gdk.Pixmap.Draw()" /> .
<para >
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).
</para> </remarks>
2003-02-12 01:57:20 +00:00
</Docs>
<Base >
<BaseTypeName > Gdk.Drawable</BaseTypeName>
</Base>
2007-01-16 15:28:18 +00:00
<Interfaces >
</Interfaces>
2003-02-12 01:57:20 +00:00
<Members >
<Member MemberName= "Lookup" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap Lookup (uint anid);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "anid" Type= "System.UInt32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Looks up the <see cref= "T:Gdk.Pixmap" /> that wraps the given native pixmap handle.</summary>
<param name= "anid" > a native pixmap handle.</param>
<returns > the <see cref= "T:Gdk.Window" /> wrapper for the native window, or <see langword= "null" /> if there is none.</returns>
<remarks > Looks up the GdkPixmap that wraps the given native pixmap handle.
<para >
For example in the X backend, a native pixmap handle is an Xlib XID.
</para> </remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "ForeignNew" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap ForeignNew (uint anid);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "anid" Type= "System.UInt32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Wraps a native window for the default display in a <see cref= "T:Gdk.Pixmap" /> . This may fail if the pixmap has been destroyed.</summary>
<param name= "anid" > a native pixmap handle.</param>
<returns > The newly-created <see cref= "T:Gdk.Pixmap" /> wrapper for the native pixmap or <see langword= "null" /> if the pixmap has been destroyed.</returns>
<remarks > Wraps a native window for the default display in a GdkPixmap. This may fail if the pixmap has been destroyed.
<para >
For example in the X backend, a native pixmap handle is an Xlib XID.
</para> </remarks>
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Pixmap (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName= "LookupForDisplay" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap LookupForDisplay (Gdk.Display display, uint anid);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "display" Type= "Gdk.Display" />
<Parameter Name= "anid" Type= "System.UInt32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
<summary > To be added</summary>
2003-07-17 06:38:40 +00:00
<param name= "display" > a <see cref= "T:Gdk.Display" /> </param>
<param name= "anid" > a <see cref= "T:System.UInt32" /> </param>
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
2003-02-12 01:57:20 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "ForeignNewForDisplay" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap ForeignNewForDisplay (Gdk.Display display, uint anid);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "display" Type= "Gdk.Display" />
<Parameter Name= "anid" Type= "System.UInt32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Wraps a native pixmap in a <see cref= "T:Gdk.Pixmap" /> . This may fail if the pixmap has been destroyed.</summary>
<param name= "display" > The <see cref= "T:Gdk.Display" /> where the pixmap is located.</param>
<param name= "anid" > a native pixmap handle.</param>
<returns > The newly-created <see cref= "T:Gdk.Pixmap" /> wrapper for the native pixmap or <see langword= "null" /> if the pixmap has been destroyed.</returns>
<remarks > Wraps a native pixmap in a GdkPixmap. This may fail if the pixmap has been destroyed.
<para >
For example in the X backend, a native pixmap handle is an Xlib XID.
</para> </remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "CreateFromData" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap CreateFromData (Gdk.Drawable drawable, string data, int width, int height, int depth, Gdk.Color fg, Gdk.Color bg);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
2003-02-12 01:57:20 +00:00
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
<Parameter Name= "data" Type= "System.String" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "depth" Type= "System.Int32" />
<Parameter Name= "fg" Type= "Gdk.Color" />
<Parameter Name= "bg" Type= "Gdk.Color" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
<summary > To be added</summary>
2003-07-17 06:38:40 +00:00
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
<param name= "data" > a <see cref= "T:System.String" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
<param name= "depth" > a <see cref= "T:System.Int32" /> </param>
<param name= "fg" > a <see cref= "T:Gdk.Color" /> </param>
<param name= "bg" > a <see cref= "T:Gdk.Color" /> </param>
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
2003-02-12 01:57:20 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= ".ctor" >
2003-07-17 06:38:40 +00:00
<MemberSignature Language= "C#" Value= "public Pixmap (Gdk.Drawable drawable, int width, int height, int depth);" />
2003-03-07 01:30:00 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "depth" Type= "System.Int32" />
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Creates a new pixmap with the given size and depth.</summary>
<param name= "drawable" > A <see cref= "T:Gdk.Drawable" /> , used to determine default values for the new pixmap.
Can be <see langword= "null" /> if <paramref name= "depth" /> is specified</param>
<param name= "width" > The width of the new pixmap in pixels.</param>
<param name= "height" > The height of the new pixmap in pixels.</param>
<param name= "depth" > The depth (number of bits per pixel) of the new pixmap. If -1, and drawable is not <see langword= "null" /> , the depth of the new pixmap will be equal to that of drawable.</param>
<remarks > Create a new pixmap with a given size and depth. </remarks>
2003-03-07 01:30:00 +00:00
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gdk.Pixmap" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Pixmap (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 15:28:18 +00:00
<AttributeName > System.Obsolete</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-05-27 19:02:19 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Pixmap (Gdk.Drawable drawable, int width, int height);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Create a new pixmap using a reference drawable for depth.</summary>
<param name= "drawable" > A <see cref= "T:Gdk.Drawable" /> , used to determine default values for the new pixmap.</param>
<param name= "width" > The width of the new pixmap in pixels.</param>
<param name= "height" > The height of the new pixmap in pixels.</param>
<remarks > Creates a new pixmap with a given size and depth.</remarks>
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
2004-09-03 15:53:34 +00:00
<Member MemberName= "CreateFromXpmD" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap CreateFromXpmD (Gdk.Drawable drawable, out Gdk.Pixmap mask, Gdk.Color transparent_color, string[] data);" />
2004-09-03 15:53:34 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
2004-10-28 19:26:15 +00:00
<Parameter Name= "mask" Type= "Gdk.Pixmap&" RefType= "out" />
2004-09-03 15:53:34 +00:00
<Parameter Name= "transparent_color" Type= "Gdk.Color" />
2004-10-28 19:26:15 +00:00
<Parameter Name= "data" Type= "System.String[]" />
2004-09-03 15:53:34 +00:00
</Parameters>
<Docs >
<summary > Create a pixmap from XPM data.</summary>
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
2004-10-28 19:26:15 +00:00
<param name= "mask" > a <see cref= "T:Gdk.Pixmap" /> </param>
2004-09-03 15:53:34 +00:00
<param name= "transparent_color" > a <see cref= "T:Gdk.Color" /> </param>
2004-10-28 19:26:15 +00:00
<param name= "data" > an array of <see cref= "T:System.String" /> , defining an XPM image</param>
2004-09-03 15:53:34 +00:00
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ColormapCreateFromXpm" >
2004-10-28 19:26:15 +00:00
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap ColormapCreateFromXpm (Gdk.Drawable drawable, Gdk.Colormap colormap, out Gdk.Pixmap mask, Gdk.Color transparent_color, string filename);" />
2004-09-03 15:53:34 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
<Parameter Name= "colormap" Type= "Gdk.Colormap" />
2004-10-28 19:26:15 +00:00
<Parameter Name= "mask" Type= "Gdk.Pixmap&" RefType= "out" />
2004-09-03 15:53:34 +00:00
<Parameter Name= "transparent_color" Type= "Gdk.Color" />
<Parameter Name= "filename" Type= "System.String" />
</Parameters>
<Docs >
<summary > Create a pixmap from an XPM file using a specific colormap.</summary>
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
<param name= "colormap" > a <see cref= "T:Gdk.Colormap" /> </param>
2004-10-28 19:26:15 +00:00
<param name= "mask" > a <see cref= "T:Gdk.Pixmap" /> </param>
2004-09-03 15:53:34 +00:00
<param name= "transparent_color" > a <see cref= "T:Gdk.Color" /> </param>
<param name= "filename" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "CreateFromXpm" >
2004-10-28 19:26:15 +00:00
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap CreateFromXpm (Gdk.Drawable drawable, out Gdk.Pixmap mask, Gdk.Color transparent_color, string filename);" />
2004-09-03 15:53:34 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
2004-10-28 19:26:15 +00:00
<Parameter Name= "mask" Type= "Gdk.Pixmap&" RefType= "out" />
2004-09-03 15:53:34 +00:00
<Parameter Name= "transparent_color" Type= "Gdk.Color" />
<Parameter Name= "filename" Type= "System.String" />
</Parameters>
<Docs >
<summary > Create a pixmap from an XPM file.</summary>
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
2004-10-28 19:26:15 +00:00
<param name= "mask" > a <see cref= "T:Gdk.Pixmap" /> </param>
2004-09-03 15:53:34 +00:00
<param name= "transparent_color" > a <see cref= "T:Gdk.Color" /> </param>
<param name= "filename" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ColormapCreateFromXpmD" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap ColormapCreateFromXpmD (Gdk.Drawable drawable, Gdk.Colormap colormap, out Gdk.Pixmap mask, Gdk.Color transparent_color, string[] data);" />
2004-09-03 15:53:34 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
<Parameter Name= "colormap" Type= "Gdk.Colormap" />
2004-10-28 19:26:15 +00:00
<Parameter Name= "mask" Type= "Gdk.Pixmap&" RefType= "out" />
2004-09-03 15:53:34 +00:00
<Parameter Name= "transparent_color" Type= "Gdk.Color" />
2004-10-28 19:26:15 +00:00
<Parameter Name= "data" Type= "System.String[]" />
2004-09-03 15:53:34 +00:00
</Parameters>
<Docs >
<summary > Create a pixmap from XPM data using a colormap.</summary>
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
<param name= "colormap" > a <see cref= "T:Gdk.Colormap" /> </param>
2004-10-28 19:26:15 +00:00
<param name= "mask" > a <see cref= "T:Gdk.Pixmap" /> </param>
2004-09-03 15:53:34 +00:00
<param name= "transparent_color" > a <see cref= "T:Gdk.Color" /> </param>
2004-10-28 19:26:15 +00:00
<param name= "data" > an array of <see cref= "T:System.String" /> , defining an image in XPM format</param>
2004-09-03 15:53:34 +00:00
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2004-10-07 15:46:51 +00:00
<Member MemberName= "ColormapCreateFromXpm" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap ColormapCreateFromXpm (Gdk.Drawable drawable, Gdk.Colormap colormap, string filename);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
<Parameter Name= "colormap" Type= "Gdk.Colormap" />
<Parameter Name= "filename" Type= "System.String" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
<param name= "colormap" > a <see cref= "T:Gdk.Colormap" /> </param>
<param name= "filename" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2004-10-28 19:26:15 +00:00
<Member MemberName= "CreateFromXpm" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap CreateFromXpm (Gdk.Drawable drawable, string filename);" />
2004-10-07 15:46:51 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
2004-10-28 19:26:15 +00:00
<Parameter Name= "filename" Type= "System.String" />
2004-10-07 15:46:51 +00:00
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
2004-10-28 19:26:15 +00:00
<param name= "filename" > a <see cref= "T:System.String" /> </param>
2004-10-07 15:46:51 +00:00
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2004-10-28 19:26:15 +00:00
<Member MemberName= "ColormapCreateFromXpmD" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap ColormapCreateFromXpmD (Gdk.Drawable drawable, Gdk.Colormap colormap, string data);" />
2004-10-07 15:46:51 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
2004-10-28 19:26:15 +00:00
<Parameter Name= "colormap" Type= "Gdk.Colormap" />
<Parameter Name= "data" Type= "System.String" />
2004-10-07 15:46:51 +00:00
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
2004-10-28 19:26:15 +00:00
<param name= "colormap" > a <see cref= "T:Gdk.Colormap" /> </param>
<param name= "data" > a <see cref= "T:System.String" /> </param>
2004-10-07 15:46:51 +00:00
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "CreateFromXpmD" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap CreateFromXpmD (Gdk.Drawable drawable, string data);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
<Parameter Name= "data" Type= "System.String" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "drawable" > a <see cref= "T:Gdk.Drawable" /> </param>
<param name= "data" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2004-12-03 20:42:12 +00:00
<Member MemberName= "CreateBitmapFromData" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap CreateBitmapFromData (Gdk.Drawable drawable, string data, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "drawable" Type= "Gdk.Drawable" />
<Parameter Name= "data" Type= "System.String" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > Creates a new bitmap from data in XBM format.</summary>
<param name= "drawable" > A <see cref= "T:Gdk.Drawable" /> , used to determine default values for the new pixmap.</param>
<param name= "data" > A string representing the XBM data.</param>
<param name= "width" > The width of the new pixmap in pixels.</param>
<param name= "height" > The height of the new pixmap in pixels.</param>
<returns > The bitmap.</returns>
<remarks > None.</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-12-03 20:42:12 +00:00
</Docs>
</Member>
2006-08-04 17:55:35 +00:00
<Member MemberName= "ForeignNewForScreen" >
<MemberSignature Language= "C#" Value= "public static Gdk.Pixmap ForeignNewForScreen (Gdk.Screen screen, uint anid, int width, int height, int depth);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "screen" Type= "Gdk.Screen" />
<Parameter Name= "anid" Type= "System.UInt32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "depth" Type= "System.Int32" />
</Parameters>
<Docs >
<param name= "screen" > the desired screen.</param>
<param name= "anid" > Native pixmap handle, for example, an xlib XID.</param>
<param name= "width" > Width of pixmap <paramref name= "anid" /> .</param>
<param name= "height" > Height of pixmap <paramref name= "anid" /> .</param>
<param name= "depth" > Depth of pixmap <paramref name= "anid" /> .</param>
<summary > Wraps a native Pixmap for a screen.</summary>
<returns > a <see cref= "T:Gdk.Pixmap" /> wrapping the native ID, or <see langword= "null" /> if the native pixmap is destroyed.</returns>
<remarks > Use this method as an alternative to <see cref= "M:Gdk.Pixmap.ForeignNewForDisplay" /> when the dimensions and screen are known, which saves a roundtrip to the server on X.</remarks>
<since version= "Gtk# 2.10" />
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>