Re: Disabling menu And Modal dialog boxes!
- From: Stefan Kost <ensonic hora-obscura de>
- To: APR Trainees <apr trainees gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Disabling menu And Modal dialog boxes!
- Date: Tue, 29 Mar 2005 14:09:53 +0200
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 <ensonic hora-obscura de> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]