Re: Some missing things
| From: | Christian Weiske | Date: | Wed, 27 Apr 2005 12:53:31 +0000 |
| Subject: | Re: Some missing things | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1196@lists.php.net to get a copy of this message | ||
Again me,
If found the problem to the missing constructor docs:
Have a look at gtk.defs#4943
=================
(define-function gtk_dialog_new
(is-constructor-of "GtkDialog")
(c-name "gtk_dialog_new")
(caller-owns-return #t)
(return-type "GtkWidget*")
)
(define-function gtk_dialog_new_with_buttons
(is-constructor-of "GtkDialog")
(c-name "gtk_dialog_new_with_buttons")
(caller-owns-return #t)
(return-type "GtkWidget*")
(parameters
'("const-gchar*" "title" (default "NULL") (null-ok))
'("GtkWindow*" "parent" (default "NULL") (null-ok))
'("GtkDialogFlags" "flags")
'("const-gchar*" "first_button_text" (default "NULL")
(null-ok))
)
(varargs #t)
)
==================
docgen uses the first one as constructor, so there are no parameters
generated.
Now php-gtk seems to take the second one as constructor, and has parameters.
How can I distinguish between "normal" constructors and such overridden
ones?
Regards/MfG,
Christian Weiske
--
XMMS is playing now:
Silbermond - Letzte Bahn
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc