Zhang Yang wrote:
> Hello.
> I have created a popup menu in my function(list below). But I have a
> question "when and where to destroy it?".

I see in your sample below you are not connecting the popup_menu signal, 
which is the one you want for context menus.  You don't need to destroy 
it, Gtk does that for you, after dispatching the proper event from the 
selected menu item.

-- 
Guy Rouillier
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to