![]() |
![]() |
![]() |
Awn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
AwnOverlayPixbufAwnOverlayPixbuf — An AwnOverlay subclass to overlay a GdkPixbuf |
#include <libawn/libawn.h> AwnOverlayPixbuf; AwnOverlayPixbuf* awn_overlay_pixbuf_new (void
); AwnOverlayPixbuf* awn_overlay_pixbuf_new_with_pixbuf (GdkPixbuf *pixbuf
);
GObject +----GInitiallyUnowned +----AwnOverlay +----AwnOverlayPixbuf +----AwnOverlayPixbufFile
"alpha" gdouble : Read / Write / Construct "pixbuf" GdkPixbuf* : Read / Write / Construct "scale" gdouble : Read / Write / Construct
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.
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.
AwnOverlayPixbuf* awn_overlay_pixbuf_new (void
);
Creates a new instance of AwnOverlayPixbuf.
Returns : |
an instance of AwnOverlayPixbuf. |
AwnOverlayPixbuf* awn_overlay_pixbuf_new_with_pixbuf (GdkPixbuf *pixbuf
);
|
|
Returns : |
"alpha"
property"alpha" gdouble : Read / Write / Construct
An alpha value to apply to the Overlay. Range of 0.0...1.0. Default is 0.9.
Allowed values: [0,1]
Default value: 0.9
"scale"
property"scale" gdouble : Read / Write / Construct
The desired size of the overlay scaled to the Icon. Range 0.0...1.0. Default value of 0.5
Allowed values: [0,1]
Default value: 0.5