[Gtk-sharp-list] Widgets.Events problem

Pedro Abelleira Seco pedroabelleira@yahoo.es
Sun, 30 Nov 2003 09:36:55 +0100 (CET)


Hi

When I try to get the current events of a Widget
(DrawingArea) with:

    int events = drawingArea.Events;

I get the following error:

(SkyNET:12074): GLib-GObject-CRITICAL **: file
genums.c: line 402 (g_value_get_enum): assertion
`G_VALUE_HOLDS_ENUM (value)' failed

Other properties work, for example
drawingArea.Visible.

BTW I'm trying to temporaly disable events in the
DrawingArea. Do you know any other way to do it?

Pedro

_______________________________________________________________
Yahoo! Sorteos
¡Ya puedes comprar Lotería de Navidad!
http://yahoo.ventura24.es/