![]() |
![]() |
![]() |
Awn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Known Implementations |
#define AWN_OVERLAYABLE_GET_INTERFACE (inst) AwnOverlayable; AwnOverlayableIface; AwnEffects* awn_overlayable_get_effects (AwnOverlayable *self); void awn_overlayable_add_overlay (AwnOverlayable *self, AwnOverlay *overlay); void awn_overlayable_remove_overlay (AwnOverlayable *self, AwnOverlay *overlay); GList* awn_overlayable_get_overlays (AwnOverlayable *self);
AwnOverlayable is implemented by AwnThemedIcon, AwnIcon, AwnImage and AwnAppletSimple.
typedef struct { GTypeInterface parent; AwnEffects* (*get_effects) (AwnOverlayable* self); } AwnOverlayableIface;
AwnEffects* awn_overlayable_get_effects (AwnOverlayable *self);
|
AwnOverlayable instance. |
Returns : |
AwnEffects instance managing animations for this instance. |
void awn_overlayable_add_overlay (AwnOverlayable *self, AwnOverlay *overlay);
Adds an overlay to the list of rendered overlays.
|
AwnOverlayable instance. |
|
AwnOverlay instance which should be added. |
void awn_overlayable_remove_overlay (AwnOverlayable *self, AwnOverlay *overlay);
Removes overlay from the list of rendered overlays.
|
AwnOverlayable instance. |
|
AwnOverlay which was previously added using awn_overlayable_add_overlay. |
GList* awn_overlayable_get_overlays (AwnOverlayable *self);
|
AwnOverlayable instance. |
Returns : |
a newly-allocated list of the overlays added for this instance. |