Top | ![]() |
![]() |
![]() |
![]() |
AwnOverlayTextAwnOverlayText — Text overlay for use with AwnIcon. |
gint | font-mode | Read / Write |
gdouble | font-sizing | Read / Write / Construct |
gchar * | text | Read / Write / Construct |
DesktopAgnosticColor * | text-color | Read / Write |
gchar * | text-color-astr | Read / Write |
DesktopAgnosticColor * | text-outline-color | Read / Write |
gchar * | text-outline-color-astr | Read / Write |
gdouble | text-outline-width | Read / Write |
AwnOverlayText *
awn_overlay_text_new (void
);
Creates a new instance of AwnOverlayText.
void awn_overlay_text_get_size (AwnOverlayText *overlay
,GtkWidget *widget
,gchar *text
,gint size
,gint *width
,gint *height
);
“font-mode”
property “font-mode” gint
Font Mode.
Flags: Read / Write
Allowed values: [0,2]
Default value: 0
“font-sizing”
property “font-sizing” gdouble
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.
Flags: Read / Write / Construct
Allowed values: [1,100]
Default value: 12
“text”
property “text” gchar *
The text to display as a string.
Flags: Read / Write / Construct
Default value: ""
“text-color”
property “text-color” DesktopAgnosticColor *
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.
Flags: Read / Write
“text-color-astr”
property “text-color-astr” gchar *
Text color as string.
Flags: Read / Write
Default value: ""
“text-outline-color”
property “text-outline-color” DesktopAgnosticColor *
Text Outline Colour.
Flags: Read / Write
“text-outline-color-astr”
property “text-outline-color-astr” gchar *
Text outline color as string.
Flags: Read / Write
Default value: ""