Unix and Linux Discussions Tagged with conditions |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
6,524 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
6,991 |
UNIX for Beginners Questions & Answers |
|
|
|
14 |
21,540 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
5,636 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,652 |
Shell Programming and Scripting |
|
|
|
3 |
5,604 |
Shell Programming and Scripting |
|
|
|
4 |
10,470 |
Shell Programming and Scripting |
|
|
|
2 |
2,257 |
Shell Programming and Scripting |
|
|
|
6 |
1,626 |
Shell Programming and Scripting |
|
|
|
7 |
4,475 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,685 |
Shell Programming and Scripting |
|
|
|
8 |
3,194 |
Shell Programming and Scripting |
|
|
|
3 |
3,210 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
4,366 |
Shell Programming and Scripting |
|
|
|
2 |
49,209 |
Shell Programming and Scripting |
|
|
|
3 |
6,552 |
Shell Programming and Scripting |
|
|
|
0 |
1,938 |
Complex Event Processing RSS News |
|
|
|
0 |
1,523 |
Complex Event Processing RSS News |
|
|
|
4 |
4,178 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,599 |
Shell Programming and Scripting |
|
|
|
5 |
36,232 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
14,624 |
Shell Programming and Scripting |
|
|
|
3 |
5,095 |
Shell Programming and Scripting |
|
|
|
5 |
20,612 |
UNIX for Dummies Questions & Answers |
|
|
|
9 |
3,503 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,454 |
Shell Programming and Scripting |
|
|
|
1 |
9,610 |
Shell Programming and Scripting |
|
|
|
2 |
2,373 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,068 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,632 |
UNIX for Dummies Questions & Answers |
XmIsTraversable(library call) XmIsTraversable(library call)
NAME
XmIsTraversable -- A function that identifies whether a widget can be traversed
SYNOPSIS
#include <Xm/Xm.h>
Boolean XmIsTraversable(
Widget widget);
DESCRIPTION
XmIsTraversable determines whether the specified widget is eligible to receive focus through keyboard traversal. In general, a widget is
eligible to receive focus when all of the following conditions are true:
o The widget and its ancestors are not being destroyed, are sensitive, and have a value of True for XmNtraversalOn.
o The widget and its ancestors are realized, managed, and (except for gadgets) mapped. If an application unmaps a widget that has its
XmNmappedWhenManaged resource set to True, the return value is undefined.
o Some part of the widget's rectangular area is unobscured by the widget's ancestors, or some part of the widget's rectangular area is
inside the work window (but possibly outside the clip window) of a ScrolledWindow whose XmNscrollingPolicy is XmAUTOMATIC and whose
XmNtraverseObscuredCallback is not NULL.
Some widgets may not be eligible to receive focus even if they meet all these conditions. For example, most managers cannot receive focus
through keyboard traversal. Some widgets may be eligible to receive focus under particular conditions. For example, a DrawingArea is eli-
gible to receive focus if it meets the conditions above and has no child whose XmNtraversalOn resource is True.
Note that when all widgets in a shell hierarchy have been made untraversable, they are considered to have lost focus. When a widget in this
hierarchy is made traversable again, it regains focus.
XmIsTraversable may return unexpected results when widget or its ancestors are overlapped by their siblings.
widget Specifies the ID of the widget
RETURN
Returns True if the widget is eligible to receive focus through keyboard traversal; otherwise, returns False.
RELATED
XmGetVisibility(3) and XmProcessTraversal(3).
XmIsTraversable(library call)