Sets our main struct and passes it to the parent class.
Create a new shape attribute. A shape is used to impose a particular ink and logical rectangle on the result of shaping a particular glyph. This might be used, for instance, for embedding a picture or a widget inside a gtk.Layout
Like pango_attr_shape_new(), but a user data pointer is also provided; this pointer can be accessed when later rendering the glyph.
Get the main Gtk struct
the main Gtk struct as a void*
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Make a copy of an attribute.
Destroy a PangoAttribute and free all associated memory.
Compare two attributes for equality. This compares only the actual value of the two attributes and not the ranges that the attributes apply to.
Initializes attr's klass to klass, it's start_index to PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING and end_index to PANGO_ATTR_INDEX_TO_TEXT_END such that the attribute applies to the entire text by default.
Create a new background color attribute.
Create a new background alpha attribute.
Create a new font fallback attribute.
Create a new font family attribute.
Create a new foreground color attribute.
Create a new foreground alpha attribute.
Create a new gravity hint attribute.
Create a new gravity attribute.
Create a new letter-spacing attribute.
Create a new baseline displacement attribute.
Create a new font size scale attribute. The base font for the affected text will have its size multiplied by scale_factor.
Create a new font stretch attribute
Create a new strikethrough color attribute. This attribute modifies the color of strikethrough lines. If not set, strikethrough lines will use the foreground color.
Create a new strike-through attribute.
Create a new font slant style attribute.
Fetches the attribute type name passed in when registering the type using pango_attr_type_register().
Allocate a new attribute type ID. The attribute type name can be accessed later by using pango_attr_type_get_name().
Create a new underline color attribute. This attribute modifies the color of underlines. If not set, underlines will use the foreground color.
Create a new underline-style attribute.
Create a new font variant attribute (normal or small caps)
Create a new font weight attribute.
After feeding a pango markup parser some data with g_markup_parse_context_parse(), use this function to get the list of pango attributes and text out of the markup. This function will not free context, use g_markup_parse_context_free() to do so.
Parses marked-up text (see <link linkend="PangoMarkupFormat">markup format</link>) to create a plain-text string and an attribute list.
Parses marked-up text (see <link linkend="PangoMarkupFormat">markup format</link>) to create a plain-text string and an attribute list.
The PangoAttrShape structure is used to represent attributes which impose shape restrictions.