[techtalk] GnomeCanvas

Kristin M. Fitzsimmons Kristin.M.Fitzsimmons at Dartmouth.EDU
Thu Feb 22 12:17:57 EST 2001


Anyone out there familiar with GnomeCanvas? I'm having huge
amounts of trouble getting it to display a GnomeCanvasText
object, and I can't figure out what's wrong...


file->filename = 
gnome_canvas_item_new(gnome_canvas_root(GNOME_CANVAS(canvas)), 
gnome_canvas_text_get_type(), "text", text, "x", 0, "y", 0, 
"font", 
"-*-terminal-bold-r-normal-*-12-*-*-*-*-*-iso8859-1", 
"justification", GTK_JUSTIFY_LEFT, "fill_color_rgba", 
"000000", "anchor", GTK_ANCHOR_CENTER, NULL); 

Everything else seems to be working -- I can make lines,
rectangles, etc...but no text. : (




More information about the Techtalk mailing list