🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.pex
Article #194

Re: Connecting PEX workstations to X windows via "connid"

#194
From: Rich Thomson
Date: Sat, 12 Dec 1992 00:22
25 lines
1666 bytes
In article <37896@uflorida.cis.ufl.edu>
	ggh@reef.cis.ufl.edu (Greg Huey - Aymer deGregory) writes:
>  I am creating a widget with XtCreateManagedWidget of class formWidgetClass,
>and then trying to get PEX SI to use this window as its drawing surface.

It doesn't look like you're realizing the widget before attempting to
open the workstation.  The window for the widget isn't created until
the widget is realized.  Since you're using Xt, why don't you try
using the PEXt workstation widget I wrote?  Its in contrib/lib/PEXt in
the R5 distribution.  The workstation widget opens a PHIGS workstation
on its window when it is realized.  You could just add:

>	dform = XtCreateManagedWidget("dform", formWidgetClass, tform,
>					xarg,nxarg);
	ws = XtCreateManagedWidget("ws", pextWorkstationWidgetClass,
				    dform, NULL, 0);

And then do whatever you like with the widget's workstation.

						-- Rich
-- 
		      Don't blame me; I voted Libertarian
Disclaimer: I speak for myself, except as noted; Copyright 1992 Rich Thomson
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
Technical Details
Message-ID: <1992Dec12.002233.18056@dsd.es.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!mesa!rthomson
References: <37896@uflorida.cis.ufl.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.pex
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!mesa!rthomson
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: Connecting PEX workstations to X windows via "connid"
Message-ID: <1992Dec12.002233.18056@dsd.es.com>
Sender: usenet@dsd.es.com
Nntp-Posting-Host: 130.187.85.21
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
References: <37896@uflorida.cis.ufl.edu>
Date: Sat, 12 Dec 92 00:22:33 GMT
Lines: 25