home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!gatech!udel!sol.cis.udel.edu!singhal
- From: singhal@sol.cis.udel.edu (Amod Singhal)
- Newsgroups: comp.windows.x
- Subject: How to incorporate Xlib-based GUI into a Motif-based GUI? HELP!
- Date: 25 Jan 1993 08:43:12 GMT
- Organization: University of Delaware, Newark
- Lines: 39
- Distribution: world
- Message-ID: <1k0970$lq0@nigel.ee.udel.edu>
- NNTP-Posting-Host: sol.cis.udel.edu
- Keywords: XLIB, MOTIF
-
- Hi!
- I'm new to XWindows programming and need help.
- Please email responses directly to singhal@cis.udel.edu
-
- PROBLEM SUMMARY:
- How can I incorporate a window (created using Xlib calls
- exclusively) into a composite GUI which is to be built
- using Xt or Motif or a Motif-based GUI builder?
-
- DETAILED DESCRIPTION:
- I'm enhancing an existing package (Mike Patton's "MAP"
- program for displaying network topology) which uses Xlib
- functions to do all X-windowing. The package displays
- a rectangular window in which network nodes
- are displayed. There is a text input area at the
- bottom of the window where commands may be entered.
- Entering commands or clicking on a displayed node generates
- textual information. However, this info is displayed not in
- the map window, but in the shell from which MAP was invoked.
-
- I want to make the following enhancements:
-
- 1. Provide point and click capability for invoking all
- command line commands, some of which require parameters.
-
- 2. Display all information within a single GUI which contains:
- the map window (without changing any of its current functionality),
- the necessary menu buttons for invoking the commands, and an additional
- area to display the output generated by commands or clicking on the nodes.
-
- Since I have a GUI builder, I would like to use it to build
- the interface as far as possible. I would like to avoid all
- Xlib level programming. How do I go about making these changes?
-
- Thanks in advance.
- --
- -------------------------------------------------------------------
- Amod Singhal phone: (302) 456-9047 email: singhal@cis.udel.edu
- -------------------------------------------------------------------
-