Contributions from Chris Turchin

svn path=/trunk/gtk-sharp/; revision=30468
This commit is contained in:
Miguel de Icaza 2004-06-28 00:05:45 +00:00
parent 73dd3a3b85
commit 88ce1074f3
5 changed files with 55 additions and 48 deletions

View file

@ -38,7 +38,7 @@ public class MagrittesWindow : Window {
this.Title = "This is not a Window"; this.Title = "This is not a Window";
this.SetDefaultSize (400, 300); this.SetDefaultSize (400, 300);
this.DeleteEvent += new DeleteEventHandler (MyWindow_Delete); this.DeleteEvent += new DeleteEventHandler (MagrittesWindow_Delete);
this.Add(button); this.Add(button);
this.ShowAll (); this.ShowAll ();
} }

View file

@ -10,8 +10,8 @@
</AssemblyInfo> </AssemblyInfo>
<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> <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>
<Docs> <Docs>
<summary>To be added</summary> <summary>Class containing static methods for grabbing and ungrabbing the pointer as well as checking IsGrabbed status.</summary>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
<Base> <Base>
<BaseTypeName>System.Object</BaseTypeName> <BaseTypeName>System.Object</BaseTypeName>
@ -29,9 +29,9 @@
<Parameter Name="time_" Type="System.UInt32" /> <Parameter Name="time_" Type="System.UInt32" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>Ungrab the pointer.</summary>
<param name="time_">a <see cref="T:System.UInt32" /></param> <param name="time_">a <see cref="T:System.UInt32" /></param>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Grab"> <Member MemberName="Grab">
@ -49,7 +49,7 @@
<Parameter Name="time_" Type="System.UInt32" /> <Parameter Name="time_" Type="System.UInt32" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>Try to grab pointer. Returns <see cref="T:Gdk.GrabStatus" /> enumeratioion value.</summary>
<param name="window">a <see cref="T:Gdk.Window" /></param> <param name="window">a <see cref="T:Gdk.Window" /></param>
<param name="owner_events">a <see cref="T:System.Boolean" /></param> <param name="owner_events">a <see cref="T:System.Boolean" /></param>
<param name="event_mask">a <see cref="T:Gdk.EventMask" /></param> <param name="event_mask">a <see cref="T:Gdk.EventMask" /></param>
@ -57,7 +57,7 @@
<param name="cursor">a <see cref="T:Gdk.Cursor" /></param> <param name="cursor">a <see cref="T:Gdk.Cursor" /></param>
<param name="time_">a <see cref="T:System.UInt32" /></param> <param name="time_">a <see cref="T:System.UInt32" /></param>
<returns>a <see cref="T:Gdk.GrabStatus" /></returns> <returns>a <see cref="T:Gdk.GrabStatus" /></returns>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName=".ctor"> <Member MemberName=".ctor">
@ -66,9 +66,9 @@
<ReturnValue /> <ReturnValue />
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>Default constructor.</summary>
<returns>a <see cref="T:Gdk.Pointer" /></returns> <returns>a <see cref="T:Gdk.Pointer" /></returns>
<remarks>To be added</remarks> <remarks>Class contains only static methods.</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="IsGrabbed"> <Member MemberName="IsGrabbed">
@ -79,9 +79,9 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>Readonly property indicating if pointer is grabbed.</summary>
<returns>a <see cref="T:System.Boolean" /></returns> <returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View file

@ -10,8 +10,8 @@
</AssemblyInfo> </AssemblyInfo>
<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> <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>
<Docs> <Docs>
<summary>To be added</summary> <summary>Represents a line segment defined as [(x1,y1),(x2,y2)]</summary>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
<Base> <Base>
<BaseTypeName>System.ValueType</BaseTypeName> <BaseTypeName>System.ValueType</BaseTypeName>
@ -27,8 +27,9 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>References a static field defined as new Gdk.Segment ();
<remarks>To be added</remarks> </summary>
<remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="New"> <Member MemberName="New">
@ -41,10 +42,10 @@
<Parameter Name="raw" Type="System.IntPtr" /> <Parameter Name="raw" Type="System.IntPtr" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>Returns a new <see cref="T:Gdk.Segment" /> object. </summary>
<param name="raw">To be added: an object of type 'IntPtr'</param> <param name="raw">an object of type 'IntPtr'</param>
<returns>To be added: an object of type 'Gdk.Segment'</returns> <returns>an object of type 'Gdk.Segment'</returns>
<remarks>To be added</remarks> <remarks>Passig IntPtr.Zero returns Gdk.Segment.Zero</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="X1"> <Member MemberName="X1">
@ -56,8 +57,8 @@
<Parameters> <Parameters>
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>First x-value for the line segment.</summary>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Y1"> <Member MemberName="Y1">
@ -69,8 +70,8 @@
<Parameters> <Parameters>
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>First y-value for the line segment.</summary>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="X2"> <Member MemberName="X2">
@ -82,8 +83,8 @@
<Parameters> <Parameters>
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>Second x-value for the line segment.</summary>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Y2"> <Member MemberName="Y2">
@ -95,8 +96,8 @@
<Parameters> <Parameters>
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>Second y-value for the line segment.</summary>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View file

@ -9,8 +9,8 @@
</AssemblyInfo> </AssemblyInfo>
<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> <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>
<Docs> <Docs>
<summary>To be added</summary> <summary>A value type representing a height and width.</summary>
<remarks>To be added</remarks> <remarks>The operators are also overridden so that plus (+) yields a new Size with widths and heights summed. minus (-) is imiplemented similarly. != and == are also implemented to check height and width values.</remarks>
</Docs> </Docs>
<Base> <Base>
<BaseTypeName>System.ValueType</BaseTypeName> <BaseTypeName>System.ValueType</BaseTypeName>
@ -27,8 +27,8 @@
<Parameters> <Parameters>
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>A static readonly Size </summary>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Equals"> <Member MemberName="Equals">
@ -41,10 +41,13 @@
<Parameter Name="o" Type="System.Object" /> <Parameter Name="o" Type="System.Object" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>
<para>Determines whether the current instance and a specified
<see cref="T:System.Object" /> represent the same value.</para>
</summary>
<param name="o">a <see cref="T:System.Object" /></param> <param name="o">a <see cref="T:System.Object" /></param>
<returns>a <see cref="T:System.Boolean" /></returns> <returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="GetHashCode"> <Member MemberName="GetHashCode">
@ -55,9 +58,11 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>
<para>Generates a hash code for the current instance.</para>
</summary>
<returns>a <see cref="T:System.Int32" /></returns> <returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks> <remarks>width^height</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="ToString"> <Member MemberName="ToString">
@ -68,9 +73,10 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>Overrides ToString method.</summary>
<returns>a <see cref="T:System.String" /></returns> <returns>a <see cref="T:System.String" /></returns>
<remarks>To be added</remarks> <remarks>yields: String.Format ("{{Width={0}, Height={1}}}", width, height);
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName=".ctor"> <Member MemberName=".ctor">
@ -81,10 +87,10 @@
<Parameter Name="pt" Type="Gdk.Point" /> <Parameter Name="pt" Type="Gdk.Point" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>Constructor based on <see cref="T:Gtk.Point" />. Initial height and width taken to be point.X and point.Y</summary>
<param name="pt">a <see cref="T:Gdk.Point" /></param> <param name="pt">a <see cref="T:Gdk.Point" /></param>
<returns>a <see cref="T:Gdk.Size" /></returns> <returns>a <see cref="T:Gdk.Size" /></returns>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName=".ctor"> <Member MemberName=".ctor">
@ -96,11 +102,11 @@
<Parameter Name="height" Type="System.Int32" /> <Parameter Name="height" Type="System.Int32" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>To be added</summary> <summary>Constructor with initial values for height and width.</summary>
<param name="width">a <see cref="T:System.Int32" /></param> <param name="width">a <see cref="T:System.Int32" /></param>
<param name="height">a <see cref="T:System.Int32" /></param> <param name="height">a <see cref="T:System.Int32" /></param>
<returns>a <see cref="T:Gdk.Size" /></returns> <returns>a <see cref="T:Gdk.Size" /></returns>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="IsEmpty"> <Member MemberName="IsEmpty">
@ -111,9 +117,9 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>Checks if height and width == 0</summary>
<returns>a <see cref="T:System.Boolean" /></returns> <returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Width"> <Member MemberName="Width">
@ -124,9 +130,9 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>Gets/sets the width value</summary>
<returns>a <see cref="T:System.Int32" /></returns> <returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Height"> <Member MemberName="Height">
@ -137,9 +143,9 @@
</ReturnValue> </ReturnValue>
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>Get/set the height value</summary>
<returns>a <see cref="T:System.Int32" /></returns> <returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks> <remarks />
</Docs> </Docs>
</Member> </Member>
</Members> </Members>

View file

@ -92,7 +92,7 @@ static void Main (string[] args)
<ReturnValue /> <ReturnValue />
<Parameters /> <Parameters />
<Docs> <Docs>
<summary>To be added</summary> <summary>The default constructor.</summary>
<returns>an object of type <see cref="T:Gdk.Threads" /></returns> <returns>an object of type <see cref="T:Gdk.Threads" /></returns>
<remarks>To be added</remarks> <remarks>To be added</remarks>
</Docs> </Docs>