Skip to Main Content
Volume 6A: Motif Programming Manual
book

Volume 6A: Motif Programming Manual

by David Brennan, Dan Heller, Paula Ferguson
September 1993
Intermediate to advanced content levelIntermediate to advanced
1014 pages
28h 26m
English
O'Reilly Media, Inc.
Content preview from Volume 6A: Motif Programming Manual
which are typically primitive widgets that act as tab group members. Furthermore, manager widgets must handle all of
the input events for gadgets, so there is a great deal of functionality that supports keyboard traversal written into the
Manager widget class.
Before we discuss the details of dealing with tab groups, there are a few things we should mention. The
implementation of tab groups has changed from earlier versions of the toolkit; to maintain backwards compatibility,
remnants of the older implementation are still resident in the current implementation, which may cause some
confusion in the current API. The technology of keyboard traversal is still being improved. Although later
implementations may not change the existing API, new versions of the toolkit may optimize the process substantially.
Since the current implementation of tab groups is not perfect, some people want to change the default behavior and
control it entirely on their own. We do not recommend this approach. You should avoid interfering with the keyboard
traversal mechanisms, as it will make it easier to maintain compatibility with other Motif applications and it won't
require any changes for new versions of the toolkit. If you are going to modify the operation of keyboard traversal,
you should be careful and test your changes thoroughly.
9.8.1 Turning Traversal Off
You can prevent a widget from participating in keyboard traversal by removing the widget from the traversal list. To
remove a widget from the traversal ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Volume 7A: XView Programming Manual

Volume 7A: XView Programming Manual

Dan Heller

Publisher Resources

ISBN: 9780596000431