> Diverging slightly - is it possible to create artificial expose events
> (assuming it's a sensible concept)? This would be to force the initial draw
> using the same mechanism as normal expose redraws.
Sure, its possible. The function XSendEvent() will allow you to
construct and emit synthetic events.
I'm not sure it's necessary, since when a Window is mapped for the
first time an Expose event should be generated by X -- in fact,
depending upon the window manager, you may get more than one (checking
the `count' field of the XExposeEvent structure will tell you how many
more Expose events are queued up, allowing you to do a form of event
compression).
Refer to your favorite Xlib reference for more detail.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/