GtkMenu::popup() parameters?
| From: | Christian Weiske | Date: | Thu, 23 Mar 2006 07:14:39 +0000 |
| Subject: | GtkMenu::popup() parameters? | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-2667@lists.php.net to get a copy of this message | ||
Hello all,
Could somebody explain the popup() paramters of GtkMenu to me?
I would expect passing X and Y, but that's not the case - it wants some
widgets I don't understand.
That's the override code:
if (ZEND_NUM_ARGS() > 5) {
if (!php_gtk_parse_varargs(ZEND_NUM_ARGS(), 5, &user_args,
"NNVii", &php_pms, gtkwidget_ce, &php_pmi, gtkwidget_ce, &callback,
&button, &time)) {
return;
}
} else {
if (!php_gtk_parse_args(ZEND_NUM_ARGS(), "|NNVii", &php_pms,
gtkwidget_ce, &php_pmi, gtkwidget_ce, &callback, &button, &time)) {
return;
}
}
I have no idea what php_pmi and php_pms actually are (the are
gtkwidgets, but what do they and why do I need them?).
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc