| View previous topic :: View next topic |
| Author |
Message |
mkhattar
Joined: 23 Aug 2007 Posts: 2
|
Posted: Thu Aug 23, 2007 10:51 am Post subject: select a week from GtkCalendar |
|
|
Hello all
i am new to this forum and i have a question regarding php-gtk, i want to select a week from gtkcalendar is this possible?
thanks a lot,
Manar |
|
| Back to top |
|
 |
kksou
Joined: 06 Sep 2006 Posts: 25
|
|
| Back to top |
|
 |
mkhattar
Joined: 23 Aug 2007 Posts: 2
|
Posted: Mon Aug 27, 2007 10:27 am Post subject: |
|
|
hello again
Thank you for the information, it is really helpful, but i want the user to be able to select the week number (shown by enabling the Gtk::CALENDAR_SHOW_WEEK_NUMBERS flag), so the user moves the mouse over the week numbers and selects one of them and retrieves the corresponding week number to be used in a certain function. Is this possible or the only choice is to select a day of the week?
P.S: i am a female
Regards,
Manar |
|
| Back to top |
|
 |
kksou
Joined: 06 Sep 2006 Posts: 25
|
Posted: Tue Aug 28, 2007 8:06 am Post subject: |
|
|
Hi Manar,
Have changed the code slightly to show the week number.
While the week number can be displayed in GtkCalendar, there are no signals to respond to mouse clicks on that week number.
If you are really really need that feature, you can come out with your own customized calendar using GtkDialog + GtkTable + 'button-press-event'
Regards,
/kksou
p.s. oops, sorry about that. have fixed it... |
|
| Back to top |
|
 |
|