pango-sharp0.0.0.0neutralGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Represents the description of an ideal font.This class is used both to list what fonts are available on the system and also for specifying the characteristics of a font to load.GLib.OpaqueGLib.IWrapperMethodPango.FontDescriptionCreates a new font description from a string representation.
The string representation of the font description.
The object of type created.The form of the string representation is "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where:
FAMILY-LIST is a comma separated list of families optionally terminated by a comma.STYLE-OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, or stretch.SIZE is a decimal number (size in points)
Any one of the options may be absent. If FAMILY-LIST is absent, then the family_name field of the resulting font description will be initialized to NULL. If STYLE-OPTIONS is missing, then all style options will be set to the default values. If SIZE is missing, the size in the resulting font description will be set to 0.
MethodPango.FontDescriptionTo be addedTo be added: an object of type 'Pango.FontDescription'To be addedMethodSystem.BooleanDetermines which better matches the current instance.
To be added: an object of type 'Pango.FontDescription'
To be added: an object of type 'Pango.FontDescription'
if new_match is a better match.Determines if the style attributes of new_match are a closer match for the current instance than old_match, or if old_match is , determines if new_match is a match at all. Approximate matching is done for weight and style; other attributes must match exactly.MethodSystem.VoidTo be addedTo be addedMethodSystem.VoidMerges the fields of a font description into the current instance without copying the field data (shallow copy).
To be added: an object of type 'Pango.FontDescription'
To be added: an object of type 'bool'
To be addedMethodSystem.StringCreates a filename representation of a font description.To be added: an object of type 'string'The filename created is identical to the result from calling , but with underscores instead of characters that are untypical in filenames, and in lower case only.MethodSystem.VoidMerges the fields of a font description into the current instance.
The to merge from.
If , replace fields in current instance with the corresponding values from desc_to_merge, even if they are already exist.
To be addedMethodPango.FontDescriptionTo be addedTo be added: an object of type 'Pango.FontDescription'To be addedMethodSystem.BooleanTo be added
To be added: an object of type 'Pango.FontDescription'
To be added: an object of type 'bool'To be addedMethodSystem.VoidUnsets some of the fields in the .
To be added: an object of type 'Pango.FontMask'
This merely marks the fields cleared, it does not clear the settings for those fields. To clear a family name set with so that it won't be returned by , you must actually set to .ConstructorInternal constructor
Pointer to the C object.
An instance of FontDescription, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorTo be addedTo be added: an object of type 'Pango.FontDescription'To be addedPropertyPango.StyleThe style of the font.
To be added: an object of type 'Pango.Style'
To be added: an object of type 'Pango.Style'Most fonts will either have a italic style or an oblique style, but not both, and font matching in Pango will match italic specifications with oblique fonts and vice-versa if an exact match is not found.PropertyPango.StretchThe stretch of the font.
To be added: an object of type 'Pango.Stretch'
To be added: an object of type 'Pango.Stretch'The stretch property specifies how narrow or wide the font should be.PropertyPango.FontMaskDetermines which fields in the font description have been set.To be added: an object of type 'Pango.FontMask'To be addedPropertySystem.Int32The size of the font in pango units.
To be added: an object of type 'int'
To be added: an object of type 'int'There are pango units in one device unit - for fonts, font points are the device unit. Therefore, the size of the font in points is / .PropertySystem.StringSets the family name of the font without copying the string.
To be added: an object of type 'string'
To be added: an object of type 'string'To be addedPropertyPango.VariantThe variant of the font.
To be added: an object of type 'Pango.Variant'
To be added: an object of type 'Pango.Variant'To be addedPropertyPango.WeightThe weight (boldness) of the font.
To be added: an object of type 'Pango.Weight'
To be added: an object of type 'Pango.Weight'The weight property specifies how bold or light the font should be. In addition to the values of the enumeration, other intermediate numeric values are possible.PropertySystem.StringThe family name of the font.
To be added: an object of type 'string'
To be added: an object of type 'string'The family name represents a family of related font styles, and will resolve to a particular . In some uses of , it is also possible to use a comma separated list of family names for this property.MethodSystem.StringCreates a string representation of a font description.a See for a description of the format of the string representation. The family list in the string description will only have a terminating comma if the last word of the list is a valid style option.PropertySystem.UInt32To be addeda To be addedPropertyGLib.GTypeGType Property.a Returns the native value for .