home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!rdsunx!montnaro
- From: montnaro@ausable.crd.ge.com (Skip Montanaro)
- Newsgroups: comp.windows.x.motif
- Subject: Problems moving widgets - Style Guide conformance problems?
- Message-ID: <MONTNARO.93Jan25155924@ausable.crd.ge.com>
- Date: 25 Jan 93 20:59:24 GMT
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: montanaro@ausable.crd.ge.com (Skip Montanaro)
- Distribution: comp
- Organization: GE Corporate Research & Development, Schenectady, NY
- Lines: 35
- Nntp-Posting-Host: ausable.crd.ge.com
-
-
- We have a graphical editor application that for the purposes of this note
- consists of a DrawingArea with one or more nodes represented by a Form
- enclosed in a Frame. There are lots of widgets inside the Form, but at the
- top of the Form is a Label and two square PushButtons:
-
- +-Frame-----------------------+
- |+-Form----------------------+|
- ||+-Label-------++-PB-++-PB-+||
- ||| || || |||
- ||+-------------++----++----+||
- ||+-Form--------------------+||
- ||| |||
- ||| |||
- ||| |||
- ||+-------------------------+||
- |+---------------------------+|
- +-----------------------------+
-
- The most common operation performed on these nodes is to move them. Under
- Motif 1.1, we drag the mouse while the middle mouse button is pressed over
- the Label to move nodes. Under Motif 1.2 this no longer works because the
- middle mouse button has been usurped for drag-and-drop.
-
- What is the politically correct way to interactively move widgets in this
- sort of context? We select nodes by clicking in the Label with the left
- mouse button, then can choose an operation from a popup menu, but for node
- movement this is cumbersome, because we do it so frequently. Can we simply
- disable drag-and-drop for the Label widget and still be "conformant"? If so,
- how does one disable drag-and-drop on a widget-by-widget basis?
-
- Thx,
-
- --
- Skip (montanaro@crd.ge.com)
-