Newsgroups: comp.windows.x.motif
Path: utzoo!utgpu!watserv1!watdragon!watsol.waterloo.edu!tbray
From: tbray@watsol.waterloo.edu (Tim Bray)
Subject: Traversal problem in XtPopup'ed RowColumn
Message-ID: <1991Jan9.034827.1659@watdragon.waterloo.edu>
Sender: daemon@watdragon.waterloo.edu (Owner of Many System Processes)
Organization: University of Waterloo
Date: Wed, 9 Jan 91 03:48:27 GMT
Lines: 22


I have a top-level shell created with XtCreatePopupShell.  In it I have placed
a RowColumnWidget.  Rowcol is set to orientation HORIZONTAL, numColumns 6,
packing PACK_COLUMN, i.e. 6 rows, 2 columns.  The top 5 rows each consist of
an XmLabel and either an XmPushButton or a small XmText.  The bottom row is an 
Apply button and a Cancel button.  This thing is a settings menu that can be 
popped up by the user and used in a non-modal way, popping back down when
requested.

The problem is that traversal doesn't work in this thing at all.  I've tried
every possible combination of XmNtraversalOn resources; obviously what I'd
like is to traverse all the pushbuttons and text areas but none of the labels.
I am stuck with behaviour where the XmTexts are traversed, and one of the
two bottom pushbuttons.  All I can seem to accomplish is to disallow *all*
traversal, which is icky but at least consistent.

I have other similar popups without traversal problems.  Is this a toxic
RowColumn interaction with something?  Anyone got a directed-RTFM for
this one?

Tim Bray
tbray@watsol.waterloo.edu
