dzl-bolding-label

dzl-bolding-label

Functions

Properties

gboolean bold Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkMisc
                ╰── GtkLabel
                    ╰── DzlBoldingLabel

Implemented Interfaces

DzlBoldingLabel implements AtkImplementorIface and GtkBuildable.

Description

This is a GtkLabel widget that will allocate extra space if necessary so that the size request will not change when the contents of the label are bolded.

This might be useful when you want to change a label based on some selection state without it affecting the size request or layout.

Functions

dzl_bolding_label_set_weight ()

void
dzl_bolding_label_set_weight (DzlBoldingLabel *self,
                              PangoWeight weight);

dzl_bolding_label_set_bold ()

void
dzl_bolding_label_set_bold (DzlBoldingLabel *self,
                            gboolean bold);

Types and Values

DZL_TYPE_BOLDING_LABEL

#define DZL_TYPE_BOLDING_LABEL (dzl_bolding_label_get_type())

DzlBoldingLabel

typedef struct _DzlBoldingLabel DzlBoldingLabel;

Property Details

The “bold” property

  “bold”                     gboolean

Set the bold weight for the label.

Flags: Write

Default value: FALSE