Re: screwed up newlines?

From: Date: Sun, 06 Aug 2006 15:31:43 +0000
Subject: Re: screwed up newlines?
References: 1 2 3 4 5 6 7 8  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-2766@lists.php.net to get a copy of this message
Actually, either dashes or underscores work for set_property()/get_property() API. Perhaps we should suggest that people use underscores when using it. That way, it would be consistent with the field names. -Andrei On Aug 6, 2006, at 2:52 AM, Christian Weiske wrote:
Steph,
I'm having problems with that leap from 'this is what properties are' (which is known) to 'Thus, dashes in the names are ok'.
PHP would not allow the following:
echo $widget->is-realized;
but this works:
echo $widget->get_property('is-realized');
Further, I doubt that using underscores instead of dashes would be liked by gtk. --Regards/MfG, Christian Weiske --PHP-GTK Documentation Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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