Text

Text —

Synopsis




            CcText;
            CcTextClass;
CcItem*     cc_text_new                     (gchar const         *text);
void        cc_text_set_anchor              (CcText *self,
                                             gdouble x,
                                             gdouble y);
void        cc_text_set_anchor_type         (CcText *self,
                                             GtkAnchorType anchor);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----CcItem
               +----CcText

Implemented Interfaces

CcText implements

Properties


  "anchor"               GtkAnchorType         : Read / Write / Construct
  "size-pixels"          gboolean              : Read / Write
  "text"                 gchararray            : Read / Write

Description

Details

CcText

typedef struct _CcText CcText;


CcTextClass

typedef struct {
	CcItemClass base_class;
} CcTextClass;


cc_text_new ()

CcItem*     cc_text_new                     (gchar const         *text);

text :
Returns :

cc_text_set_anchor ()

void        cc_text_set_anchor              (CcText *self,
                                             gdouble x,
                                             gdouble y);

self :
x :
y :

cc_text_set_anchor_type ()

void        cc_text_set_anchor_type         (CcText *self,
                                             GtkAnchorType anchor);

self :
anchor :

Properties

The "anchor" property

  "anchor"               GtkAnchorType         : Read / Write / Construct

The location of the anchor point of the text element.

Default value: GTK_ANCHOR_NORTH_WEST


The "size-pixels" property

  "size-pixels"          gboolean              : Read / Write

Specifies whether the given size is in pixels or in canvas units.

Default value: FALSE


The "text" property

  "text"                 gchararray            : Read / Write

The displayed text.

Default value: NULL