[comp.windows.x] popup menu widget..

ha@cs.purdue.EDU (Hiralal Agrawal) (02/09/89)

We are planning to develop a user-interface to an application 
using X Toolkit (X11R3, Xaw). We need the functionality of
popup menus for this. As X Toolkit does not provide a menu widget, 
I wish to find out if there are any public-domain X Toolkit-
compatible menu widgets already available, before I start 
reinventing one. If there are, are they reliable (fairly stable)? 
Documented?

I saw one in X.V11R3/contrib/widgets/MenuBox, but haven't tried it 
out yet. If you have, I would appreciate your comments on it.

Another possibility that occurred to us is to look at the code
for implementing menus in awm & twm window-managers, but it would
be hard to figure things out there in absence of any documentation. 

I would appreciate if you could email me your replies.

Thanks. 

-- Hiralal Agrawal
   ha@cs.purdue.edu

P.S.: Is there any consensus emerging (in your opinion, that is) as 
      to which tool-kit is the way-to-go (Xaw, Xhp, Xsw, ..)?

kit@ATHENA.MIT.EDU (Chris D. Peterson) (02/10/89)

> I wish to find out if there are any public-domain X Toolkit-
> compatible menu widgets already available...

> I saw one in X.V11R3/contrib/widgets/MenuBox, but haven't tried it 
> out yet. If you have, I would appreciate your comments on it.

This is the best (only) free widget I have seen that works well with Xaw.
I have not used it myself but have talked to someone who developed an 
application using it.  He seemed to think it worked quite well.

> Another possibility that occurred to us is to look at the code
> for implementing menus in awm & twm window-managers, but it would
> be hard to figure things out there in absence of any documentation. 

These are currently not using the XToolkit and fixing them so that the work
well in the domain of Xt would be quite a task (I think).

The Hp widget set also has menus, you may want to take a look at them also.

						Chris D. Peterson     
						MIT X Consortium /
						Project Athena 

Net:	kit@athena.mit.edu		
Phone: (617) 253 - 1326			
USMail: MIT - Room E40-321
	77 Massachusetts Ave.		
	Cambridge, MA 02139		

jkh@pcsbst.UUCP (jkh) (02/10/89)

>> Another possibility that occurred to us is to look at the code
>> for implementing menus in awm & twm window-managers, but it would
>> be hard to figure things out there in absence of any documentation. 
>
>These are currently not using the XToolkit and fixing them so that the work
>well in the domain of Xt would be quite a task (I think).
Amen. I can definately recommend against using the menus that awm
se
the toolkit in the near future. Lack of a suitable menu widget is
the main impediment here too!

				Jordan Hubbard

jkh@pcsbst.UUCP (Jordan K. Hubbard) (02/10/89)

Crap. Our broken Pnews strikes again. Another message garbled..
To repeat myself:

>> Another possibility that occurred to us is to look at the code
>> for implementing menus in awm & twm window-managers, but it would
>> be hard to figure things out there in absence of any documentation. 
>
>These are currently not using the XToolkit and fixing them so that the work
>well in the domain of Xt would be quite a task (I think).

Amen. I can definately recommend against using the menus that awm
uses as they are no where near Xt based. Actually it is the intent here
to make awm use the toolkit and Athena widgets for everything in the near
future. Lack of a suitable menu widget is the main impediment here too!

				Jordan Hubbard

swp@lfcs.ed.ac.uk (Steve Proctor) (02/15/89)

In article <6000@medusa.cs.purdue.edu> ha@serc11.cs.purdue.edu () writes:
>I saw one in X.V11R3/contrib/widgets/MenuBox, but haven't tried it 
>out yet. If you have, I would appreciate your comments on it.

When I try to use the above menu widget, I get the following error

	   X Toolkit Error: Unresolved Inheritance Operation

This even happens with the menutest "demonstration" program.  What does
this mean, and what can cause this error ?  Is there a patch which can 
fix this problem ? 

>I would appreciate if you could email me your replies.

Also, could you post a summary please ?

Thanks in advance,

Steve Proctor.



+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
+ Steve Proctor       Department of Computer Science                          +
+                     University of Edinburgh, Scotland                       +
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+

mpatnode@polyslo.CalPoly.EDU (The New Sun Wizard) (02/18/89)

In article <1378@etive.ed.ac.uk> swp@lfcs.ed.ac.uk (Steve Proctor) writes:
>
>When I try to use the menu widget, I get the following error
>
>	   X Toolkit Error: Unresolved Inheritance Operation

This happens on our Suns when X tries to use the dynamic libs.  Compile
or link with -Bstatic.  Unfortunatly, your executables get real big.

There is the work around, my question is why does it happen?


-- 
Mike "Dodger" Patnode          | (n)   ..csustan!polyslo!mpatnode 
Yitbos Innovations Inc.        | (s)   ..sdsu!polyslo!mpatnode 
244 California Blvd            |         mpatnode@polyslo.CalPoly.EDU
San Luis Obispo, Ca  92630     | (805) 541-2048 / 543-9818 / 756-2516

toh@s.cs.uiuc.edu (02/26/89)

/* Written  7:56 am  Feb 10, 1989 by jkh@pcsbst.UUCP in s.cs.uiuc.edu:comp.windows.x */
/* ---------- "re: popup menu widget.." ---------- */
Crap. Our broken Pnews strikes again. Another message garbled..
To repeat myself:

>> Another possibility that occurred to us is to look at the code
>> for implementing menus in awm & twm window-managers, but it would
>> be hard to figure things out there in absence of any documentation. 
>
>These are currently not using the XToolkit and fixing them so that the work
>well in the domain of Xt would be quite a task (I think).

Amen. I can definately recommend against using the menus that awm
uses as they are no where near Xt based. Actually it is the intent here
to make awm use the toolkit and Athena widgets for everything in the near
future. Lack of a suitable menu widget is the main impediment here too!

				Jordan Hubbard
/* End of text from s.cs.uiuc.edu:comp.windows.x */