|  |  |  | Awn Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
| AwnOverlayTextAwnOverlayText — Text overlay for use with AwnIcon. | 
#include <libawn/libawn.h>
                    AwnOverlayText;
AwnOverlayText*     awn_overlay_text_new                (void);
void                awn_overlay_text_get_size           (AwnOverlayText *overlay,
                                                         GtkWidget *widget,
                                                         gchar *text,
                                                         gint size,
                                                         gint *width,
                                                         gint *height);
"font-mode" gint : Read / Write "font-sizing" gdouble : Read / Write / Construct "text" gchar* : Read / Write / Construct "text-color" DesktopAgnosticColor* : Read / Write "text-color-astr" gchar* : Read / Write "text-outline-color" DesktopAgnosticColor* : Read / Write "text-outline-color-astr" gchar* : Read / Write "text-outline-width" gdouble : Read / Write
AwnOverlayText* awn_overlay_text_new (void);
Creates a new instance of AwnOverlayText.
| Returns : | an instance of AwnOverlayText. | 
"font-mode" property"font-mode" gint : Read / Write
Font Mode.
Allowed values: [0,2]
Default value: 0
"font-sizing" property"font-sizing" gdouble : Read / Write / Construct
The Absolute font size as defined for use with PangoFontDescription at
PANGO_SCALE at an AwnIcon height of 48 pixels.  The following standard 
awn font sizes are predefined:  AWN_FONT_SIZE_EXTRA_SMALL, 
AWN_FONT_SIZE_SMALL, AWN_FONT_SIZE_MEDIUM, AWN_FONT_SIZE_LARGE, 
AWN_FONT_SIZE_EXTRA_LARGE.  The default size is AWN_FONT_SIZE_MEDIUM.  
Standard doubles can be used but all attempts should be made to use one of 
the standard awn font sizes.
Allowed values: [1,100]
Default value: 12
"text" property"text" gchar* : Read / Write / Construct
The text to display as a string.
Default value: ""
"text-color" property"text-color" DesktopAgnosticColor* : Read / Write
Text color to use as a DesktopAgnosticColor.  The default value is NULL.
If NULL then the current GTK+ Themes foreground GTK_ACTIVE_STATE color 
will be used.
"text-color-astr" property"text-color-astr" gchar* : Read / Write
Text color as string.
Default value: ""
"text-outline-color" property"text-outline-color" DesktopAgnosticColor* : Read / Write
Text Outline Colour.
"text-outline-color-astr" property"text-outline-color-astr" gchar* : Read / Write
Text outline color as string.
Default value: ""
"text-outline-width" property"text-outline-width" gdouble : Read / Write
Text Outline Width.
Allowed values: [0,10]
Default value: 2.5