How do you force an expose event on a gtkglarea ?
- From: Jim Parker <hopeye cfl rr com>
- To: "GTK+ mailing list" <gtk-app-devel-list gnome org>
- Subject: How do you force an expose event on a gtkglarea ?
- Date: Sat, 29 Dec 2001 09:13:11 -0500
G'Day !
I'm writing a program that a user can draw interactively on a gtkglarea
with a mouse.
Basically the scribble example , but using a gtkglarea instead of the
gtk_drawing_area.
Currently in order to show the drawing, you need to resize the screen, how
can I force an expose event ? Will gtk_widget_draw ( ) work ?
The examples I have seen either use Glut or swap a backing pixmap. Neither
of which seem to apply in this case.
TIA
cheers,
Jim Parker
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]