| Libgnomedb 4.0 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
GnomeDbCanvasTextGnomeDbCanvasText — 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
"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
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
|
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 |
void gnome_db_canvas_text_set_highlight (GnomeDbCanvasText *ct,gboolean highlight);
Turns ON or OFF the highlighting of ct
|
a GnomeDbCanvasText object |