hi,

Everything you seen on screen is a widget. The probelm is lies in theay of the context menu create. Normal gtk apps create menus it self and not from xml. Thus we have the widget pointers.

I've not writte applets do far, so I don't know the function that can help you.
Maybe you can find it by searching in http://www.koders.com (select C as the language).


Stefan


hello sir,
yes we need * but the context menu or its menuitems do not have any pointer.
since its a context menu,there is no GTKWidget* involved.
dunno how to get a GTkWidget* for it

thanx

On Tue, 29 Mar 2005 08:26:34 +0200, Stefan Kost <[EMAIL PROTECTED]> wrote:

Hi

--snip--


somewhere in callbacks i've used:-

gtk_widget_set_sensitive("pepStatus",FALSE);


http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-set-sensitive

The first arg *must* be a pointer to the widget and not a gchar*. This has
nothing to do with the bonobo stuff you do elsewhere.

Stefan


_______________________________________________ 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