Re: MenuItem activate signal
- From: Carlos Pereira <jose carlos pereira ist utl pt>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: MenuItem activate signal
- Date: Fri, 06 Feb 2009 13:24:05 +0000
I am fairly experienced with sensitive/insensitive states in Menuitems
in old Option Menus and new Combo Boxes, but I am not sure in which
context your Menuitem appears...
Could you explain what is the parent of your MenuItems? perhaps with a
very small bit of code showing how they are created?
Regards,
Carlos
I have a callback that is called when a MenuItem is selected, but in the
callback the paramenter is which is suppose to be the MenuItem is NULL.
The callback signature is "void user_function (GtkMenuItem *menuitem,
gpointer user_data)".
What I want to do is set menuitem to be insensitive when sellected and
then sensitive when the task it calls is done.
Any ideas?
Thanks,
Dave
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]