HDTenEightyP/NetNews huggingface dataset:
From: okeefe@cs.Buffalo.EDU (Paul O'Keefe)
Newsgroups: comp.windows.x,comp.windows.x.intrinsics
Subject: Event order: EnterNotify before Expose?
Date: 14 Nov 92 00:12:53 GMT
Organization: State University of New York at Buffalo/Comp Sci
Originator: okeefe@dubhe.cs.buffalo.edu


Implementing Tektronix-style crosshairs, I've run into a problem
caused by the order in which events arrive.

Scenario:

An obscuring window in unmapped and the pointer "falls" into my app window.
The EnterNotify arrives followed by an Expose event. 
The EnterNotify handler draws the crosshairs in XOR mode.
The Expose handler then overwrites part of the crosshairs
so the original pixels can't be recovered.

Question 1:

One solution is for the EnterNotify handler to examine
the event queue for Expose events and service them first.
Is there another solution that's easier and/or better?

Question 2:

Does EnterNotify allows precede Expose in this scenario?
If so why?

-Paul O'Keefe
From: gsmith@apssgi.nswc.navy.mil (Gary E Smith)
Newsgroups: comp.windows.x
Subject: xmedit on SunOS 4.1.2
Date: 13 Nov 92 20:30:53 GMT
Organization: Naval Surface Warfare Center

Has anyone out there built this on a Sun?  Our system has quest Motif and
OpenWindows 3.0.  Thanks in advance.

-- 


Gary E. Smith
Naval Surface Warfare Center    Phone:    (703) 663-4149
Code L10MP                                (DSN) 249-4149
Dahlgren, VA  22448             MILNET:   gsmith@relay.nswc.navy.mil
Newsgroups: comp.windows.x
From: ip217@brems.ii.uib.no (Torgeir Veimo)
Subject: Compiling aXe. anything wrong?
Keywords: aXe
Organization: University of Bergen, Norway
Date: Thu, 5 Nov 92 10:57:03 GMT

Help!

When i try to compile aXe version 3.1 on our sun 3/50s here, i get the message

[...]
cc -c -O   -I/usr/include  -I.     -DHELPDIR=\"/usr/lib/X11\" AxeEditor.c
"AxeEditor.c", line 1728: object undefined
Compilation failed
*** Error code 1
make: Fatal error: Command failed for target `AxeEditor.o'

Have I set something wrong in the Makefile or what? everything else compiles
just fine. Any Clues?

-- 
Torgeir Veimo

-----------------------------------------------------
Studying at the University of Bergen

"...I'm gona wave my freak flag high!" (Jimi Hendrix)

"word wrap? you must be kidding..."
-----------------------------------------------------

Newsgroups: comp.windows.x
From: leonp@cs.kun.nl (Leon Pillich)
Subject: Changing focus to a fresh window -> crash!
Organization: University of Nijmegen, The Netherlands
Date: Fri, 6 Nov 1992 20:52:53 GMT

n my program I have a bit of code like this:
...
  XtPopup(dialog);
  XSetFocus(display,RevertToNone,XtWindow(dialog),CurrentTime);
...
(maybe that parameters should be in different orders but thats not
 the problem)

This piece of code crashes with a bad match error ...
I suspect it has something to do with that the window is not
immediatly visible after popup.
How can I prevend this error?

I actually need to do this, whether this is normal X practice or not.
Can I prevend this error by getting all events until a
visibility event and dispatching them (with XtDispatch) by "hand"?

Does anybody have any experience with this?
Can anybody help me?

Thnx, (please respond by email).


Leon Pillich
University of Nijmegen, Holland
email: leonp@cs.kun.nl
-------------------------------------------------------------
 Life is what's happening when you're making other plans ...
                                      John Lennon
From: ken@aiai.ed.ac.uk (Ken Johnson)
Newsgroups: ai.general,comp.windows.x,ed.unix-wizards
Subject: VUIT and similar tools
Date: 9 Nov 92 14:37:25 GMT
Followup-To: ed.unix-wizards
Distribution: ed
Organization: Bugs-R-Us


Does anyone have details, experience, and preferably a copy, of VUIT or
of any Motif (or other X) graphical user interface construction tools?

graphically, Ken Johnson


-- 
                                  //// Ken Johnson, A I Applications Institute
Don't get off while it's moving. ////       80 South Bridge, EDINBURGH EH1 1HN
                                ////                  E-mail ken@aiai.ed.ac.uk
                               ////       Phone 031-650 2756  Fax 031-650 6513
Newsgroups: comp.windows.x
From: trevor@telesoft.com (Trevor Bourget @ignite)
Subject: Re: Mapping A Window To A Process
Organization: TeleSoft, San Diego, CA, USA
Date: Sat, 7 Nov 1992 21:59:36 GMT

In <1992Nov7.105306.20140@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:

>In article <Bx7oBI.5IG@cs.columbia.edu>,
>haupt@cs.columbia.edu (Marcus E. Haupt) writes:

>> I would like to know if anyone has come across a method to find
>> the UNIX pid of a process given only a window ID

...
Deleted long explanation of why it's so difficult and dirty that
it's not worth doing.
...

If you have a certain set of applications that you care about, you
can have them put properties (XSetTextProperty) on their top-level
window indicating useful information like USER and PID.

It would have been nice if these had been part of the WM protocol
standard (like MACHINE, NAME, and COMMAND are).

-- Trevor Bourget (trevor@telesoft.com)
Newsgroups: comp.windows.x
From: gleung@Athena.MIT.EDU (Gilbert Leung)
Subject: Request for the program VOTE
Organization: The Internet
Date: Fri, 6 Nov 1992 23:15:15 GMT

Hi,

	Does anybody know where I can get VOTE, a multiplexing program?

Thanks in advance,
Gilbert
Newsgroups: comp.windows.x
From: danielh@hpber010.swiss.hp.com (Daniel Huber)
Subject: X11 TV extension?
Date: Fri, 13 Nov 1992 07:55:04 GMT
Organization: Hewlett-Packard Switzerland, RCO Niederwangen
X-Newsreader: TIN [version 1.1.4 PL6]


Hi there,

Was there once a TV video extension, which allows to distribute TV pictures
over X11?

Thanks for any hint!

Daniel

--
Daniel Huber, RCO, HP Niederwangen (8700), Switzerland
SMTP: danielh@hpber010.swiss.hp.com (or Daniel_Huber@hp8700.hp.com)
X.400: /G=Daniel/S=Huber/OU=HP8700/O=HP/P=HP/A=ArCom/C=CH/
UNIX is the answer. What was the question?
Newsgroups: comp.windows.x
From: robin@dcs.warwick.ac.uk (Robin A Rainton)
Subject: Accelerator problems....
Organization: Department of Computer Science, Warwick University, England
Date: Fri, 6 Nov 1992 13:51:51 GMT

Hi all,

I'm sorry if this is a FAQ, so I'll appologise in advance...

The problem is I cann't get the Athena command widget to respond to keyboard
events by using accelerators.

I've read the Athena documentation, and the Asente & Swick Xtoolkit book and
think what I'm doing should work - but it doesn't.

I have a form widget which holds a number of buttons and labels, the parent of
the form widget is the toplevel application.

I try to install the accelerators with:

    XtInstallAllAccelerators(form, form);

Which as for as I can see should work through all the children of the widget
'form' and install their accelerators in it.

In the application default file I have lines like:

! Allow keyboard input
*input: TRUE
	.
	.
	.
*button_1.accelerators: <Key>1 : notify()

button_1 is a child of the form widget.

I just cann't see why this won't work. When I click on the button_1 actions
occur - but pressing '1' has no effect, no matter where the mouse is.

Has anyone else had this problem?? I'd greatly apprieciate any help as as far
as I can tell (from all the books I've read) what I'm doing is right.

Thanks in advance,

		Rob.
From: klee@wsl.dec.com (Ken Lee)
Newsgroups: comp.windows.x
Subject: Re: Periodic Alarm Events in X-Windows
Date: 11 Nov 92 00:54:11 GMT
Article-I.D.: PA.1992Nov11.005411.2927
Reply-To: klee@wsl.dec.com
Organization: DEC Western Software Laboratory

|> It seems, however, that I've hit a snag.  How do I implement clock interrupts
|> as X-Windows events?

Use X Toolkit timer callbacks.  If you're not using the X Toolkit,
you can do something similar by fiddling with the timeouts on the
select(), or similar, call you use to communicate with the X server.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee
From: jpalmucc@bbn.com (Jeff Palmucci)
Newsgroups: comp.windows.interviews
Subject: GroupKit and GraphicsKit?
Date: 5 Nov 92 21:04:52 GMT
NNTP-Posting-Host: bbn.com


I have seen references to a GroupKit and a GraphicsKit in this group.
I cannot find these classes in 3.1b3. Where are they?

Jeff
Newsgroups: comp.windows.interviews
From: jboller@is.morgan.com (John Boller)
Subject: Interviews for Motorola 68040/4.3 bsd/Next
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 12 Nov 1992 20:22:52 GMT

Hi,
I would appreciate hearing from anyone with experience in
portiing/compiling Interviews 3.0 to Motorola 68040/4.3 bsd/Next.
Send mail to jboller@is.morgan.com with any interesting hints
to be passed back to the newsgroup.
thanks, john boller
Newsgroups: comp.windows.interviews
From: atoboan@ato.abb.se
Subject: Rubberbands in IV3.1beta3
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 13 Nov 1992 12:34:28 GMT

I'm building an application using IV3.1beta3 where I need to use a
rubberband of some sort. Has anyone done this? Can I use the IV2.6
Rubberband and Painter classes?

Bo Andersson

atoboan@ato.abb.se
Newsgroups: comp.windows.interviews
From: vlis@WATSON.IBM.COM (John Vlissides)
Subject: Re: defining a new graphic shape
Reply-To: vlis@watson.ibm.com
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 6 Nov 1992 13:56:05 GMT

In article <zen.721007140@texas>, you write:

> In Unidraw, there are pre-defined graphic shapes, such as rectangular
> and so on.  Where are they defined?  How can I define a new shape?

Unidraw defines such shapes both at the structured graphics level (in
include/Unidraw/Graphic) and at the component level
(include/Unidraw/Components).  The structured graphics classes rely on
Painter's immediated mode interface to draw themselves, and the
components rely on structured graphics to define their appearance.

To define a new structured graphic, you basically subclass from Graphic
(or a subclass thereof) and redefine its draw and getExtent methods.
You must also redefine the graphics state setting and getting operations
(e.g., SetBrush) for graphics state that your subclass cares about.  If
you want fine-grain hit detection, then you must also redefine the
contains and intersects operations.  The Line class (in
include/Unidraw/Graphic/lines.h) provides a good example of what you
must do.

To define a new graphical component, you must

    1. Define a subject by subclassing from GraphicComp (or a subclass
       thereof).

    2. Define a view by subclassing from GraphicView (or a subclass
       thereof).

    3. Define class identifiers for the new component subject and view
       (see include/Unidraw/classes.h for an example).

    4. Define a Creator subclass that can create instances of the new
       component subject and view given their class identifiers (see
       lib/Unidraw/creator.c for an example).

For more details, see the definition of LineComp and LineView in
include/Unidraw/Components/lines.h and lib/Unidraw/lines.h.

--
John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
From: zen@syl.dl.nec.com (zen kishimoto)
Newsgroups: comp.windows.interviews
Subject: defining a new graphic shape
Summary: How can I define a new graphic?
Keywords: graphic shape
Date: 5 Nov 92 23:45:40 GMT
Organization: NEC Systems Lab., C&C Software Technology Center (Dallas, TX)

In Unidraw, there are pre-defined graphic shapes, such as rectangular and so on.
Where are they defined?  How can I define a new shape?

Zen Kishimoto (zen@syl.dl.nec.com)
Newsgroups: comp.windows.interviews
From: dcj@iscnvx.lmsc.lockheed.com (David C. Jacobson)
Subject: RPC and IntervIews..
Organization: Lockheed Missiles and Space Co.
Date: Tue, 10 Nov 92 06:03:39 GMT


Hi!

Does anyone have any more extensive examples of
using the RpcService, RpcReader, RpcWriter
classes than VWork.c and VMouse.c (3.1beta).

I'm particulary interested in serving some 
preexisting (non-InterViews) RPC clients. I
have been successful in getting them to register
with my InterViews server but, unfortunately,
they expect a reply from the remote procedure
call (svc_sendreply()).  This is something the
RpcReader class does not do.  I was unsuccessful
in using the raw Dispatcher class with traditional
rpc svc calls (in C++ wrappers) because something
in the InterViews dispatcher fouls up the svc file
descriptors.

Also, does anybody have any good ideas for 
decoding XDR packets off of an iostreamb?  :-)

Any ideas, comments, code would be greatly
appreciated.  I will summarize to the group
if there's interest.

David C. Jacobson
____________________________________ _______________________________________
             .                      | David C. Jacobson
=========___/ \___    Lockheed      | (512) 386-2099
   =======`/ . \'  Austin Division  | INTERNET: dcj@austin.lockheed.com
       ===/'   `\       (LAD)       |           dcj@iscnvx.lmsc.lockheed.com
____________________________________|_______________________________________
Disclaimer:
   `Nothing of what I say has anything to do with anybody in any way.'
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: User Defaults
Date: 9 Nov 1992 21:20:01 GMT
Organization: sgi
Distribution: world
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
NNTP-Posting-Host: marktwain.rad.sgi.com

In article <9211091919.AA03301@stl.panasonic.COM>, qing@stl.panasonic.com (Qing Yu) writes:
|>   I have an application called Graphic, so I would like to put the user 
|> defaults in the file .Graphic instead of .Xdeafults. How can I make the session
|> object load the file .Graphic? I am using IV3.0.1.

The standard convention is that defaults should be in app-defaults/Graphic,
where app-defaults is either system (as in /usr/lib/X11/app-defaults)
or user-defined by the XAPPLRESDIR environment variable.

Newsgroups: comp.windows.interviews
From: tjm@hrt213.brooks.af.mil (Tim Miller)
Subject: Problem with doc.
Organization: AL/HRTI, Brooks AFB
Distribution: comp
Date: Tue, 10 Nov 1992 19:53:32 GMT

	I just build and installed IV 3.1 beta 3 using gcc 2.3.1 and
libg++ 2.2.2 on a SparcII (SunOS 4.1.3); the build and install went
flawlessly, I was pleased to note.

	However; doc seg faults (w/o dumping core) on execution.  Am I
missing a patch somewhere?

	E-mail appreciated, but I'll scan this group for posts as well. 

-- Cerebus <tjm@hrt213.brooks.af.mil>
Newsgroups: comp.windows.interviews
From: DAHMS@ifk20.mach.uni-karlsruhe.de (Heribert Dahms)
Subject: Where to get gcc 2.3.1 ? And how about VAX/VMS ?
Organization: University of Karlsruhe, FRG (Dept. of Mechanical Engineering)
Date: Wed, 11 Nov 1992 13:07:04 GMT
X-News-Reader: VMS NEWS 1.20

I've read several articles about compiling InterViews with gcc 2.3.1 .
Is this now an official release?
From which ftp server can i get it (name, IP-address and filename, please)?

I'll also need it as VAX/VMS version in the near future, because i'm now
porting iv3.1-beta3. Is there already any support?
Till now i got alert running correctly with gcc 2.2.2 ...

Thanks,
Heribert Dahms	(dahms@ifk20.mach.uni-karlsruhe.de)
From: hardarso@smith.cs.unc.edu (Kari Hardarson)
Newsgroups: comp.windows.interviews
Subject: Window methods
Date: 12 Nov 92 21:21:32 GMT
Organization: The University of North Carolina at Chapel Hill

I have just switched from 3.0 to 3.1beta.  The Window object in
InterViews used to support the methods "name" and "icon_name".
Now I get compiler errors when I try to compile program that use
them.  It seems some structural changes have been made.

I notice a newcomer method, rep() in Window and I think I'm supposed to
ask the Window for it's WindowRep and then call the WindowRep's
methods to do the name and icon_name assignments.

I would appreciate if someone told me the details on how to do it,
and I would also like to know the motivation behind this restructuring,
and where I can read about it.

Thanks,
  Kari
-- 
Kari Hardarson, 217 Jackson Circle, Chapel Hill NC27514, (919)-914-5910
When Cows laugh hard, does milk spill out their noses?
Does the Pope french kiss the ground of a country he likes very much?
                               - Jeff Marder on A&E's Improv
Newsgroups: comp.windows.interviews
From: brauer@berkeley (Charles Brauer)
Subject: Re: RPC and IntervIews..
Reply-To: uunet!fai.com!charlesb
Organization: Fujitsu
X-Newsreader: Tin 1.1 PL5
Date: Wed, 11 Nov 1992 02:28:54 GMT

David C. Jacobson writes:

  Does anyone have any more extensive examples of
  using the RpcService, RpcReader, RpcWriter
  classes than VWork.c and VMouse.c (3.1beta)

In the iv.3.1-beta3/iv/examples/plot directory you will find
such an example.

--
Charles Brauer
charlesb@hadar.fai.com
Fujitsu, 3099 North 1st Street, San Jose, California 95134
408) 456-7852
From: roth@feline.cs.wisc.edu (Bill Roth)
Newsgroups: comp.windows.interviews
Subject: Graphic help
Date: 7 Nov 92 20:42:20 GMT
Organization: U of Wisconsin Madison - Computer Sciences


I live a simple life. All I want to do is put a rectangle of some
sort(I'm not picky) into a graphicBlock that I have in my application,
which was generated by ibuild (3.0.1).

How do I do it? Please, somebody tell me.


In my current attempt, I've written the following, which core dumps:
----------------
#include <InterViews/panner.h>
#include <Unidraw/Graphic/grblock.h>
#include <Unidraw/Graphic/picture.h>
#include <Unidraw/Graphic/polygons.h> 
#include <InterViews/strbrowser.h>
#include <InterViews/button.h>
#include "Viz.h"
#include <InterViews/2.6/_enter.h>

Viz::Viz(const char* name) : Viz_core(name) 
{
    int x,y;
    x = y = 100;
    PSBrush *p = new PSBrush(65535,10);
    SF_Rect *r = new SF_Rect(100,100,200,200);
    Picture *pic = new Picture;

    r->FillBg(1);
    r->SetBrush(p);
    pic->Append(r);
    graphic->SetGraphic(pic);
}

This runs just fine, but dumps somewhere after the MonoScene is
inserted into the application. Why?

Does anyone have a better idea?



-- 

-------------------------------------------------------------------
Bill Roth, University of Wisconsin Computer Sciences Dept.
Internet: roth@cs.wisc.edu. BITNET: ROTH@WISCPSL. HEPNET: PSL::ROTH
From: dave@kanga.lcs.mit.edu (David Sternlicht)
Newsgroups: comp.windows.interviews
Subject: A Tale of 2 Toolkits: part 6 of 6 (very short)
Date: 12 Nov 92 05:35:04 GMT
Article-I.D.: mintaka.1992Nov12.053504.6696
Organization: mit X consortium

-- 
%%EOF
From: lepied@cenaath.cena.dgac.fr (Frederic LEPIED (steria))
Newsgroups: comp.windows.interviews
Subject: listbox
Date: 5 Nov 92 13:25:06 GMT
Organization: C.E.N.A. (Centre d'Etudes de la Navigation Aerienne)


	Does anyone already implement a class to handle interactions
with a list of glyphes (click, double-click, select, multiple select...).
From: rosen@radar.bu.edu (David B. Rosen)
Newsgroups: comp.windows.interviews
Subject: seeking idraw executable for hp9000
Date: 6 Nov 92 04:35:58 GMT
Reply-To: "David B. Rosen" <rosen@unr.edu>
Distribution: comp
Organization: Boston University Dept. of Cognitive and Neural Systems
BCC: "file copy" <rosen@unr.edu>

Does anyone have an idraw executable for an hp9000 s200/s300 (hp-ux)?
I don't have time right now to build g++ and interviews, but would
like to use idraw in the meantime.  Please reply via e-mail as I am
not currently a regular reader of this newsgroup.
--
David B. Rosen
rosen@ee.unr.edu
From: wear@toadflax.UCDavis.EDU (Keith Wear)
Newsgroups: comp.windows.interviews
Subject: running interviews on DECstation
Date: 6 Nov 92 23:30:48 GMT
Reply-To: wear@toadflax.UCDavis.EDU (Keith Wear)
Organization: UC Davis, EECS Division of Computer Science


	I compiled interviews 3.0 with gcc 2.2.2 on a 
DECstation and it doesn't work.  I am trying to run
through the ibuild examples and it keeps crashing at 
seemingly random times.  When I run it, it make .Tool
files in the directory from which I run.  If the TOOLS
file is there when I try to rerun, it hangs.  rm TOOLS
solves it but TOOLS gets created again.  Also, none of
the I/O works from the pull down menu.  I can load files
from the command line but not from the application.

Is it possible these problems stem from a path problem?
Does ibuild try to run other processes that it thinks
are in other directories?  

I am going to try to compile 3.1 with gcc 2.3.1 but it
took me 3 weeks to get 3.0 working and I don't want to
waste my time.

Keith Wear
Newsgroups: comp.windows.interviews
From: bhogaval@PHASER.SSC.GOV (Bhogavalli Narasimha)
Subject: Use of Panner in Unidraw app
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 12 Nov 1992 19:35:25 GMT


Hello IV users,

Can somebody help me with this problem?

I am running IV 3.1beta on Sun OS 4.1.1 using Sun C++ 2.1.

I have a Unidraw application which draws a tree like structure. The Nodes in the tree (derived from GraphicComps) consist of Rectangle with Text inside. 

Nodes in the tree expand when selected with an "Expand Tool" engaged. Before drawing the children, I compute the area required for the children nodes and check if there are any objects already drawn in the area using ViewsIntersecting function of GraphicView.

My problem is that when the tree is magnified using the panner, how do I get the scale of magnification? If I do not have the scale of magnification, I am
not able to compute the correct area to check for intersection.

Thank you,

Rao  (bhogaval@phaser.ssc.gov)
Newsgroups: comp.windows.interviews
From: @colargol ()
Subject: Unsubscribe
Organization: Colargol, Trondheim College of Engineering
X-Newsreader: TIN [version 1.1 PL6]
Date: Mon, 9 Nov 92 15:29:21 GMT


Please unsubscribe me from the mailing list.
bjornw@edb.tih.no

Thanks.
--
The sooner all the animals are dead, the sooner we'll find all their money.
Newsgroups: comp.windows.interviews
From: sriram@brc.uconn.edu (Chittathoor Muthuswamy Sriram)
Subject: X Question
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 6 Nov 1992 18:45:01 GMT


Hi,
	In X how do I control the angle at which characters or drawm For Ex XDrawString(............) does not take the angle at which 
strings are to be drawn as a parameter. Is there something else available. 

Also After I have chosen a given font, How do I get characters to 
print out using that font each one with a different height. Again 
I am looking for some routines provided by X.

Any help is highly appreciated. 

SRiram
From: evena@ifi.uio.no (Even Oscar Andersen)
Newsgroups: comp.windows.interviews
Subject: Selections
Date: 10 Nov 92 13:11:15 GMT
Organization: Dept. of Informatics, University of Oslo, Norway
Originator: evena@farmaty.ifi.uio.no


Does it exist an example program/manual pages describing
SelectionCallback,
SelectionHandler,
SelectionManager,
SelectionManagerRep.

I'm writing an text-editor, and I have some problems with selecting/deselecting
text. Currently the document is build up of class Elements which takes an
Glyph as their body.

I defined P_Background as a Background + operation background(const Color *)
 and   const Color *background()

I defined P_Character as a Character + operation foreground(const Color *)
  and const Color *foreground()

Element is a public Monoglyph.
Element(Glyph *bd, const Color *fg, const Color *bg) {
  _pb = new P_Background(bd, bg);
  _pc = bd;

  body(_pb);
  _foreground = fg;
  _background = bg;
}

Element::select() {
  _pb->background(fg);
  _pc->foreground(bg);
  <switch bg/fg>
}


No this works if I say new Element(new P_Character(..)..);
but I'm limited to building my document using P_Character's.

Suppose a programmer using my classes would want to add a HGlue,
another cursor ...

I can make Element have an extra parameter if the Glyph *bd is a P_Character.
This will make the program work, but I still wont be able to mark Elements not
containing P_Character's as selected, and I believe there is a better way to do
this

I would also like to know how a selection can be sent to/read from X11.

Even Oscar Andersen
Newsgroups: comp.windows.interviews