Dev_Inspector
| From: | Anant Narayanan | Date: | Fri, 23 Dec 2005 15:07:06 +0000 |
| Subject: | Dev_Inspector | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6478@lists.php.net to get a copy of this message | ||
Hello All, esp Christian.
I am a little puzzled by Dev_Inspector's behaviour. It's supposed to
reflect functions WITH their parameters right? But many methods,
constructors in particular, show no parameters.
For example, Dev_Inspector shows: public __construct() for GtkDialog.
However,
$dialog = new GtkDialog('Interactive Dialog', $this, 0, array(
Gtk::STOCK_OK, Gtk::RESPONSE_OK, '_Non-stock button',
Gtk::RESPONSE_CANCEL));
works perfectly fine! Also, the properties 'action_area', and 'vbox'
are missing in the description of GtkDialog that the inspector gives.
Does this mean we really have to start looking at the source code in
order to determine what parameters a method may accept?! Or am I
missing something?
Cheers!
--
Anant Narayanan
-------------------------
Find Freedom!
http://www.kix.in/