Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmistraversable(3) [centos man page]

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)

Check Out this Related Man Page

XmGetVisibility(library call)											     XmGetVisibility(library call)

NAME
XmGetVisibility -- A function that determines if a widget is visible SYNOPSIS
#include <Xm/Xm.h> XmVisibility XmGetVisibility( Widget widget); DESCRIPTION
XmGetVisibility returns the visibility state of the specified widget. It checks to see if 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. XmGetVisibility does not check to see if widget is obscured by its siblings or by siblings of its ancestors. Consequently, XmGetVisibility returns XmVISIBILITY_UNOBSCURED for widgets which are completely or partially covered by one or more siblings of widget by one or more sib- lings of ancestors of widget. When a widget which is unrealized is being queried, it is indicated that the widget is fully obscured. If an application unmaps a widget that has its XmNmappedWhenManaged resource set to True, the return value is undefined. When a widget which is unmanaged is being queried, it is indicated that the widget is fully obscured. widget Specifies the ID of the widget RETURN
Returns one of the following values: XmVISIBILITY_UNOBSCURED Indicates that the widget is mapped, not obscured, and is completely visible on the screen. XmVISIBILITY_PARTIALLY_OBSCURED Indicates that the widget is mapped, and is not completely visible on the screen (partially obscured). XmVISIBILITY_FULLY_OBSCURED Indicates that the widget is not at all visible on the screen. RELATED
XmIsTraversable(3), XmManager(3), and XmProcessTraversal(3). XmGetVisibility(library call)
Man Page