Re: GtkCalendar

From: Date: Sun, 22 Apr 2001 12:55:36 +0000
Subject: Re: GtkCalendar
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1465@lists.php.net to get a copy of this message
Adam, I think you're asking a deeper question here but will throw the GTK manual at you anyway .. These are the options available: $gtkcalendar->display_options(ONE_OF_THE_FOLLOWING); GTK_CALENDAR_SHOW_HEADING Specifies that the month and year should be displayed. GTK_CALENDAR_SHOW_DAY_NAMES Specifies that three letter day descriptions should be present. GTK_CALENDAR_NO_MONTH_CHANGE Prevents the user from switching months with the calendar. GTK_CALENDAR_SHOW_WEEK_NUMBERS Displays each week numbers of the current year, down the left side of the calendar. GTK_CALENDAR_WEEK_START_MONDAY Starts the calendar week on Monday, instead of the default Sunday. And you can't use those more than one at a time. (Default has all.) What you *could* do perhaps is display a CList with php date conversions in it, a bit like Joe did with his print commands (gtk.php-coder.net). ----- Original Message ----- From: "Adam Rambousek" <rambousek@volny.cz> To: <php-gtk@lists.php.net> Sent: Sunday, April 22, 2001 12:38 PM Subject: [PHP-GTK] GtkCalendar How could I control the look of GtkCalendar? If I want to display month numbers instead of names, or edit month names, or display sundays in red color... is it possible? thanks -- Adam Rambousek email: rambousek@volny.cz PGP KeyID: 33BD6BAE ICQ: 47596279 www: http://adamovy.cestiny.cz http://werich.poda.cz http://rambousek.com -- PHP GTK Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net For additional commands, e-mail: php-gtk-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.gtk (#1465) next »