Re: drawing area and expose event



Hmmm. "all drawing"!!!

Are you saying that when a user hits the "e" key in my program I should
generate an expose event to draw the "e" in my window rather than simply
draw the "e" in response to them pressing "e".

Best Regards,
Norman Black
Stony Brook Software

----- Original Message -----
From: "Havoc Pennington" <hp redhat com>
To: "satyajit kanungo" <satyajit kanungo wipro com>
Cc: <gtk-list gnome org>
Sent: Wednesday, February 27, 2002 8:10 AM
Subject: Re: drawing area and expose event

>
> "satyajit  kanungo" <satyajit kanungo wipro com> writes:
> >   Do we always need to attach the expose event to the drawing area
to draw anything on it .
> >   Is there any other way where I can force the drawing .
> >
>
> Yes, all drawing should happen in expose_event. There are other ways
> to do it sometimes, but they are almost always a bad idea.
>
> Havoc
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]