## GnomeCanvasText

GnomeCanvasText

## Properties

GtkAnchorType | anchor | Read / Write
PangoAttrList * | attributes | Read / Write
gboolean | clip | Read / Write
gdouble | clip-height | Read / Write
gdouble | clip-width | Read / Write
gchar * | family | Read / Write
gboolean | family-set | Read / Write
gchar * | fill-color | Read / Write
GdkColor * | fill-color-gdk | Read / Write
guint | fill-color-rgba | Read / Write
GdkDrawable * | fill-stipple | Read / Write
gchar * | font | Read / Write
PangoFontDescription * | font-desc | Read / Write
GtkJustification | justification | Read / Write
gchar * | markup | Write
gint | rise | Read / Write
gboolean | rise-set | Read / Write
gdouble | scale | Read / Write
gboolean | scale-set | Read / Write
gint | size | Read / Write
gdouble | size-points | Read / Write
gboolean | size-set | Read / Write
PangoStretch | stretch | Read / Write
gboolean | stretch-set | Read / Write
gboolean | strikethrough | Read / Write
gboolean | strikethrough-set | Read / Write
PangoStyle | style | Read / Write
gboolean | style-set | Read / Write
gchar * | text | Read / Write
gdouble | text-height | Read
gdouble | text-width | Read
PangoUnderline | underline | Read / Write
gboolean | underline-set | Read / Write
PangoVariant | variant | Read / Write
gboolean | variant-set | Read / Write
gint | weight | Read / Write
gboolean | weight-set | Read / Write
gdouble | x | Read / Write
gdouble | x-offset | Read / Write
gdouble | y | Read / Write
gdouble | y-offset | Read / Write

## Types and Values

struct | GnomeCanvasText

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GtkObject
                ╰── GnomeCanvasItem
                    ╰── GnomeCanvasText

## Includes

    #include <libgnomecanvas/libgnomecanvas.h>

## Description

## Functions

## Types and Values

### struct GnomeCanvasText

    struct GnomeCanvasText;

## Property Details

### The `“anchor”` property

      “anchor”                   GtkAnchorType

Flags: Read / Write

Default value: GTK_ANCHOR_CENTER

### The `“attributes”` property

      “attributes”               PangoAttrList *

Flags: Read / Write

### The `“clip”` property

      “clip”                     gboolean

Flags: Read / Write

Default value: FALSE

### The `“clip-height”` property

      “clip-height”              gdouble

Flags: Read / Write

Default value: 0

### The `“clip-width”` property

      “clip-width”               gdouble

Flags: Read / Write

Default value: 0

### The `“family”` property

      “family”                   gchar *

Name of the font family, e.g. Sans, Helvetica, Times, Monospace.

Flags: Read / Write

Default value: NULL

### The `“family-set”` property

      “family-set”               gboolean

Whether this tag affects the font family.

Flags: Read / Write

Default value: FALSE

### The `“fill-color”` property

      “fill-color”               gchar *

Text color, as string.

Flags: Read / Write

Default value: NULL

### The `“fill-color-gdk”` property

      “fill-color-gdk”           GdkColor *

Text color, as a GdkColor.

Flags: Read / Write

### The `“fill-color-rgba”` property

      “fill-color-rgba”          guint

Text color, as an R/G/B/A combined integer.

Flags: Read / Write

Default value: 0

### The `“fill-stipple”` property

      “fill-stipple”             GdkDrawable *

Flags: Read / Write

### The `“font”` property

      “font”                     gchar *

Font description as a string.

Flags: Read / Write

Default value: NULL

### The `“font-desc”` property

      “font-desc”                PangoFontDescription *

Font description as a PangoFontDescription struct.

Flags: Read / Write

### The `“justification”` property

      “justification”            GtkJustification

Flags: Read / Write

Default value: GTK_JUSTIFY_LEFT

### The `“markup”` property

      “markup”                   gchar *

Marked up text to render.

Flags: Write

Default value: NULL

### The `“rise”` property

      “rise”                     gint

Offset of text above the baseline (below the baseline if rise is negative).

Flags: Read / Write

Allowed values: >= -2147483647

Default value: 0

### The `“rise-set”` property

      “rise-set”                 gboolean

Whether this tag affects the rise.

Flags: Read / Write

Default value: FALSE

### The `“scale”` property

      “scale”                    gdouble

Size of font, relative to default size.

Flags: Read / Write

Allowed values: >= 0

Default value: 1

### The `“scale-set”` property

      “scale-set”                gboolean

Whether this tag affects font scaling.

Flags: Read / Write

Default value: FALSE

### The `“size”` property

      “size”                     gint

Font size (as a multiple of PANGO_SCALE, eg. 12*PANGO_SCALE for a 12pt font size).

Flags: Read / Write

Allowed values: >= 0

Default value: 0

### The `“size-points”` property

      “size-points”              gdouble

Font size in points (eg. 12 for a 12pt font size).

Flags: Read / Write

Allowed values: >= 0

Default value: 0

### The `“size-set”` property

      “size-set”                 gboolean

Whether this tag affects the font size.

Flags: Read / Write

Default value: FALSE

### The `“stretch”` property

      “stretch”                  PangoStretch

Font stretch.

Flags: Read / Write

Default value: PANGO_STRETCH_NORMAL

### The `“stretch-set”` property

      “stretch-set”              gboolean

Whether this tag affects the font stretch.

Flags: Read / Write

Default value: FALSE

### The `“strikethrough”` property

      “strikethrough”            gboolean

Whether to strike through the text.

Flags: Read / Write

Default value: FALSE

### The `“strikethrough-set”` property

      “strikethrough-set”        gboolean

Whether this tag affects strikethrough.

Flags: Read / Write

Default value: FALSE

### The `“style”` property

      “style”                    PangoStyle

Font style.

Flags: Read / Write

Default value: PANGO_STYLE_NORMAL

### The `“style-set”` property

      “style-set”                gboolean

Whether this tag affects the font style.

Flags: Read / Write

Default value: FALSE

### The `“text”` property

      “text”                     gchar *

Text to render.

Flags: Read / Write

Default value: NULL

### The `“text-height”` property

      “text-height”              gdouble

Height of the rendered text.

Flags: Read

Allowed values: >= 0

Default value: 0

### The `“text-width”` property

      “text-width”               gdouble

Width of the rendered text.

Flags: Read

Allowed values: >= 0

Default value: 0

### The `“underline”` property

      “underline”                PangoUnderline

Style of underline for this text.

Flags: Read / Write

Default value: PANGO_UNDERLINE_NONE

### The `“underline-set”` property

      “underline-set”            gboolean

Whether this tag affects underlining.

Flags: Read / Write

Default value: FALSE

### The `“variant”` property

      “variant”                  PangoVariant

Font variant.

Flags: Read / Write

Default value: PANGO_VARIANT_NORMAL

### The `“variant-set”` property

      “variant-set”              gboolean

Whether this tag affects the font variant.

Flags: Read / Write

Default value: FALSE

### The `“weight”` property

      “weight”                   gint

Font weight.

Flags: Read / Write

Allowed values: >= 0

Default value: 400

### The `“weight-set”` property

      “weight-set”               gboolean

Whether this tag affects the font weight.

Flags: Read / Write

Default value: FALSE

### The `“x”` property

      “x”                        gdouble

Flags: Read / Write

Default value: 0

### The `“x-offset”` property

      “x-offset”                 gdouble

Flags: Read / Write

Default value: 0

### The `“y”` property

      “y”                        gdouble

Flags: Read / Write

Default value: 0

### The `“y-offset”` property

      “y-offset”                 gdouble

Flags: Read / Write

Default value: 0