home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:19045 comp.windows.x.intrinsics:524
- Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!agate!doc.ic.ac.uk!rhbnc!csqx.cs.rhbnc.ac.uk!adrian
- From: adrian@csqx.cs.rhbnc.ac.uk (A Johnstone)
- Newsgroups: comp.window.x.motif,comp.windows.x,comp.windows.x.intrinsics
- Subject: HELP...Mouse events in PushButtonGadget
- Message-ID: <1992Nov12.143358.19866@csqx.cs.rhbnc.ac.uk>
- Date: 12 Nov 92 14:33:58 GMT
- Sender: news@csqx.cs.rhbnc.ac.uk (USENET News System)
- Reply-To: adrian@csqx.cs.rhbnc.ac.uk (A Johnstone)
- Organization: RHBNC
- Lines: 20
- Nntp-Posting-Host: csqx.cs.rhbnc.ac.uk
-
-
- I need to be able to activate PushButtonGagdgets with all three mouse buttons
- rather than just the Select button.
-
- Normally I would use XtAddEventHandler with a ButtonPress mask to trap mouse
- presses in the push button, however as PushButtonGadgets aren't windows in
- their own right, this doesn't work (process killed on unaligned access).
-
- Setting up translations on the buttons doesn't work either for the same
- reason.
-
- If it is of any help, the Gadgets are all children of a RowColumn widget
- created with XmCreateRowColumn.
-
- They DO need to be Gadgets rather than ordinary Push Buttons as I have 400 of
- them up at the same time!
-
- Any help would be greatly appreciated. Thanks.
-
- Please e-mail to jamesd@cs.rhbnc.ac.uk
-