Re: Do we have scrolled canvases yet?

Carnage (
Tue, 14 Jan 1997 11:39:42 -0500 (EST)

To subscribers of the xforms list from Carnage <> :

OK! I finally got the it working! Well, I can now write to
childCanvas. Haven't got scrolling to work yet, but that doesn't seem
like it would be too difficult to implement (just a matter of calling
XMoveWindow, right?)

Basically, what I did was after creating childCanvas, I had to use
XSelectInput to specify what events I want childCanvas to respond to.
Then I had to register callback routines for non-XForms windows by using
fl_set_event_callback and fl_add_event callback. Reason why I couldn't
write to childCanvas before, I guess, was that you need to do write
operations when an Expose event is generated and the Expose event for
childCanvas wasn't being handled.

Well, I'm glad that part is over!

Arcadio Alivio Sincero, Jr.
Undergraduate Computer Science Major/Linux Enthusiast/Competitive Bodybuilder
WWW: /cgi-bin/exit-to?

"Bare feet magnetize sharp metal objects so they point upward from the floor,
especially in the dark."