1XmGetVisibility(library call)                    XmGetVisibility(library call)
2
3
4

NAME

6       XmGetVisibility — A function that determines if a widget is visible
7

SYNOPSIS

9       #include <Xm/Xm.h>
10       XmVisibility XmGetVisibility(
11       Widget widget);
12

DESCRIPTION

14       XmGetVisibility  returns  the visibility state of the specified widget.
15       It checks to see if some part of the widget's rectangular area is unob‐
16       scured  by the widget's ancestors, or some part of the widget's rectan‐
17       gular area is inside the work window (but  possibly  outside  the  clip
18       window) of a ScrolledWindow whose XmNscrollingPolicy is XmAUTOMATIC and
19       whose XmNtraverseObscuredCallback is not NULL.
20
21       XmGetVisibility does not check to see if widget is obscured by its sib‐
22       lings  or  by  siblings of its ancestors. Consequently, XmGetVisibility
23       returns XmVISIBILITY_UNOBSCURED for widgets  which  are  completely  or
24       partially covered by one or more siblings of widget by one or more sib‐
25       lings of ancestors of widget.
26
27       When a widget which is unrealized is being  queried,  it  is  indicated
28       that  the  widget is fully obscured.  If an application unmaps a widget
29       that has its XmNmappedWhenManaged resource  set  to  True,  the  return
30       value is undefined.  When a widget which is unmanaged is being queried,
31       it is indicated that the widget is fully obscured.
32
33       widget    Specifies the ID of the widget
34

RETURN

36       Returns one of the following values:
37
38       XmVISIBILITY_UNOBSCURED
39                 Indicates that the widget is mapped,  not  obscured,  and  is
40                 completely visible on the screen.
41
42       XmVISIBILITY_PARTIALLY_OBSCURED
43                 Indicates  that  the  widget is mapped, and is not completely
44                 visible on the screen (partially obscured).
45
46       XmVISIBILITY_FULLY_OBSCURED
47                 Indicates that the widget  is  not  at  all  visible  on  the
48                 screen.
49
51       XmIsTraversable(3), XmManager(3), and XmProcessTraversal(3).
52
53
54
55                                                 XmGetVisibility(library call)
Impressum