2003-02-12 01:57:20 +00:00
<Type Name= "EditableText" FullName= "Atk.EditableText" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public abstract interface EditableText;" Maintainer= "auto" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > atk-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-24 22:17:50 +00:00
<summary > The ATK interface implemented by components containing user-editable text content</summary>
<remarks >
<para >
<see cref= "T:Atk.EditableText" /> should be implemented by UI components which
contain text which the user can edit, via the <see
cref="T:Atk.Object" /> corresponding to that component (see <see cref= "T:Atk.Object" /> ).
</para>
<para >
<see cref= "T:Atk.EditableText" /> is a subclass of <see
cref="T:Atk.Text" />, and as such, an
object which implements AtkEditableText is by definition an
<see cref= "T:Atk.Text" /> implementor as well.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
<Base />
<Interfaces >
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members >
<Member MemberName= "DeleteText" >
<MemberSignature Language= "C#" Value= "public virtual void DeleteText (int start_pos, int end_pos);" />
<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 01:57:20 +00:00
<Docs >
2004-06-24 22:17:50 +00:00
<summary > Delete text</summary>
<param name= "start_pos" > start position</param>
<param name= "end_pos" > end position</param>
<remarks >
<para >
This only deletes text up to, but not including <paramref
2004-06-24 23:19:41 +00:00
name="end_pos" />. </para>
2004-06-24 22:17:50 +00:00
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "PasteText" >
<MemberSignature Language= "C#" Value= "public virtual void PasteText (int position);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-24 22:17:50 +00:00
<summary > Paste text from clipboard to specified position.</summary>
<param name= "position" > position to paste</param>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "CutText" >
<MemberSignature Language= "C#" Value= "public virtual void CutText (int start_pos, int end_pos);" />
<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 01:57:20 +00:00
<Docs >
2004-06-24 22:17:50 +00:00
<summary > Cut text</summary>
<param name= "start_pos" > start position</param>
<param name= "end_pos" > end position</param>
<remarks >
<para >
This method only cuts the text up to <paremref
name="end_pos" />, it does not include the text at that position.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "CopyText" >
<MemberSignature Language= "C#" Value= "public virtual void CopyText (int start_pos, int end_pos);" />
<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 01:57:20 +00:00
<Docs >
2004-06-24 22:17:50 +00:00
<summary > Copy text</summary>
<param name= "start_pos" > start position</param>
<param name= "end_pos" > end position</param>
<remarks >
<para >
This method only copies the text up to <paremref
name="end_pos" />, it does not include the text at that position.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "SetRunAttributes" >
<MemberSignature Language= "C#" Value= "public virtual bool SetRunAttributes (GLib.SList attrib_set, int start_offset, int end_offset);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "attrib_set" Type= "GLib.SList" />
<Parameter Name= "start_offset" Type= "System.Int32" />
<Parameter Name= "end_offset" Type= "System.Int32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-24 22:17:50 +00:00
<summary > Sets the attributes for a specified range.</summary>
<param name= "attrib_set" > an <see cref= "T:Atk.AttributeSet" /> </param>
<param name= "start_offset" > start of range in which to set attributes</param>
<param name= "end_offset" > end of range in which to set attributes</param>
<returns >
<see langword= "true" /> if attributes successfully set for
the specified range, otherwise <see langword= "false" />
</returns>
<remarks >
<para >
Sets the attributes for a specified range. See the
ATK_ATTRIBUTE macros (such as ATK_ATTRIBUTE_LEFT_MARGIN)
for examples of attributes that can be set. Note that
other attributes that do not have corresponding
ATK_ATTRIBUTE macros may also be set for certain text
widgets.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "TextContents" >
<MemberSignature Language= "C#" Value= "public virtual string TextContents { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-24 22:17:50 +00:00
<summary > Set text contents of text.</summary>
<param name= "value" > string to set for text contents of text</param>
<returns > contents of text</returns>
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "InsertText" >
<MemberSignature Language= "C#" Value= "public virtual int InsertText (string str1ng);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "str1ng" Type= "System.String" />
</Parameters>
<Docs >
2004-06-24 22:17:50 +00:00
<summary > Insert text at a given position.</summary>
<param name= "str1ng" > the text to insert</param>
<returns > the position after the text has been inserted</returns> .
<remarks />
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2004-05-27 19:02:19 +00:00
</Type>