Article View: comp.windows.x
Article #37974Couple Basic Athena Widget questions
From: rjh rick huebsch x-3544
Date: Mon, 12 Mar 1990 18:07
Date: Mon, 12 Mar 1990 18:07
28 lines
1961 bytes
1961 bytes
I am fairly new to X programming and am writing a client that among other
things pops up dialogs prompting for user information. I have a couple
"basic" questions regarding the Athena Widgets and Xt programming:
1. In the popup dialogs, there are several asciiString Widgets being
used as text entry fields. I would like to be able to assign
keyboard focus to the whole popup dialog and then TAB between
text entry fields rather than requiring the pointer to be
positioned in the text entry field. Is this something where
"translations" should be used? (accelerators?)
2. I have a box Widget full of buttons (15). It would be nice to
place a short message on an information line that would describe
the action that would take place when the currently hilited button
is activated. Since the command button widget only defines a
callback list for activated buttons, what is the preferred method
for defining what happens on Enter/LeaveNotify events?
Write a new widget with callback lists defined? Use
something besides callbacks?
Please respond via e-mail as well as posting since I find it hard to keep
up with this newsgroup.
Thanks in advance,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rick Huebsch E-mail: rjh@udev.cdc.com
Control Data Corporation AT&T: (612) 482-3544
Technical Details
Message-ID:
<18813@shamash.cdc.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!tut.cis.ohio-state.edu!uc!shamash!freddie.udev.cdc.com!rjhShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!tut.cis.ohio-state.edu!uc!shamash!freddie.udev.cdc.com!rjh From: rjh@.udev.cdc.com (rick huebsch x-3544) Newsgroups: comp.windows.x Subject: Couple Basic Athena Widget questions Keywords: Athena Widgets, Toolkit Message-ID: <18813@shamash.cdc.com> Date: 12 Mar 90 18:07:43 GMT Sender: news@shamash.cdc.com Reply-To: rjh@udev.cdc.com (rick huebsch x-3544) Organization: Control Data Corp., Arden Hills, MN Lines: 28