Table of Contents

Class Attribute

Namespace
Pango.Internal
Assembly
Pango-1.0.dll
public class Attribute
Inheritance
Attribute
Inherited Members

Methods

AsColor(AttributeHandle)

Calls native method pango_attribute_as_color. Version: 1.50

[Version("1.50")]
public static extern AttrColorUnownedHandle AsColor(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrColorUnownedHandle

Transfer ownership: None Nullable: True

AsFloat(AttributeHandle)

Calls native method pango_attribute_as_float. Version: 1.50

[Version("1.50")]
public static extern AttrFloatUnownedHandle AsFloat(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrFloatUnownedHandle

Transfer ownership: None Nullable: True

AsFontDesc(AttributeHandle)

Calls native method pango_attribute_as_font_desc. Version: 1.50

[Version("1.50")]
public static extern AttrFontDescUnownedHandle AsFontDesc(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrFontDescUnownedHandle

Transfer ownership: None Nullable: True

AsFontFeatures(AttributeHandle)

Calls native method pango_attribute_as_font_features. Version: 1.50

[Version("1.50")]
public static extern AttrFontFeaturesUnownedHandle AsFontFeatures(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrFontFeaturesUnownedHandle

Transfer ownership: None Nullable: True

AsInt(AttributeHandle)

Calls native method pango_attribute_as_int. Version: 1.50

[Version("1.50")]
public static extern AttrIntUnownedHandle AsInt(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrIntUnownedHandle

Transfer ownership: None Nullable: True

AsLanguage(AttributeHandle)

Calls native method pango_attribute_as_language. Version: 1.50

[Version("1.50")]
public static extern AttrLanguageUnownedHandle AsLanguage(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrLanguageUnownedHandle

Transfer ownership: None Nullable: True

AsShape(AttributeHandle)

Calls native method pango_attribute_as_shape. Version: 1.50

[Version("1.50")]
public static extern AttrShapeUnownedHandle AsShape(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrShapeUnownedHandle

Transfer ownership: None Nullable: True

AsSize(AttributeHandle)

Calls native method pango_attribute_as_size. Version: 1.50

[Version("1.50")]
public static extern AttrSizeUnownedHandle AsSize(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrSizeUnownedHandle

Transfer ownership: None Nullable: True

AsString(AttributeHandle)

Calls native method pango_attribute_as_string. Version: 1.50

[Version("1.50")]
public static extern AttrStringUnownedHandle AsString(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttrStringUnownedHandle

Transfer ownership: None Nullable: True

Copy(AttributeHandle)

Calls native method pango_attribute_copy.

public static extern AttributeOwnedHandle Copy(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Returns

AttributeOwnedHandle

Transfer ownership: Full Nullable: False

Destroy(AttributeHandle)

Calls native method pango_attribute_destroy.

public static extern void Destroy(AttributeHandle attr)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

Equal(AttributeHandle, AttributeHandle)

Calls native method pango_attribute_equal.

public static extern bool Equal(AttributeHandle attr1, AttributeHandle attr2)

Parameters

attr1 AttributeHandle

Transfer ownership: None Nullable: False

attr2 AttributeHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function pango_attribute_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

Init(AttributeHandle, AttrClassHandle)

Calls native method pango_attribute_init. Version: 1.20

[Version("1.20")]
public static extern void Init(AttributeHandle attr, AttrClassHandle klass)

Parameters

attr AttributeHandle

Transfer ownership: None Nullable: False

klass AttrClassHandle

Transfer ownership: None Nullable: False