🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1433

Mixing InterViews with Xt

#1433
From: Dan Connolly
Date: Thu, 06 Jun 1991 03:29
24 lines
1517 bytes
I have a sort of incestuous (sp?) idea: I want interviews and Xt to
share a window. I've done it with another C++ toolkit and it worked well.

The strategy is to build an Xt app with a sort of dummy widget it in.
I take the window from the dummy widget and create an interviews world
or something inside it. Then I XtAddEventHandlers with my widget, and
pass the events I'm interested on to the interviews world.

From my understanding so far, all I have to do is sublcass world and
window with constructors like:
XtWorld::XtWorld(Display *dp) // create a world from an already opened display
and
XtWindow::XtWindow(XWindow xw) // create a window from an existing x window.

Does this seem feasible?

What I want to do is display structured text and graphics inside an Xt
application (or in some other application based on X windows.)

In a nutshell, I need to be able to make Glyphs etc. in an existing window
with an existing connection to the server, and pass my own events to these
Glyphs etc.

Dan
Technical Details
Message-ID: <1991Jun06.032922.415@convex.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!convex!connolly

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!convex!connolly
From: connolly@convex.com (Dan Connolly)
Newsgroups: comp.windows.interviews
Subject: Mixing InterViews with Xt
Keywords: blasphemy, Xt, Intrinsics, Widget
Message-ID: <1991Jun06.032922.415@convex.com>
Date: 6 Jun 91 03:29:22 GMT
Sender: usenet@convex.com (news access account)
Organization: CONVEX Computer Corporation, Richardson, Tx., USA
Lines: 24
Nntp-Posting-Host: pixel.convex.com