1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
|
<Type Name="AttrList" FullName="Pango.AttrList">
<TypeSignature Language="C#" Maintainer="auto" Value="public class AttrList : GLib.Opaque" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AttrList extends GLib.Opaque" />
<AssemblyInfo>
<AssemblyName>pango-sharp</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
</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>
<Base>
<BaseTypeName>GLib.Opaque</BaseTypeName>
</Base>
<Interfaces>
</Interfaces>
<Docs>
<summary>Represents a list of attributes that apply to a section of text.</summary>
<remarks>The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through <see cref="M:Pango.AttrList.Change()" />, the overlap between properties will meet stricter criteria.
<para>Since the <see cref="T:Pango.AttrList" /> is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single <see cref="T:Pango.AttrList" /> for more than one paragraph of text.
</para></remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AttrList ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>Default constructor</summary>
<remarks />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AttrList (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">Pointer to the C object.</param>
<summary>Internal constructor</summary>
<remarks>
<para>This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Change">
<MemberSignature Language="C#" Value="public void Change (Pango.Attribute attr);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Change(class Pango.Attribute attr) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="attr" Type="Pango.Attribute" />
</Parameters>
<Docs>
<param name="attr">a <see cref="T:Pango.Attribute" /></param>
<summary>Insert the given attribute into the list.</summary>
<remarks>It will replace any attributes of the same type on that segment and be merged with any adjoining attributes that are identical.
<block subset="none" type="note"><para>This function is slower than <see cref="M:Pango.AttrList.Insert()" /> for creating a attribute list in order (potentially much slower for large lists). However, <see cref="M:Pango.AttrList.Insert()" /> is not suitable for continually changing a set of attributes since it never removes or combines existing attributes.
</para></block></remarks>
</Docs>
</Member>
<Member MemberName="Copy">
<MemberSignature Language="C#" Value="public Pango.AttrList Copy ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.AttrList Copy() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Pango.AttrList</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Copy list and return an identical, new list.</summary>
<returns>a new <see cref="T:Pango.AttrList" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Filter">
<MemberSignature Language="C#" Value="public Pango.AttrList Filter (Pango.AttrFilterFunc func);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.AttrList Filter(class Pango.AttrFilterFunc func) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Pango.AttrList</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="func" Type="Pango.AttrFilterFunc" />
</Parameters>
<Docs>
<param name="func">a <see cref="T:Pango.AttrFilterFunc" /></param>
<summary>Given a callback function, removes any elements of list for which <paramref name="func" /> returns <see langword="true" /> and inserts them into a new list.</summary>
<returns>a <see cref="T:Pango.AttrList" /></returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="~AttrList ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="GType">
<MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
<MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>GType Property.</summary>
<value>a <see cref="T:GLib.GType" /></value>
<remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:Pango.AttrList" />.</remarks>
</Docs>
</Member>
<Member MemberName="Insert">
<MemberSignature Language="C#" Value="public void Insert (Pango.Attribute attr);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Insert(class Pango.Attribute attr) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="attr" Type="Pango.Attribute" />
</Parameters>
<Docs>
<param name="attr"> the attribute to insert.</param>
<summary>Insert the given attribute to the list</summary>
<remarks>It will be inserted after all other attributes with a matching start_index.</remarks>
</Docs>
</Member>
<Member MemberName="InsertBefore">
<MemberSignature Language="C#" Value="public void InsertBefore (Pango.Attribute attr);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void InsertBefore(class Pango.Attribute attr) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="attr" Type="Pango.Attribute" />
</Parameters>
<Docs>
<param name="attr"> the attribute to insert.</param>
<summary>Insert the given attribute into the list.</summary>
<remarks>It will be inserted before all other attributes with a matching start_index.</remarks>
</Docs>
</Member>
<Member MemberName="Iterator">
<MemberSignature Language="C#" Value="public Pango.AttrIterator Iterator { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Pango.AttrIterator Iterator" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Pango.AttrIterator</ReturnType>
</ReturnValue>
<Docs>
<summary>Create a iterator initialized to the beginning of the list.</summary>
<value>a new <see cref="T:Pango.AttrIterator" /></value>
<remarks />
</Docs>
</Member>
<Member MemberName="Ref">
<MemberSignature Language="C#" Value="public Pango.AttrList Ref ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Pango.AttrList Ref() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Pango.AttrList is now refcounted automatically")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Pango.AttrList</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Increases the reference count of the list.</summary>
<returns>The list.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="Ref">
<MemberSignature Language="C#" Value="protected override void Ref (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Ref(native int raw) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
<Member MemberName="Splice">
<MemberSignature Language="C#" Value="public void Splice (Pango.AttrList other, int pos, int len);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Splice(class Pango.AttrList other, int32 pos, int32 len) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="other" Type="Pango.AttrList" />
<Parameter Name="pos" Type="System.Int32" />
<Parameter Name="len" Type="System.Int32" />
</Parameters>
<Docs>
<param name="other">another <see cref="T:Pango.AttrList" /></param>
<param name="pos"> the position at which to insert <paramref name="other" /></param>
<param name="len">the length of the spliced segment.</param>
<summary>This function splices attribute list <paramref name="other" /> into list.</summary>
<remarks>This operation is equivalent to stretching every attribute applies at position <paramref name="pos" /> in list by an amount <paramref name="len" />, and then calling <see cref="M:Pango.AttrList.Change()" /> with a copy of each attributes in other in sequence (offset in position by <paramref name="pos" />).
This operation proves useful for, for instance, inserting a pre-edit string in the middle of an edit buffer.</remarks>
</Docs>
</Member>
<Member MemberName="Unref">
<MemberSignature Language="C#" Value="public void Unref ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Unref() cil managed" />
<MemberType>Method</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Pango.AttrList is now refcounted automatically")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Decrease the reference count of the given attribute list by one.</summary>
<remarks>If the result is zero, free the attribute list and the attributes it contains.</remarks>
</Docs>
</Member>
<Member MemberName="Unref">
<MemberSignature Language="C#" Value="protected override void Unref (IntPtr raw);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Unref(native int raw) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
</Members>
</Type>
|