Re: calendar marked_date array



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]