Method

GtkLabelget_attributes

Declaration [src]

PangoAttrList*
gtk_label_get_attributes (
  GtkLabel* label
)

Description [src]

Gets the attribute list that was set on the label using gtk_label_set_attributes(), if any. This function does not reflect attributes that come from the labels markup (see gtk_label_set_markup()). If you want to get the effective attributes for the label, use pango_layout_get_attribute (gtk_label_get_layout (label)).

Gets propertyGtk.Label:attributes

Return value

Type: PangoAttrList

The attribute list, or NULL if none was set.

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