On Sat, 2007-04-14 at 16:45 +0100, Andrew Sobala wrote: > vicente garcia wrote: > > Hi, I'm programming a GTK program with freepascal and MySQL. The > > application > > must administer a Medical center and I need a calendar to show when the > > patients must go to the doctor. I'm working with the widget GtkCalendar, > > it's cool but I need something like this: > > http://farm1.static.flickr.com/176/434960008_65ab81bc16_o.jpg > > > > I need something that show me the weeks and the hours of the day that is > > occupated the medical center. I think I can't do this with GtkCalendar. > > > > Can somebody help me, please? > > You'll have to write your own widget [1]. That said, check out the > source code for Evolution and Dates [2], which both implement something > like this. You might be able to steal their code :) > > (The Dates code is likely to be simpler and less full of CORBA than > Evolution.) I'd really like extra API in GtkCalendar that allowed us to add events information to the days. It seems like it would be a generically useful thing: http://bugzilla.gnome.org/show_bug.cgi?id=339540 I haven't got around to doing it myself. -- Murray Cumming murrayc@xxxxxxxxxxx www.murrayc.com www.openismus.com _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list