2003-02-12 02:00:12 +00:00
<Type Name= "TextMark" FullName= "Gtk.TextMark" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "duncan" Value= "public class TextMark : GLib.Object" />
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 >
2003-07-14 00:48:35 +00:00
<summary >
2004-07-22 21:52:21 +00:00
A <see cref= "T:Gtk.TextMark" /> is like a bookmark in a text buffer; it preserves a position in the text.
2003-07-14 00:48:35 +00:00
</summary>
<remarks >
<para >
A GtkTextMark is like a bookmark in a text buffer; it
preserves a position in the text. You can convert the mark to
2003-07-17 06:38:40 +00:00
an <see cref= "T:Gtk.TextIter" /> iterator using <see cref= "M:Gtk.TextBuffer.GetIterAtMark(Gtk.TextMark)" /> . Unlike
2003-07-14 00:48:35 +00:00
iterators, marks remain valid across buffer mutations, because
their behavior is defined when text is inserted or
deleted. When text containing a mark is deleted, the mark
remains in the position originally occupied by the deleted
text. When text is inserted at a mark, a mark with left
gravity will be moved to the beginning of the newly-inserted
text, and a mark with right gravity will be moved to the
end.
</para>
<para >
Marks optionally have names; these can be convenient to avoid
passing the <see cref= "T:Gtk.TextMark" /> object around.
</para>
<para >
Marks are typically created using the
<see cref= "M:Gtk.TextMark.CreateMark(Gtk.TextMark)" /> function.
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > GLib.Object</BaseTypeName>
</Base>
2007-01-16 16:18:05 +00:00
<Interfaces >
</Interfaces>
2003-02-12 02:00:12 +00:00
<Members >
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public TextMark (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Name" >
<MemberSignature Language= "C#" Value= "public string Name { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Docs >
2003-07-14 00:48:35 +00:00
<summary > The name of the mark</summary>
2005-05-23 20:41:51 +00:00
<value >
2003-07-14 00:48:35 +00:00
Returns the name of the mark and <see langword= "null" /> if
it's an anonymous mark
2005-05-23 20:41:51 +00:00
</value>
2003-07-14 00:48:35 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
2008-02-29 17:57:31 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property("name")</AttributeName>
</Attribute>
</Attributes>
2003-02-12 02:00:12 +00:00
</Member>
<Member MemberName= "Deleted" >
<MemberSignature Language= "C#" Value= "public bool Deleted { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Whether or not the mark has been removed</summary>
2005-05-23 20:41:51 +00:00
<value > Returns <see langword= "true" /> if the mark has been removed from its buffer.</value>
2003-07-14 00:48:35 +00:00
<remarks >
<para >
Returns <see langword= "true" /> if the mark has been
2003-07-17 06:38:40 +00:00
removed from its buffer with <see cref= "M:Gtk.TextBuffer.DeleteMark(Gtk.TextMark)" /> . Marks
2003-07-14 00:48:35 +00:00
can't be used once they are deleted.
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "LeftGravity" >
<MemberSignature Language= "C#" Value= "public bool LeftGravity { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
2003-07-14 00:48:35 +00:00
<summary > Whether or not the mark has left gravity</summary>
2005-05-23 20:41:51 +00:00
<value >
2003-07-14 00:48:35 +00:00
<see langword= "true" /> if the mark has left gravity,
<see langword= "false" /> otherwise.
2005-05-23 20:41:51 +00:00
</value>
2003-07-14 00:48:35 +00:00
<remarks >
"left" and "right" here refer to logical direction (left is
the toward the start of the buffer); in some languages such
as Hebrew the logically-leftmost text is not actually on the
left when displayed.
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
2008-02-29 17:57:31 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Property("left-gravity")</AttributeName>
</Attribute>
</Attributes>
2003-02-12 02:00:12 +00:00
</Member>
<Member MemberName= "Visible" >
<MemberSignature Language= "C#" Value= "public bool Visible { set; get; };" />
<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 >
2003-07-14 00:48:35 +00:00
<summary > The visibility of the mark</summary>
2005-05-23 20:41:51 +00:00
<value >
<see langword= "true" /> if the mark is visible (i.e. a cursor is displayed for it)</value>
2003-07-14 00:48:35 +00:00
<remarks >
<para >
The insertion point is normally visible, i.e. you can see
it as a vertical bar. Also, the text widget uses a visible
mark to indicate where a drop will occur when
dragging-and-dropping text. Most other marks are not
visible. Marks are not visible by default.
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Buffer" >
<MemberSignature Language= "C#" Value= "public Gtk.TextBuffer Buffer { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.TextBuffer</ReturnType>
</ReturnValue>
<Docs >
2003-07-14 00:48:35 +00:00
<summary >
Gets the buffer where this mark is located
</summary>
2005-05-23 20:41:51 +00:00
<value > The buffer where this mark is applied</value>
2003-07-14 00:48:35 +00:00
<remarks >
<see langword= "null" /> is returned if the mark has been deleted.
</remarks>
2003-02-12 02:00:12 +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>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.TextMark" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= ".ctor" >
2003-12-24 01:35:30 +00:00
<MemberSignature Language= "C#" Value= "protected TextMark (GLib.GType gtype);" />
2003-03-07 01:30:00 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-12-24 01:35:30 +00:00
<Parameter Name= "gtype" Type= "GLib.GType" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
2005-08-23 17:02:47 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > System.Obsolete</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-08-23 17:02:47 +00:00
</Attributes>
</Member>
2004-06-01 18:05:26 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected TextMark ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-07-22 21:52:21 +00:00
<summary > Default constructor</summary>
<remarks />
2004-06-01 18:05:26 +00:00
</Docs>
</Member>
2008-02-29 17:57:31 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public TextMark (string name, bool left_gravity);" />
<MemberType > Constructor</MemberType>
<Parameters >
<Parameter Name= "name" Type= "System.String" />
<Parameter Name= "left_gravity" Type= "System.Boolean" />
</Parameters>
<Docs >
<param name= "name" > To be added.</param>
<param name= "left_gravity" > To be added.</param>
<summary > Public constructor.</summary>
<remarks > To be added.</remarks>
<since version= "Gtk# 2.12" />
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>