gtk_menu_popup problem

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


or like this


Any help please.

Best Regards.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]