Re: drawing area and expose event
- From: "Norman Black" <stonybrk ix netcom com>
- To: "Havoc Pennington" <hp redhat com>
- Cc: "gtk-list" <gtk-list gnome org>
- Subject: Re: drawing area and expose event
- Date: Wed, 27 Feb 2002 08:47:26 -0800
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]