Re: [PEPr] Call for Comments: Structures_Form
| From: | Scott Mattocks | Date: | Wed, 05 Apr 2006 17:57:35 +0000 |
| Subject: | Re: [PEPr] Call for Comments: Structures_Form | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42092@lists.php.net to get a copy of this message | ||
Thanks for the feedback.
Christian Weiske wrote:
Just a note: "Unfreezes the element so that its value may not be changed." in the Gtk2Text.php isn't the correct description.I will fix the description.
Gtk2_FileSelect:The comments were copied from Gtk2_Submit. I will update those also. I will also change the behavior to set the value to the value passed on construction (getcwd() if no value is passed. I think that will be a better solution than setting to some other file.It is highly unlikely that a user really wants to clear the value of a button. Therefore, this method has been deactivated. It will always return true. If the user really wants to clear the value, they can pass null to setValue()That isn't correct - set_value returns false if the dir doesn't exist, and NULL doesn't exist as file. Btw, does setting the dir to "/" work on windows?
Gtk2Date.php: It would be nice to have a constructor parameter that determines how months are displayed. Not all people may want to have the month name displayed. And it's currently not possible to change the year span displayed for selection.Sure it is. You can pass $yearStart and $duration to the constructor. If you pass 2006 and 5, you will get years from now until 2011. Thanks, -- Scott Mattocks Author of the soon to be published: Pro PHP-GTK http://www.crisscott.com