GtkSharp/doc/en/Pango/Language.xml

165 lines
7.3 KiB
XML
Raw Normal View History

<Type Name="Language" FullName="Pango.Language">
<TypeSignature Language="C#" Maintainer="auto" Value="public class Language : GLib.Opaque" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Language 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>Used to represent a language.</summary>
<remarks />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Language (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="Default">
<MemberSignature Language="C#" Value="public static Pango.Language Default { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Pango.Language Default" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Pango.Language</ReturnType>
</ReturnValue>
<Docs>
<summary>Default language property.</summary>
<value>The default <see cref="T:Pango.Language" />.</value>
<remarks />
<since version="Gtk# 2.12" />
</Docs>
</Member>
<Member MemberName="FromString">
<MemberSignature Language="C#" Value="public static Pango.Language FromString (string language);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Pango.Language FromString(string language) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Pango.Language</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="language" Type="System.String" />
</Parameters>
<Docs>
<param name="language"> a string representing a language tag</param>
<summary>Take a RFC-3066 format language tag as a string and convert it to a <see cref="T:Pango.Language" /></summary>
<returns>a <see cref="T:Pango.Language" /></returns>
<remarks>This function first canonicalizes the string by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and '-'.</remarks>
</Docs>
</Member>
<Member MemberName="GetScripts">
<MemberSignature Language="C#" Value="public Pango.Script GetScripts (out int num_scripts);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype Pango.Script GetScripts(int32 num_scripts) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Pango.Script</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="num_scripts" Type="System.Int32&amp;" RefType="out" />
</Parameters>
<Docs>
<param name="num_scripts">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<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.Language" />.</remarks>
</Docs>
</Member>
<Member MemberName="IncludesScript">
<MemberSignature Language="C#" Value="public bool IncludesScript (Pango.Script script);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool IncludesScript(valuetype Pango.Script script) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="script" Type="Pango.Script" />
</Parameters>
<Docs>
<param name="script">a <see cref="T:System.Int32" /></param>
<summary>To be added</summary>
<returns>a <see cref="T:System.Boolean" /></returns>
<remarks>To be added</remarks>
<since version="Gtk# 2.4" />
</Docs>
</Member>
<Member MemberName="Matches">
<MemberSignature Language="C#" Value="public bool Matches (string range_list);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Matches(string range_list) cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="range_list" Type="System.String" />
</Parameters>
<Docs>
<param name="range_list"> a list of language ranges, separated by ';' characters. each element must either be '*', or a RFC 3066 language range canonicalized as by <see cref="M:Pango.LanguageFromString()" />.</param>
<summary>Checks if a language tag matches one of the elements in a list of language ranges.</summary>
<returns>
<see langword="true" /> if a match was found.</returns>
<remarks>A language tag is considered to match a range in the list if the range is '*', the range is exactly the tag, or the range is a prefix of the tag, and the character after the tag is '-'.</remarks>
</Docs>
</Member>
<Member MemberName="SampleString">
<MemberSignature Language="C#" Value="public string SampleString { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SampleString" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>A sample </summary>
<value>a <see cref="T:System.String" /></value>
<remarks />
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version="Gtk# 3.0" />
</Docs>
</Member>
</Members>
</Type>