![]() | ![]() | ![]() | Libgnomedb 4.0 Reference Manual | ![]() |
---|
GnomeDbCanvasText — Base class for GnomeDbCanvasItem objects rendering a GdaObject's name as a text
struct GnomeDbCanvasText; struct GnomeDbCanvasTextClass; GooCanvasItem* gnome_db_canvas_text_new (GooCanvasItem *parent, const gchar *txt, gdouble x, gdouble y, ...); void gnome_db_canvas_text_set_highlight (GnomeDbCanvasText *ct, gboolean highlight);
GObject +----GooCanvasItemSimple +----GooCanvasGroup +----GnomeDbCanvasItem +----GnomeDbCanvasText +----GnomeDbCanvasColumn
GnomeDbCanvasText implements GooCanvasItem.
"height" gdouble : Write "highlight-color" gchararray : Read / Write "text" gchararray : Read / Write "text-bold" gboolean : Read / Write "text-underline" gboolean : Read / Write "width" gdouble : Write
This GnomeCanvasItem is self-destroyed when the referenced GdaObject object is destroyed.
struct GnomeDbCanvasTextClass { GnomeDbCanvasItemClass parent_class; };
GooCanvasItem* gnome_db_canvas_text_new (GooCanvasItem *parent, const gchar *txt, gdouble x, gdouble y, ...);
Creates a new canvas item to display the txt message
parent : | the parent item, or NULL. |
txt : | text to display |
x : | the x coordinate of the text. |
y : | the y coordinate of the text. |
... : | optional pairs of property names and values, and a terminating NULL. |
Returns : | a new GooCanvasItem object |
void gnome_db_canvas_text_set_highlight (GnomeDbCanvasText *ct, gboolean highlight);
Turns ON or OFF the highlighting of ct
ct : | a GnomeDbCanvasText object |
highlight : |
"height" (gdouble : Write) | |
"highlight-color" (gchararray : Read / Write) | |
"text" (gchararray : Read / Write) | |
"text-bold" (gboolean : Read / Write) | |
"text-underline" (gboolean : Read / Write) | |
"width" (gdouble : Write) |
<< GnomeDbCanvasCursor | GnomeDbCanvasFkey >> |