On Fri, 11 Feb 2005 06:06:00 +0000
"[ A b h i s h e k ]" <[EMAIL PROTECTED]> wrote:
> Im having problem regarding writing code in the expose event of my
> event box. Whenever this event occurs, i am writing code to draw a
> rectangle in the handler but nothing seems to happen whereas if i run
> the same code in any other function or event handler it works. Is
> there something i need to know about the expose event. If u could help
> out please reply to [EMAIL PROTECTED]

The only explanation I can think of is that the widget hasn't been
set up to receive expose events.  Something like
gtk_widget_add_events(mywidget, GDK_EXPOSURE_MASK) would do this.

HTH
JV
-- 
A requirement of creativity is that it contributes to change.
Creativity keeps the creator alive.

  -- FRANK HERBERT, unpublished notes
_______________________________________________
gtk-app-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to