[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
forcing draw of windows with gtkglarea widget
- From: greg waltz <finklesk Op Net>
- To: gtk-app-devel-list redhat com
- Subject: forcing draw of windows with gtkglarea widget
- Date: Tue, 17 Nov 1998 00:23:04 -0500 (EST)
hi, i am writing a 3d modeling progyam with more than one view, hence, it
has more than one glarea. each glarea is in its own window and i want it
to update all the view windows simultaneously. ie. an object is moved in
one window and the results show up in all the windows.
i've been trying to find aflush type of command, but to no avail. the
closest thing that i found is:
while (gtk_events_pending())
{gtk_main_iteration();}
i put it after my cals to opengl and gtk_gl_area_swapbuffers() but this
doesn't do the trick.
what do i need to do?
btw: when an object is moved in one window, only that window gets updated.
the others are updated only under the usual circumstances including the
event of the user clicking on any one of the open windows. the one time
that all the views are updated at once is after an object is added to the
scene. this last case may be a more specifica case of the user clicking on
the windws...
thanks!
"ta-ta for now!" -- t-i-double 'ge'-er
http://www.op.net/~finklesk/index.html
" STUFF. "
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]