> Hi, > > I am a fresh man in XWindow/linux. Where could i download a sample code > using Xlib in a GTK program? I will need draw graphics on some widgets. The point of Gtk+ is to not having to talk to X directly. You can draw graphic with the widget-set available in Gtk. http://www.gtk.org/api/2.6/gtk/GtkDrawingArea.html The above widget is a buffer you can draw on. Stian _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list