[Java-gnome-developer] GTK_WIDGET_xxxx macro access
Brought to you by:
afcowie
From: Jonas B. <jb...@ni...> - 2003-10-05 12:20:00
|
(also posted as a bug at sf.net) Is there a way to access the data available through the GTK_WIDGET_xxxx=20 macros? For my current project, I'd need to run the=20 GTK_WIDGET_SENSITIVE(widget) macro to find out if the widget is sensitive= =20 or not. Of course I can keep the info somewhere until this gets fixed. The C interface provides the gtk_widget_set_sensitive() for setting the=20 value, but for getting there's only the above macro (afaik). The setSensitive() method is implemented in the Widget class, so maybe we= =20 could take a java-like approach and add a getSensitive() method that then= =20 somehow runs the macro (or something). - xkr47 |