I have simple problem with my Gtk application and Text Drawing. If I use this code sample, then my program has been closed from X Window server :
[Gtk.Widget()]
Gtk.DrwawingArea area;
....
Gdk.GC gc = new Gdk.GC();
Gtk.DrwawingArea.DrawText(Gdk.Font.FromDescription(FontDescription.FromString("Sans")), gc, 0,0,"Hello");
Message from X Window server is : The programm <unknown> reised an X Window System error. The error was "Bad Font (invalid font parameter)"
May by i need special changes for Gdk.GC before drawing ?
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
