wx.calendar Questions

Ghaith Hachem ha scritto:

Hey, I'm kind of new to wxpython in general, i am trying to write an
app to show diffrent vacations of employees based on some database
output, i wrote the engine and queries needed, but i want to show
these on a calendar, now i didn't find in the api any way to change
colors for certain dates, only for the holidays, so i though i'd add
these as holidays, i found the setHoliday() method but i was wondering
how can i delete a holiday after i set it, and where are they actually
stored, these days, as i will need to reset the days when i select
another employee, also Saturdays are considered holidays, but not for
my app, so removing a holiday is needed, how can i do it

thank you

<promo>

You can use ours wxScheduler widget http://www.expobrain.net/projects/wxscheduler/wxscheduler.html in monthly view and set a scheduler for each day for one or more employees with different colors. :slight_smile:

</ promo>

Sorry, I don't know how do this with wx.calendar :frowning:

···

--
EXPO - Hardware solution, Software revolution

Esposti Daniele
Via Aldo Moro, 14/h
20085 - Locate di Triulzi (MI)
Cell 347/0748470

Hey, thanks for the tip, i came across wx.lib.calendar i thought it
was a library for wx.calendar so i didn't give it much attention, for
now i was thinking of creating and expending a subclass of
wx.calendar, though it seems to be missing more important features
that i need, i'll be taking a look at lib.calendar, i don't think i
saw it in the api, or i just didn't notice it, any specific docs that
might be helpful?

···

On 7/30/07, Robin Dunn <robin@alldunn.com> wrote:

Also take a look at wx.lib.calendar. It's a Python implementation of a
calendar widget that we had before wx got the C++ wxCalendarCtrl added.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

--
Cheers,
Ghaith

Expo wrote:

Ghaith Hachem ha scritto:

Hey, I'm kind of new to wxpython in general, i am trying to write an
app to show diffrent vacations of employees based on some database
output, i wrote the engine and queries needed, but i want to show
these on a calendar, now i didn't find in the api any way to change
colors for certain dates, only for the holidays, so i though i'd add
these as holidays, i found the setHoliday() method but i was wondering
how can i delete a holiday after i set it, and where are they actually
stored, these days, as i will need to reset the days when i select
another employee, also Saturdays are considered holidays, but not for
my app, so removing a holiday is needed, how can i do it

thank you

<promo>

You can use ours wxScheduler widget http://www.expobrain.net/projects/wxscheduler/wxscheduler.html in monthly view and set a scheduler for each day for one or more employees with different colors. :slight_smile:

Hey, that looks like a nice calendar control! I would love to use it as well for a project, but when I download the 1.2.2 tarball, all that it seems to contain is a changelog, wxSchedulePrint.py, and a directory of images. Am I doing something wrong?

Thanks!
- Mike