![]() | ![]() | ![]() | GNOME Canvas Library Reference Manual | ![]() |
---|
GnomeCanvasText — Text canvas item
#include <libgnomecanvas/libgnomecanvas.h> struct GnomeCanvasText;
"anchor" GtkAnchorType : Read / Write "attributes" PangoAttrList : Read / Write "clip" gboolean : Read / Write "clip-height" gdouble : Read / Write "clip-width" gdouble : Read / Write "family" gchararray : Read / Write "family-set" gboolean : Read / Write "fill-color" gchararray : Read / Write "fill-color-gdk" GdkColor : Read / Write "fill-color-rgba" guint : Read / Write "fill-stipple" GdkDrawable : Read / Write "font" gchararray : Read / Write "font-desc" PangoFontDescription : Read / Write "justification" GtkJustification : Read / Write "markup" gchararray : Write "rise" gint : Read / Write "rise-set" gboolean : Read / Write "scale" gdouble : Read / Write "scale-set" gboolean : Read / Write "size" gint : Read / Write "size-points" gdouble : Read / Write "size-set" gboolean : Read / Write "stretch" PangoStretch : Read / Write "stretch-set" gboolean : Read / Write "strikethrough" gboolean : Read / Write "strikethrough-set" gboolean : Read / Write "style" PangoStyle : Read / Write "style-set" gboolean : Read / Write "text" gchararray : Read / Write "text-height" gdouble : Read / Write "text-width" gdouble : Read / Write "underline" PangoUnderline : Read / Write "underline-set" gboolean : Read / Write "variant" PangoVariant : Read / Write "variant-set" gboolean : Read / Write "weight" gint : Read / Write "weight-set" gboolean : Read / Write "x" gdouble : Read / Write "x-offset" gdouble : Read / Write "y" gdouble : Read / Write "y-offset" gdouble : Read / Write
A canvas item for displaying text. See GnomeCanvasRichText for a more advanced text display and editing canvas item.
"anchor" (GtkAnchorType : Read / Write) | Anchor position for the text. |
"attributes" (PangoAttrList : Read / Write) | Pointer to a Pango attribute list (PangoAttrList). |
"clip" (gboolean : Read / Write) | Use clipping rectangle? |
"clip-height" (gdouble : Read / Write) | Height of clip rectangle. |
"clip-width" (gdouble : Read / Write) | Width of clip rectangle. |
"family" (gchararray : Read / Write) | Name of the font family, e.g. Sans, Helvetica, Times, Monospace. |
"family-set" (gboolean : Read / Write) | Apply specified font family? |
"fill-color" (gchararray : Read / Write) | X color specification for text. |
"fill-color-gdk" (GdkColor : Read / Write) | Pointer to an allocated GdkColor. |
"fill-color-rgba" (guint : Read / Write) | RGBA value used for AA color (in the format 0xRRGGBBAA). |
"fill-stipple" (GdkDrawable : Read / Write) | Stipple pattern for filling the text. |
"font" (gchararray : Read / Write) | Font description as a string. |
"font-desc" (PangoFontDescription : Read / Write) | Font description as a PangoFontDescription struct. |
"justification" (GtkJustification : Read / Write) | Justification for multiline text. |
"markup" (gchararray : Write) | Pango marked up text to render. |
"rise" (gint : Read / Write) | Offset of text above the baseline (below the baseline if rise is negative). |
"rise-set" (gboolean : Read / Write) | Apply the specified "rise"? |
"scale" (gdouble : Read / Write) | Size of font, relative to default size. |
"scale-set" (gboolean : Read / Write) | Apply specified font scaling ratio? |
"size" (gint : Read / Write) | Size (in pixels) of font. |
"size-points" (gdouble : Read / Write) | Size (in points) of font. |
"size-set" (gboolean : Read / Write) | Apply specified font size? |
"stretch" (PangoStretch : Read / Write) | Pango stretch of font to use (PangoStretch). |
"stretch-set" (gboolean : Read / Write) | Apply specified pango stretch? |
"strikethrough" (gboolean : Read / Write) | Whether to strike through the text. |
"strikethrough-set" (gboolean : Read / Write) | Apply specified strikethrough option? |
"style" (PangoStyle : Read / Write) | Pango style of font to use (PangoStyle). |
"style-set" (gboolean : Read / Write) | Apply specified pango style? |
"text" (gchararray : Read / Write) | The string of the text label. |
"text-height" (gdouble : Read / Write) | Used to query the rendered height of the text. |
"text-width" (gdouble : Read / Write) | Used to query the width of the rendered text. |
"underline" (PangoUnderline : Read / Write) | Pango underline style for text (PangoUnderline). |
"underline-set" (gboolean : Read / Write) | Apply specified pango underline style? |
"variant" (PangoVariant : Read / Write) | Pango variant of font to use (PangoVariant). |
"variant-set" (gboolean : Read / Write) | Apply specified pango variant? |
"weight" (gint : Read / Write) | Pango weight of font to use. |
"weight-set" (gboolean : Read / Write) | Apply specified pango weight? |
"x" (gdouble : Read / Write) | X coordinate of anchor point. |
"x-offset" (gdouble : Read / Write) | Horizontal offset distance from anchor position. |
"y" (gdouble : Read / Write) | Y coordinate of anchor point. |
"y-offset" (gdouble : Read / Write) | Vertical offset distance from anchor position. |
<< GnomeCanvasShape | GnomeCanvasWidget >> |