AwnOverlayText

AwnOverlayText

Synopsis

                    AwnOverlayText;
                    AwnOverlayTextClass;
AwnOverlayText *    awn_overlay_text_new                (void);
void                awn_overlay_text_get_size           (AwnOverlayText *overlay,
                                                         GtkWidget *widget,
                                                         gchar *text,
                                                         gint size,
                                                         gint *width,
                                                         gint *height);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----AwnOverlay
               +----AwnOverlayText

Properties

  "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

Description

Details

AwnOverlayText

typedef struct _AwnOverlayText AwnOverlayText;


AwnOverlayTextClass

typedef struct {
    AwnOverlayClass parent_class;
} AwnOverlayTextClass;


awn_overlay_text_new ()

AwnOverlayText *    awn_overlay_text_new                (void);


awn_overlay_text_get_size ()

void                awn_overlay_text_get_size           (AwnOverlayText *overlay,
                                                         GtkWidget *widget,
                                                         gchar *text,
                                                         gint size,
                                                         gint *width,
                                                         gint *height);

Property Details

The "font-mode" property

  "font-mode"                gint                  : Read / Write

Font Mode.

Allowed values: [0,2]

Default value: 0


The "font-sizing" property

  "font-sizing"              gdouble               : Read / Write / Construct

Font Sizing.

Allowed values: [1,100]

Default value: 12


The "text" property

  "text"                     gchar*                : Read / Write / Construct

Text Data.

Default value: ""


The "text-color" property

  "text-color"               DesktopAgnosticColor*  : Read / Write

Text Colour.


The "text-color-astr" property

  "text-color-astr"          gchar*                : Read / Write

Text color as string.

Default value: ""


The "text-outline-color" property

  "text-outline-color"       DesktopAgnosticColor*  : Read / Write

Text Outline Colour.


The "text-outline-color-astr" property

  "text-outline-color-astr"  gchar*                : Read / Write

Text outline color as string.

Default value: ""


The "text-outline-width" property

  "text-outline-width"       gdouble               : Read / Write

Text Outline Width.

Allowed values: [0,10]

Default value: 2.5