mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-29 15:25:36 +00:00
1f555ab568
* configure.in : require gtk+ 2.6. * generator/ReturnValue.cs : invalidate Callback returns for now. * gtk/Gtk.metadata : some renames for conflicting new API. * parser/gapi2xml.pl : whitespace tweak for class VM regexen. * sources/Makefile.am : add new patch, kill atk patch, revise dirs. * sources/atkhyperlink.patch : kill unnecessary patch. * sources/gtkclipboard.patch : add new clipboard patch. * sources/gtk-sharp-sources.xml : parse gtk+-2.6. * */*-api.raw : regen pango, atk, gdk, and gtk for new versions. svn path=/trunk/gtk-sharp/; revision=43412
308 lines
12 KiB
XML
308 lines
12 KiB
XML
<Type Name="Attr" FullName="Pango.Attr">
|
|
<TypeSignature Language="C#" Value="public class Attr" Maintainer="auto" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>pango-sharp</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
|
<AssemblyCulture>neutral</AssemblyCulture>
|
|
<Attributes />
|
|
</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>
|
|
<Docs>
|
|
<summary>Static methods for attributes.</summary>
|
|
<remarks />
|
|
</Docs>
|
|
<Base>
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Attributes />
|
|
<Members>
|
|
<Member MemberName="ForegroundNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute ForegroundNew (ushort red, ushort green, ushort blue);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="red" Type="System.UInt16" />
|
|
<Parameter Name="green" Type="System.UInt16" />
|
|
<Parameter Name="blue" Type="System.UInt16" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new foreground color attribute.</summary>
|
|
<param name="red"> the red value (ranging from 0 to 65535)</param>
|
|
<param name="green"> the green value</param>
|
|
<param name="blue"> the blue value</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="FamilyNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute FamilyNew (string family);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="family" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font family attribute.</summary>
|
|
<param name="family"> the family or comma separated list of families</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="TypeRegister">
|
|
<MemberSignature Language="C#" Value="public static Pango.AttrType TypeRegister (string name);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.AttrType</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="name" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Allocate a new attribute type ID.</summary>
|
|
<param name="name"> an identifier for the type. (Currently unused.)</param>
|
|
<returns> the new type ID.</returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="StrikethroughNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute StrikethroughNew (bool strikethrough);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="strikethrough" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font strike-through attribute.</summary>
|
|
<param name="strikethrough">
|
|
<see langword="true" /> if the text should be struck-through.</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="VariantNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute VariantNew (Pango.Variant variant);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="variant" Type="Pango.Variant" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font variant attribute (normal or small caps)</summary>
|
|
<param name="variant"> the <see cref="T:Pango.Variant" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="StretchNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute StretchNew (Pango.Stretch stretch);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="stretch" Type="Pango.Stretch" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font stretch attribute</summary>
|
|
<param name="stretch">a <see cref="T:Pango.Stretch" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="StyleNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute StyleNew (Pango.Style style);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="style" Type="Pango.Style" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font slant style attribute.</summary>
|
|
<param name="style"> the slant <see cref="T:Pango.Style" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="WeightNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute WeightNew (Pango.Weight weight);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="weight" Type="Pango.Weight" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font weight attribute.</summary>
|
|
<param name="weight">a <see cref="T:Pango.Weight" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="UnderlineNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute UnderlineNew (Pango.Underline underline);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="underline" Type="Pango.Underline" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new underline-style object.</summary>
|
|
<param name="underline"> the underline style.</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="BackgroundNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute BackgroundNew (ushort red, ushort green, ushort blue);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="red" Type="System.UInt16" />
|
|
<Parameter Name="green" Type="System.UInt16" />
|
|
<Parameter Name="blue" Type="System.UInt16" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new background color attribute.</summary>
|
|
<param name="red"> the red value (ranging from 0 to 65535)</param>
|
|
<param name="green"> the green value</param>
|
|
<param name="blue"> the blue value</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="RiseNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute RiseNew (int rise);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="rise" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new baseline displacement attribute.</summary>
|
|
<param name="rise"> the amount that the text should be displaced vertically, in 10'000ths of an em. Positive values displace the text upwards.</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ScaleNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute ScaleNew (double scale_factor);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="scale_factor" Type="System.Double" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Create a new font size scale attribute.</summary>
|
|
<param name="scale_factor"> factor to scale the font</param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks>The base font for the affected text will have its size multiplied by <paramref name="scale_factor" />.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Attr ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Default constructor</summary>
|
|
<returns>a <see cref="T:Pango.Attr" /></returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="FallbackNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute FallbackNew (bool enable_fallback);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="enable_fallback" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="enable_fallback">a <see cref="T:System.Boolean" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="UnderlineColorNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute UnderlineColorNew (ushort red, ushort green, ushort blue);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="red" Type="System.UInt16" />
|
|
<Parameter Name="green" Type="System.UInt16" />
|
|
<Parameter Name="blue" Type="System.UInt16" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="red">a <see cref="T:System.UInt16" /></param>
|
|
<param name="green">a <see cref="T:System.UInt16" /></param>
|
|
<param name="blue">a <see cref="T:System.UInt16" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="LetterSpacingNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute LetterSpacingNew (int letter_spacing);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="letter_spacing" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="letter_spacing">a <see cref="T:System.Int32" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="StrikethroughColorNew">
|
|
<MemberSignature Language="C#" Value="public static Pango.Attribute StrikethroughColorNew (ushort red, ushort green, ushort blue);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Pango.Attribute</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="red" Type="System.UInt16" />
|
|
<Parameter Name="green" Type="System.UInt16" />
|
|
<Parameter Name="blue" Type="System.UInt16" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>To be added</summary>
|
|
<param name="red">a <see cref="T:System.UInt16" /></param>
|
|
<param name="green">a <see cref="T:System.UInt16" /></param>
|
|
<param name="blue">a <see cref="T:System.UInt16" /></param>
|
|
<returns>a <see cref="T:Pango.Attribute" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type>
|