AwnLabel

AwnLabel

Functions

Properties

gint font-mode Read / Write
DesktopAgnosticColor * text-color Read / Write
DesktopAgnosticColor * text-outline-color Read / Write
gdouble text-outline-width Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkMisc
                    ╰── GtkLabel
                        ╰── AwnLabel

Implemented Interfaces

AwnLabel implements AtkImplementorIface and GtkBuildable.

Description

Functions

awn_label_new ()

AwnLabel *
awn_label_new (void);

Creates new AwnLabel. Automatically applies user configured colors and style.

Returns

An instance of AwnLabel.

Types and Values

AwnLabel

typedef struct _AwnLabel AwnLabel;

Widget derived from GtkLabel, which should be used to display text on the panel, as it provides various modes of drawing the text - with or without an outline, and is therefore easily readable on non-solid colored background.

Property Details

The “font-mode” property

  “font-mode”                gint

Font Mode.

Flags: Read / Write

Allowed values: [0,2]

Default value: 0


The “text-color” property

  “text-color”               DesktopAgnosticColor *

Text color.

Flags: Read / Write


The “text-outline-color” property

  “text-outline-color”       DesktopAgnosticColor *

Text outline color.

Flags: Read / Write


The “text-outline-width” property

  “text-outline-width”       gdouble

Text Outline Width.

Flags: Read / Write

Allowed values: [0,10]

Default value: 2.5