awn-overlayable

awn-overlayable

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── AwnOverlayable

Known Implementations

AwnOverlayable is implemented by AwnAppletSimple, AwnIcon, AwnImage and AwnThemedIcon.

Description

Functions

AWN_OVERLAYABLE_GET_INTERFACE()

#define             AWN_OVERLAYABLE_GET_INTERFACE(inst)


awn_overlayable_get_effects ()

AwnEffects *
awn_overlayable_get_effects (AwnOverlayable *self);

Parameters

self

AwnOverlayable instance.

 

Returns

AwnEffects instance managing animations for this instance.


awn_overlayable_add_overlay ()

void
awn_overlayable_add_overlay (AwnOverlayable *self,
                             AwnOverlay *overlay);

Adds an overlay to the list of rendered overlays.

Parameters

self

AwnOverlayable instance.

 

overlay

AwnOverlay instance which should be added.

 

awn_overlayable_remove_overlay ()

void
awn_overlayable_remove_overlay (AwnOverlayable *self,
                                AwnOverlay *overlay);

Removes overlay from the list of rendered overlays.

Parameters

self

AwnOverlayable instance.

 

overlay

AwnOverlay which was previously added using awn_overlayable_add_overlay.

 

awn_overlayable_get_overlays ()

GList *
awn_overlayable_get_overlays (AwnOverlayable *self);

Parameters

self

AwnOverlayable instance.

 

Returns

a newly-allocated list of the overlays added for this instance.

Types and Values

AwnOverlayable

typedef struct _AwnOverlayable AwnOverlayable;


struct AwnOverlayableIface

struct AwnOverlayableIface {
  GTypeInterface parent;

  AwnEffects*   (*get_effects)          (AwnOverlayable* self);
};