2003-02-12 02:00:12 +00:00
<Type Name= "Editable" FullName= "Gtk.Editable" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public interface Editable : GLib.IWrapper" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-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 02:00:12 +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 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Interface for text-editing widgets.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Members >
<Member MemberName= "SelectRegion" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SelectRegion (int start, int end);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "start" Type= "System.Int32" />
<Parameter Name= "end" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Selects a region of text. </summary>
<param name= "start" > An integer, the start of the selected region.</param>
<param name= "end" > An integer, the end of the selected region.</param>
<remarks > The characters that are selected are those characters at positions from <paramref name= "start" /> up to, but not including <paramref name= "end" /> . If <paramref name= "end" /> is negative, then the the characters selected will be those characters from <paramref name= "start" /> to the end of the text.
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "GetChars" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public string GetChars (int start_pos, int end_pos);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "start_pos" Type= "System.Int32" />
<Parameter Name= "end_pos" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Retrieves a sequence of characters. The characters that are retrieved are those characters at positions from <paramref name= "start_pos" /> up to, but not including <paramref name= "end_pos" /> . If <paramref name= "end_pos" /> is negative, then the the characters retrieved will be those characters from <paramref name= "start_pos" /> to the end of the text.</summary>
<param name= "start_pos" > An integer; the start position</param>
<param name= "end_pos" > An integer; the end position</param>
<returns > The characters between <paramref name= "start_pos" /> and (but not including) <paramref name= "end_pos" /> .</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "DeleteText" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void DeleteText (int start_pos, int end_pos);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "start_pos" Type= "System.Int32" />
<Parameter Name= "end_pos" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Deletes a sequence of characters. The characters that are deleted are those characters at positions from <paramref name= "start_pos" /> up to, but not including <paramref name= "end_pos" /> . If <paramref name= "end_pos" /> is negative, then the the characters deleted will be those characters from <paramref name= "start_pos" /> to the end of the text.</summary>
<param name= "start_pos" > An integer; the start position</param>
<param name= "end_pos" > An integer; the end position</param>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "CopyClipboard" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void CopyClipboard ();" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Causes the characters in the current selection to be copied to the clipboard.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "DeleteSelection" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void DeleteSelection ();" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Causes the characters in the current selection to be deleted.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "GetSelectionBounds" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool GetSelectionBounds (out int start, out int end);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "start" Type= "System.Int32&" RefType= "out" />
<Parameter Name= "end" Type= "System.Int32&" RefType= "out" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Gets the current selection bounds, if there is a selection</summary>
<param name= "start" > An IntPtr to store the start position in.</param>
<param name= "end" > An IntPtr to store the end position in.</param>
<returns > Boolean, TRUE if there is a selection.</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "CutClipboard" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void CutClipboard ();" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Causes the characters in the current selection to be copied to the clipboard and then deleted from the widget.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "PasteClipboard" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void PasteClipboard ();" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Causes the contents of the clipboard to be pasted into the given widget at the current cursor position.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "IsEditable" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public bool IsEditable { set; get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Whether or not the user can edit the text in the editable widget or not.</summary>
2005-05-23 20:41:51 +00:00
<value > A boolean; TRUE if the user can edit the text.</value>
2004-08-06 13:18:10 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Position" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public int Position { set; get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > The current cursor position.</summary>
2005-05-23 20:41:51 +00:00
<value > An integer position for the cursor.</value>
2004-08-06 13:18:10 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "TextInserted" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.TextInsertedHandler TextInserted;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gtk.TextInsertedHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2005-09-19 00:36:43 +00:00
<summary > Raised whenever the user inserts text.</summary>
2004-08-06 13:18:10 +00:00
<remarks > The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with gtk_signal_emit_stop(), it is possible to modify the inserted text, or prevent it from being inserted entirely. (FIXME: Need Gtk# equivalent for gtk_signal_emit_stop().)</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "TextDeleted" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.TextDeletedHandler TextDeleted;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gtk.TextDeletedHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2005-09-19 00:36:43 +00:00
<summary > Raised whenever the user deletes text.</summary>
2004-08-06 13:18:10 +00:00
<remarks > The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with gtk_signal_emit_stop(), it is possible to modify the inserted text, or prevent it from being inserted entirely. The <paramref name= "start_pos" /> and <paramref name= "end_pos" /> parameters are interpreted as for <see cref= "F:Gtk.Editable.DeleteText()" /> (FIXME: need equivalent for gtk_signal_emit_stop().)</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Changed" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public event EventHandler Changed;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2005-09-19 00:36:43 +00:00
<summary > Raised when the user has changed the contents of the widget.</summary>
2004-08-06 13:18:10 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= "InsertText" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void InsertText (string new_text, ref int position);" />
2003-03-07 01:30:00 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "new_text" Type= "System.String" />
<Parameter Name= "position" Type= "System.Int32&" RefType= "ref" />
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Inserts <paramref name= "new_text" /> at <paramref name= "position" /> .</summary>
<param name= "new_text" > A string to insert.</param>
<param name= "position" > A pointer to the position within the Editable object for inserting the string.</param>
<remarks />
2003-03-07 01:30:00 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>