Re: GtkMenu popup ?
| From: | Andrei Zmievski | Date: | Thu, 12 Apr 2001 13:43:08 +0000 |
| Subject: | Re: GtkMenu popup ? | ||
| References: | 1 2 3 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1360@lists.php.net to get a copy of this message | ||
On Thu, 12 Apr 2001, Markus Fischer wrote:
> I've looked around a bit in the sources. The gtk+
> function gtk_menu_popup is only in php-gtk/generate/gtk.defs but
> its not anywhere in php-gtk/src/php_gtk_gen_gtk.c .
>
> When $menu->popup() is called it's not gtk_menu_popup ( 6
> parameters without the widget) but instead GtkWidget::popup seems
> to be called ( two parameters, x and y coordinates).
>
> Also, in function_entry php_gtk_menu_functions[] in
> php-gtk/src/php_gtk_gen_gtk.c there's no popup function
> mentioned.
>
> Andrei, can you comment on this ?
The popup() is not automatically generated due to the fact that one of
the arguments is a gpointer - there is no way to determine what that
means without hand-coding it. I'll work on it today maybe.
-Andrei
UNIX is like sex: If you don't know it, you don't miss it. But if
you know it, you'll need it. -- Anonymous.