Re: calendar with Gtk+ 2.0
- From: Andrew Sobala <aes gnome org>
- To: vicente garcia <vicentegarcia gmail com>
- Cc: gtk-list gnome org
- Subject: Re: calendar with Gtk+ 2.0
- Date: Sat, 14 Apr 2007 16:45:26 +0100
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.)
--
Andrew
[1]
http://gnomejournal.org/article/34/writing-a-widget-using-cairo-and-gtk28
and
http://gnomejournal.org/article/36/writing-a-widget-using-cairo-and-gtk28-part-2
are good starting points.
[2] http://pimlico-project.org/dates.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]