Re: popupmen item callback
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: popupmen item callback
- Date: Wed, 29 Nov 2006 09:02:05 +0100
On Wed, Nov 29, 2006 at 03:18:57PM +0800, sunzysjzri wrote:
hi, i write a button which pops up a popupmenu after clicked,
and when i select an item of the popupmen such warring appeared, and why?
...
g_signal_connect (menu, "deactivate", G_CALLBACK (gtk_widget_destroy), NULL);
You cannot destroy the menu in the middle of deselection.
Destroy it in "selection-done" handler.
Yeti
--
Whatever.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]