[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: calendar marked_date array
- From: Chas Owens <alas widomaker com>
- To: gtk-perl-list gnome org
- Subject: Re: calendar marked_date array
- Date: Fri, 22 Aug 2003 13:12:50 -0400 (EDT)
Quoting Nori Heikkinen <nori+gtk-perl maenad net>:
<snip>
> both [1] and [2] seem to say that each calendar object (widget) should
> have an array called marked_date that stores which days are marked.
> should this not do it?
</snip>
this line
if ( $cal->marked_date[ $d-1 ] ) {
should be
if ( ($cal->{marked_date})[ $d-1 ] ) {
At least that works in Gtk, I don't have access to Gtk2 at the momment. If it
doesn't work try
if ( ($cal->marked_date)[ $d-1 ] ) {
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]