2003-02-12 01:57:20 +00:00
<Type Name= "Cursor" FullName= "Gdk.Cursor" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public sealed struct Cursor;" Maintainer= "auto" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > gdk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 01:57:20 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 01:57:20 +00:00
<Attributes />
</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 > Standard and pixmap cursors</summary>
<remarks > The <see cref= "T:Gdk.Cursor" /> represents cursors.</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "Ref" >
<MemberSignature Language= "C#" Value= "public Gdk.Cursor Ref ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Cursor</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Adds a reference to the cursor</summary>
<returns > Same cursor that was passed in.</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "Unref" >
<MemberSignature Language= "C#" Value= "public void Unref ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Removes a reference from cursor, deallocating the cursor if no references remain.</summary>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "Display" >
<MemberSignature Language= "C#" Value= "public Gdk.Display Display { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Display</ReturnType>
</ReturnValue>
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Returns the display on which the <see cref= "T:Gdk.Cursor" /> is defined.</summary>
<returns > The <see cref= "T:Gdk.Display" /> where the cursor is defined.</returns>
<remarks />
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
2003-10-12 09:06:39 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Cursor (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "raw" > a <see cref= "T:System.IntPtr" /> </param>
<returns > a <see cref= "T:Gdk.Cursor" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Cursor (Gdk.CursorType cursor_type);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "cursor_type" Type= "Gdk.CursorType" />
</Parameters>
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Creates a cursor from standard definitions.</summary>
<param name= "cursor_type" > The cursor type.</param>
2003-10-12 09:06:39 +00:00
<returns > a <see cref= "T:Gdk.Cursor" /> </returns>
2004-06-23 14:45:23 +00:00
<remarks > Creates a new cursor from the set of builtin cursors for the default display. See gdk_cursor_new_for_display().
<para >
To make the cursor invisible, use gdk_cursor_new_from_pixmap() to create a cursor with no pixels in it.
</para> </remarks>
2003-10-12 09:06:39 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Cursor (Gdk.Display display, Gdk.CursorType cursor_type);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-07-17 06:38:40 +00:00
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "display" Type= "Gdk.Display" />
<Parameter Name= "cursor_type" Type= "Gdk.CursorType" />
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
<summary > To be added</summary>
<param name= "display" > a <see cref= "T:Gdk.Display" /> </param>
<param name= "cursor_type" > a <see cref= "T:Gdk.CursorType" /> </param>
<returns > a <see cref= "T:Gdk.Cursor" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2003-10-12 09:06:39 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Cursor (Gdk.Pixmap source, Gdk.Pixmap mask, Gdk.Color fg, Gdk.Color bg, int x, int y);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "source" Type= "Gdk.Pixmap" />
<Parameter Name= "mask" Type= "Gdk.Pixmap" />
<Parameter Name= "fg" Type= "Gdk.Color" />
<Parameter Name= "bg" Type= "Gdk.Color" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
</Parameters>
<Docs >
2004-06-23 14:45:23 +00:00
<summary > Creates a new cursor from a given pixmap and mask.</summary>
<param name= "source" > The <see cref= "T:Gdk.Pixmap" /> the pixmap specifying the cursor. </param>
<param name= "mask" > The <see cref= "T:Gdk.Pixmap" /> specifying the mask, which must be the same size as source.</param>
<param name= "fg" > the foreground color, used for the bits in the source which are 1. The color does not have to be allocated first.</param>
<param name= "bg" > the background color, used for the bits in the source which are 0. The color does not have to be allocated first.</param>
<param name= "x" > the horizontal offset of the 'hotspot' of the cursor.</param>
<param name= "y" > the vertical offset of the 'hotspot' of the cursor.</param>
2003-10-12 09:06:39 +00:00
<returns > a <see cref= "T:Gdk.Cursor" /> </returns>
2004-06-23 14:45:23 +00:00
<remarks > Creates a new cursor from a given pixmap and mask. Both the pixmap and mask must have a depth of 1 (i.e. each pixel has only 2 values - on or off). The standard cursor size is 16 by 16 pixels.
<example >
<code lang= "C#" >
Gdk.Pixmap pixmap = GetPixmap ();
Gdk.Bitmap mask = GetMask ();
Gdk.Cursor cursor = new Gdk.Cursor (pixmap, mask);
</code>
</example> </remarks>
2003-10-12 09:06:39 +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>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gdk.Cursor" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2003-09-17 21:56:59 +00:00
</Type>