AwnOverlayPixbuf

AwnOverlayPixbuf — An AwnOverlay subclass to overlay a GdkPixbuf

Stability Level

Unstable, unless otherwise indicated

Functions

Properties

gdouble alpha Read / Write / Construct
GdkPixbuf * pixbuf Read / Write / Construct
gdouble scale Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── AwnOverlay
            ╰── AwnOverlayPixbuf
                ╰── AwnOverlayPixbufFile

Includes

#include <libawn/libawn.h>

Description

Overlay a GdkPixbuf on an AwnOverlaidIcon. You probably should _NOT_ be using this object. You almost certainly should be using AwnOverlayThemedIcon or failing that AwnOverlayPixbufFile. Unecessary use of this object is grounds to be pilloried.

Functions

awn_overlay_pixbuf_new ()

AwnOverlayPixbuf *
awn_overlay_pixbuf_new (void);

Creates a new instance of AwnOverlayPixbuf.

Returns

an instance of AwnOverlayPixbuf.


awn_overlay_pixbuf_new_with_pixbuf ()

AwnOverlayPixbuf *
awn_overlay_pixbuf_new_with_pixbuf (GdkPixbuf *pixbuf);

Returns

Types and Values

AwnOverlayPixbuf

typedef struct _AwnOverlayPixbuf AwnOverlayPixbuf;

Overlay a GdkPixbuf on an AwnOverlaidIcon. You probably should _NOT_ be using this object. You almost certainly should be using AwnOverlayThemedIcon or failing that AwnOverlayPixbufFile. Unecessary use of this object is grounds to be pilloried.

Property Details

The “alpha” property

  “alpha”                    gdouble

An alpha value to apply to the Overlay. Range of 0.0...1.0. Default is 0.9.

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 0.9


The “pixbuf” property

  “pixbuf”                   GdkPixbuf *

A GdkPixbuf to overlay.

Flags: Read / Write / Construct


The “scale” property

  “scale”                    gdouble

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

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 0.5

See Also

AwnOverlay, AwnOverlayText, AwnOverlayThemedIcon, AwnOverlaidIcon