[comp.windows.x.motif] <None>

neumann@fs2.rud.fzi (Dieter Neumann) (11/20/90)

Subject:novice question: RowColumn widget
Organization: FZI Karlsruhe
Distribution: comp.windows.x.motif
Date: Mon, 19 Nov 90 16:40:29 GMT
Lines: 19


I have got a variable set of togglebuttons which I want to manage in
a scolled widget, but the scrolled widget shall not scroll horizontal.
Furthermore I want, that the togglebuttons appear in more than one
column, if their width is small enough.  

I tried also this:

  XtSetArg (al[ac], XmNwidth, 800); ac++;
  XtSetArg (al[ac], XmNresizeWidth, False); ac++;
  XtSetArg (al[ac], XmNorientation, XmHORIZONTAL); ac++;

It works except that the resulting height of the RowColumn widget is just
the height for only one line of togglebuttons.

I'm using Motif 1.1 on a Sun 4

Thanks for any help

murphy@ufp.dco.dec.com (Rick Murphy) (01/07/91)

--

A new version of DXRN/MXRN are available. They track changes made to the
original code (XRN) up to XRN V6.14. Many new features and bugs fixed.

For those who don't know, DXRN is a DECwindows (XUI) version of XRN.
MXRN is a Motif (V1.0 or V1.1) version of XRN. Both have been tested on
various DEC systems, both VMS and ULTRIX.

The VMS kit for this release provides support for TCP/IP products other
than DEC's UCX. (Thanks to the contributors!)
	-Rick

How to get DXRN:
(For ULTRIX:)
% ftp gatekeeper.dec.com
user: anonymous
password: guest
ftp> cd pub/DEC
ftp> binary
ftp> get dxrn.tar.Z
ftp> quit
% uncompress dxrn.tar.Z
% tar xf dxrn.tar

(For VMS:)

$ ftp gatekeeper.dec.com
user:anonymous
password: guest
ftp> cd pub/DEC
ftp> get dxrn.share
ftp> quit
$ @dxrn.share

How to install DXRN:

0. See the file CHANGES for a list of changes from the last release.

1. Does an NNTP server (version 1.5 or greater) exist on your network?
   - if not, get the NNTP server code and install it
     (via anonymous ftp from ucbvax.berkeley.edu)
   - make sure that XHDR (in nntp/common/conf.h) was defined
     when your NNTP server was installed.
     (XRN will tell you if it has not been defined)

2. Look at `config.h' and make the necessary modifications
   (default settings, location of various files, domain name, etc.)
   (VMS Users need to look at clientlib.c and define the proper 
    symbol for the TCP/IP they're using.)

   ** Note: Unless you want to look like you're coming from DEC, it's
            important to edit at least the 'domain' and 'organization'
            defines in config.h. You've been warned.

3. Make dxrn
   
   (For ULTRIX:)

   a. Build dxrn

	  make

   b. Build mxrn

	  make -f Makefile.motif


   (For VMS:)

   a. Build dxrn:

	$ @make-dxrn

   b. Build mxrn:

	$ @make-mxrn

Rick Murphy, WA1SPT/4			DEC Washington ULTRIX Resource Center
Domain:  murphy@burfle.dco.dec.com -or- murphy@ufp.enet.dec.com
Bang:    decwrl!ufp.enet!murphy		Ding:  (301) 306-2985
Disclaimer: This nonsense came from an AI program written in TECO. Ignore it.

anne@piccolo.mitre.org (Anne Deslattes) (06/19/91)

Hello Motif World.

I would like to be on a direct mail for this newsgroup
if it is possible.  Our bulletin board to this newsgroup
is pathed through a not too reliable link and I would
like up to the minute information as well.  

I posted a message the other day which I don't think
made it, so here it goes again.

I have a simple application which is started by
three pushbuttons placed in a Form shell.  These push
buttons call up respectively a file selection box, 
a help message box and a are you sure you want to quit 
message box.  I find all of these things run smoothly
enough the first time they are selected.  but the second
time they are selected, there is a 3 second pause before
a window is displayed.  I am sure I am not doing something
right and would like someone to tell me what they
think it is.  

What is the general philosophy for user interface creation
with motif anyway.  Is it the following.  In the beginning
create all your windows, pushbuttons, forms etc.  And if
you do not want them controlled by anything but you, select
the automanagement to be false and as required manage and
unmanage the windows of choice.  If so, then what of mapping,
and what of events.  It seems to me a quick paragraph would
set me straight.  So here's your chance to show your stuff.

Send me a paragraph (or two) which best summarizes what
you think the overall motif userinterface building philosophy
is or should be.  I'll be happy to post the results.

Cheers.
-- 
+-----------------------------------------------------------+
|                                                           |
| "I believe in getting into hot water; it keeps you clean."|
|		-- G. K. Chesterton			    |
|							    |
|	Anne C. Deslattes     Net:  chantal@mitre.org       |
|       The MITRE Corp.	      Tel:  (703)883-6176           |
|       MS-W292                                             |
|       7525 Colshire Rd.                                   |
|       McLean, VA				            |
+-----------------------------------------------------------+