Re: Management of Gnome menu
- From: Jens Finke <pearl darkride net>
- To: Frédéric Gédin <frederic gedin free fr>
- CC: gnome-devel-list gnome org
- Subject: Re: Management of Gnome menu
- Date: Fri, 31 Mar 2000 14:32:46 +0200
"Frédéric Gédin" wrote:
> I started to play developing a Gnome application using python.
> I would like to know how it is possible to activate to deactivate menus of a
> gnome application. I did not see anything on this in the documentation.
Every gtk menuitem is especially a GtkWidget. So if you have a reference
to a menu item you can write something like this (in C):
GtkMenuItem *menu_item;
...
gtk_widget_set_sensitive(GTK_WIDGET(menu_item), FALSE);
But I think the python calls are similar. Hope this helps.
Regards,
Jens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]