bg color for marked days in gtk_calendar



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi all,

how would i set the background color for the marked days in gtk_calendar?

i see a marked_date_color array in the calendar widget but

{
   GdkColor c = {0,40000,0,0};
        
   gtk_calendar_mark_day (calendar, day);
   calendar->marked_date_color[day - 1] = c;
}

does not seem to have any effect.

thanks in advance
(please cc me, i am not subscribed to the list)
- --
Dr. Ivo Alxneit
Laboratory for Solar Technology   phone: +41 56 310 4092
Paul Scherrer Institute             fax: +41 56 310 2688
CH-5232 Villigen                   http://solar.web.psi.ch
Switzerland                   gnupg key: 0x515E30C7

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAknkl18ACgkQAd7CE1FeMMcBEwCeIMJkJy90XnF4N4or73bAcI5M
unkAoMMNXYP/I8mRn2+fEdW1JiwNnU6a
=HST+
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]