![]() |
![]() |
![]() |
libccc Reference Manual | ![]() |
---|---|---|---|---|
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);
"anchor" GtkAnchorType : Read / Write / Construct "cursor" gint : "editable" gboolean : Read / Write "size-pixels" gboolean : Read / Write "text" gchararray : Read / Write
typedef struct { CcShapeClass base_class; /* vtable */ void (*delete) (CcText * self, guint offset, gsize length); void (*insert) (CcText * self, gchar const* text, gsize offset); } CcTextClass;
void cc_text_set_anchor_type (CcText *self, GtkAnchorType anchor);
self : |
|
anchor : |
anchor
" property"anchor" GtkAnchorType : Read / Write / Construct
The location of the anchor point of the text element.
Default value: GTK_ANCHOR_NORTH_WEST
size-pixels
" property"size-pixels" gboolean : Read / Write
Specifies whether the given size is in pixels or in canvas units.
Default value: FALSE