lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: gtk_menu_popup problem
- Date: Tue, 24 Jun 2008 15:24:36 +0530
- From: Rahul Dange <rahul.dange@xxxxxxxxxx>
- Subject: ***BOGO*** Re: gtk_menu_popup problem
Hi,
try connecting to button-release-event instead of press event.
regards,
rahul
On Tue, 2008-06-24 at 11:29 +0200, ali abdallah wrote:
> Hi all,
>
> I have a application wish load plugin into it, the plugin when
> "button-press-event" is received they call a function of the main
> window and then the main window should popup a menu, but it doesn't, i
> have to click very fast on the plugin many times in order for the menu
> to be shown.
>
> i call gtk_menu_popup like that
>
> gtk_menu_popup(GTK_MENU(menu),NULL,NULL,
> NULL,NULL,0,GDK_CURRENT_TIME);
>
> or like this
>
> gtk_menu_popup(GTK_MENU(menu),NULL,NULL,
> NULL,NULL,0,gtk_get_current_event_time());
>
>
> Any help please.
>
> Best Regards.
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list