Method

GtkLabelget_attributes

Declaration [src]

PangoAttrList*
gtk_label_get_attributes (
  GtkLabel* self
)

Description [src]

Gets the label’s attribute list.

This is the PangoAttrList that was set on the label using gtk_label_set_attributes(), if any. This function does not reflect attributes that come from the label’s markup (see gtk_label_set_markup()). If you want to get the effective attributes for the label, use pango_layout_get_attributes (gtk_label_get_layout (self)).

Gets propertyGtk.Label:attributes

Return value

Type: PangoAttrList

The attribute list.

The returned data is owned by the instance.
The return value can be NULL.