Re: Properties

From: Date: Thu, 02 Mar 2006 17:16:36 +0000
Subject: Re: Properties
References: 1 2 3 4  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1882@lists.php.net to get a copy of this message
The fields are already in the docs as <property> elements. That's going to be a pain to change all of them to <field> elements. Christian, can we just change the <properties> element to <fields> and then add a new <properties> element for the new stuff? Both fields and properties would be entered as <property> elements just in different parent elements so that we don't have to rewrite everything. The different parent elements would give us the ability to separate them out and maybe even add a little disclaimer automatically like, "You have to use get_property and set_property to..." Andrei Zmievski wrote:
I think they should be separate. We could call them 'fields' and 'properties' I guess. -Andrei On Mar 2, 2006, at 7:15 AM, Scott Mattocks wrote:
Thanks for the clarification. This leads to another question: How do we document properties? Right now what we have in the properties section are really fields. These can be accessed with $widget->fieldName; I don't think it is a good idea to throw properties in there because they need to be accessed with $widget->get_property('propName'); If we do keep them together we should at least identify how they are accessed in a standard way. And I think that should be done in the shortdesc tag so that it shows up on the main class page. Any ideas? -- Scott Mattocks http://www.crisscott.com -- PHP-GTK Documentation Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Scott Mattocks http://www.crisscott.com

« previous php.gtk.doc (#1882) next »