AwnOverlayThemedIcon

AwnOverlayThemedIcon — Themed Icon overlay for use with AwnThemedIcon.

Stability Level

Unstable, unless otherwise indicated

Functions

Properties

gdouble alpha Read / Write / Construct
gchar * icon-name Read / Write / Construct
gdouble scale Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── AwnOverlay
            ╰── AwnOverlayThemedIcon

Includes

#include <libawn/libawn.h>

Description

Themed Icon overlay used with an AwnThemedIcon.

Functions

awn_overlay_themed_icon_new ()

AwnOverlayThemedIcon *
awn_overlay_themed_icon_new (const gchar *icon_name);

Parameters

icon_name

A themed icon icon name.

 

Returns

an instance of AwnOverlayThemedIcon.

Types and Values

AwnOverlayThemedIcon

typedef struct _AwnOverlayThemedIcon AwnOverlayThemedIcon;

Themed Icon overlay used with an AwnThemedIcon.

Property Details

The “alpha” property

  “alpha”                    gdouble

The alpha value to apply to the icon overlay. Range 0.0...1.0. Defaults to 0.9

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 0.9


The “icon-name” property

  “icon-name”                gchar *

The themed icon name of the icon to be overlayed.

Flags: Read / Write / Construct

Default value: ""


The “scale” property

  “scale”                    gdouble

The desired size of the overlay scaled to the Icon. Range 0.0...1.0. Default value of 0.3

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 0.3

See Also

AwnEffects, AwnOverlay, AwnOverlayPixbuf, AwnOverlayPixbufFile, AwnOverlayThrobber, AwnOverlayText, AwnThemedIcon.