🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.interviews
2 messages
2 total messages Started by david.a.copperman Tue, 29 Dec 1992 18:38
attaching X window id to IV object
#1252
Author: david.a.copperman
Date: Tue, 29 Dec 1992 18:38
18 lines
1422 bytes
I am looking into adopting InterViews for a production version of a prototype
application platform written last year.  The prototype uses Sun OLIT.  Before
even considering IV, I need to know that I can do one thing using IV that
is critical to the package:

The platform integrates a Geographical Information System with a GUI process.
The GIS writes an X window that covers most of the screen; its operations
are controlled by the GUI code.  The GUI process gets the X window id of
the GIS window and attaches it to an OLIT Stub widget, and adds an event
handler for the Stub that gets all mouse cursor movement events (allowing
screen-to-real-world coordinate conversion as the cursor moves).

My understanding is that a goal of IV is to keep the IV programmer working
exclusively at the object level and not do any direct X coding.  Am I
prevented from it?  Do one or more IV classes provide some analog to the
OLIT Stub, so that I can capture those mouse cursor movements using IV?

Dave Copperman
Re: attaching X window id to IV object
#1255
Author: David Sternlicht
Date: Tue, 29 Dec 1992 22:35
18 lines
1331 bytes
dac@cbnewsf.cb.att.com writes:

	My understanding is that a goal of IV is to keep the IV programmer working
	exclusively at the object level and not do any direct X coding.  Am I
	prevented from it?  Do one or more IV classes provide some analog to the
	OLIT Stub, so that I can capture those mouse cursor movements using IV?

Nothing prevents you from direct Xlib codeing.  While the InterViews design 
provides an X independent level for programmers to work at, it is not difficult
to mix IV code with Xlib.  I have done this on numerous occasions.  The IV-X11
include files are accesable to the application programer in order to do this.
I am not familiar with the OLIT STUB widget, but you can use the InterView's
InputHandler class to respond to mouse motion.


                                dave sternlicht
                                mit X consortium
                                dave@expo.lcs.mit.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads