| Libgnomedb 4.0 Reference Manual | ||||
|---|---|---|---|---|
GnomeDbCanvasTextGnomeDbCanvasText — Base class for GnomeDbCanvasItem objects rendering a GdaObject's name as a text |
Synopsis
GnomeDbCanvasText; 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);
Object Hierarchy
GObject +----GooCanvasItemSimple +----GooCanvasGroup +----GnomeDbCanvasItem +----GnomeDbCanvasText +----GnomeDbCanvasColumn
Properties
"height" gdouble : Write "highlight-color" gchar* : Read / Write "text" gchar* : Read / Write "text-bold" gboolean : Read / Write "text-underline" gboolean : Read / Write "width" gdouble : Write
Description
This GnomeCanvasItem is self-destroyed when the referenced GdaObject object is destroyed.
Details
GnomeDbCanvasTextClass
typedef struct {
GnomeDbCanvasItemClass parent_class;
} GnomeDbCanvasTextClass;
gnome_db_canvas_text_new ()
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
|
the parent item, or NULL. |
|
text to display |
|
the x coordinate of the text. |
|
the y coordinate of the text. |
|
optional pairs of property names and values, and a terminating NULL. |
Returns : |
a new GooCanvasItem object |
gnome_db_canvas_text_set_highlight ()
void gnome_db_canvas_text_set_highlight (GnomeDbCanvasText *ct, gboolean highlight);
Turns ON or OFF the highlighting of ct
|
a GnomeDbCanvasText object |
|
