svn path=/trunk/gtk-sharp/; revision=38801
This commit is contained in:
Miguel de Icaza 2005-01-12 19:22:43 +00:00
parent 57ce0371e8
commit d9be65d6c7
2 changed files with 22 additions and 15 deletions

View file

@ -19,3 +19,4 @@ Documentation:
bis0n@mail.ru bis0n@mail.ru
fsjrb@uaf.edu fsjrb@uaf.edu
joe@fatnsoft.com joe@fatnsoft.com
pixelpapst@users.sourceforge.net

View file

@ -155,12 +155,14 @@
<Parameter Name="length" Type="System.Int32" /> <Parameter Name="length" Type="System.Int32" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Sets the data for a selection.</summary> <summary>Stores new data into this <see cref="T:Gtk.SelectionData" /> object. Should only be called from a selection handler callback.</summary>
<param name="type">a <see cref="T:Gdk.Atom" /></param> <param name="type">type of selection data (expressed via a <see cref="T:Gdk.Atom" />)</param>
<param name="format">a <see cref="T:System.Int32" />, the number of bits per data unit</param> <param name="format">format (number of bits in a unit) - set this to 8 and encode your data as UTF-8</param>
<param name="data">a <see cref="T:System.Byte[]" />, the data to be set</param> <param name="data">a <see cref="T:System.Byte" /> array containing the data to send to this selection object - use
<param name="length">a <see cref="T:System.Int32" />, the length of the data.</param> <see cref="P:System.Text.Encoding.UTF8" />.GetBytes(string) to encode string data as UTF-8 before passing it here
<remarks /> </param>
<param name="length">length of the data in bytes</param>
<remarks>The version <see cref="M:Gtk.SelectionData.Set(Gdk.Atom,System.Int32,System.Byte[])" /> auto-calculates the length for you.</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Set"> <Member MemberName="Set">
@ -175,10 +177,12 @@
<Parameter Name="data" Type="System.Byte[]" /> <Parameter Name="data" Type="System.Byte[]" />
</Parameters> </Parameters>
<Docs> <Docs>
<summary>Sets the data for a selection.</summary> <summary>Stores new data into this <see cref="T:Gtk.SelectionData" /> object. Should only be called from a selection handler callback.</summary>
<param name="type">a <see cref="T:Gdk.Atom" /></param> <param name="type">type of selection data (expressed via a <see cref="T:Gdk.Atom" />)</param>
<param name="format">a <see cref="T:System.Int32" />, the number of bits per data unit</param> <param name="format">format (number of bits in a unit) - set this to 8 and encode your data as UTF-8
<param name="data">a <see cref="T:System.Byte[]" />, the data to be set</param> </param>
<param name="data">a <see cref="T:System.Byte" /> array containing the data to send to this selection object - use
<see cref="P:System.Text.Encoding.UTF8" />.GetBytes(string) to encode string data as UTF-8 before passing it here</param>
<remarks /> <remarks />
</Docs> </Docs>
</Member> </Member>
@ -192,7 +196,8 @@
<Docs> <Docs>
<summary>The selected data.</summary> <summary>The selected data.</summary>
<returns>a <see cref="T:Gdk.Atom" /></returns> <returns>a <see cref="T:Gdk.Atom" /></returns>
<remarks></remarks> <remarks>
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Target"> <Member MemberName="Target">
@ -218,7 +223,8 @@
<Docs> <Docs>
<summary>Gets the selection data as an array of targets.</summary> <summary>Gets the selection data as an array of targets.</summary>
<returns>a <see cref="T:Gdk.Atom[]" /></returns> <returns>a <see cref="T:Gdk.Atom[]" /></returns>
<remarks></remarks> <remarks>
</remarks>
</Docs> </Docs>
</Member> </Member>
<Member MemberName="Type"> <Member MemberName="Type">