home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xvisibilitynotifyevent.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. XVisibilityEvent(3X11)      XLIB FUNCTIONS   XVisibilityEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XVisibilityNotifyEvent - VisibilityNotify event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The structure for _V_i_s_i_b_i_l_i_t_y_N_o_t_i_f_y events contains:
  12.  
  13.        typedef struct {
  14.         int type;             /* VisibiltyNotify */
  15.         unsigned long serial;    /* # of last request processed by server */
  16.         Bool send_event;         /* true if this came from a SendEvent request */
  17.         Display *display;         /* Display the event was read from */
  18.         Window window;
  19.         int state;
  20.        } XVisibilityEvent;
  21.  
  22.        When you receive this event, the structure members are set
  23.        as follows.
  24.  
  25.        The type member is set to the event type constant name
  26.        that uniquely identifies it.  For example, when the X
  27.        server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
  28.        tion, it sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the
  29.        type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is
  30.        set to a pointer to the display the event was read on.
  31.        The send_event member is set to _T_r_u_e if the event came
  32.        from a _S_e_n_d_E_v_e_n_t protocol request.  The serial member is
  33.        set from the serial number reported in the protocol but
  34.        expanded from the 16-bit least-significant bits to a full
  35.        32-bit value.  The window member is set to the window that
  36.        is most useful to toolkit dispatchers.
  37.  
  38.        The window member is set to the window whose visibility
  39.        state changes.  The state member is set to the state of
  40.        the window's visibility and can be _V_i_s_i_b_i_l_i_t_y_U_n_o_b_s_c_u_r_e_d,
  41.        _V_i_s_i_b_i_l_i_t_y_P_a_r_t_i_a_l_l_y_O_b_s_c_u_r_e_d, or _V_i_s_i_b_i_l_i_t_y_F_u_l_l_y_O_b_s_c_u_r_e_d.
  42.        The X server ignores all of a window's subwindows when
  43.        determining the visibility state of the window and pro-
  44.        cesses _V_i_s_i_b_i_l_i_t_y_N_o_t_i_f_y events according to the following:
  45.  
  46.        +o    When the window changes state from partially
  47.         obscured, fully obscured, or not viewable to viewable
  48.         and completely unobscured, the X server generates the
  49.         event with the state member of the _X_V_i_s_i_b_i_l_i_t_y_E_v_e_n_t
  50.         structure set to _V_i_s_i_b_i_l_i_t_y_U_n_o_b_s_c_u_r_e_d.
  51.  
  52.        +o    When the window changes state from viewable and com-
  53.         pletely unobscured or not viewable to viewable and
  54.         partially obscured, the X server generates the event
  55.         with the state member of the _X_V_i_s_i_b_i_l_i_t_y_E_v_e_n_t struc-
  56.         ture set to _V_i_s_i_b_i_l_i_t_y_P_a_r_t_i_a_l_l_y_O_b_s_c_u_r_e_d.
  57.  
  58.        +o    When the window changes state from viewable and com-
  59.         pletely unobscured, viewable and partially obscured,
  60.         or not viewable to viewable and fully obscured, the X
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XVisibilityEvent(3X11)      XLIB FUNCTIONS   XVisibilityEvent(3X11)
  71.  
  72.  
  73.         server generates the event with the state member of
  74.         the _X_V_i_s_i_b_i_l_i_t_y_E_v_e_n_t structure set to
  75.         _V_i_s_i_b_i_l_i_t_y_F_u_l_l_y_O_b_s_c_u_r_e_d.
  76.  
  77. SSEEEE AALLSSOO
  78.        XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindow-
  79.        Event(3X11), XCirculateEvent(3X11), XCircu-
  80.        lateRequestEvent(3X11), XColormapEvent(3X11), XConfig-
  81.        ureEvent(3X11), XConfigureRequestEvent(3X11),
  82.        XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XEr-
  83.        rorEvent(3X11), XExposeEvent(3X11), XFo-
  84.        cusChangeEvent(3X11), XGraphicsExposeEvent(3X11), XGravi-
  85.        tyEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  86.        XMapRequestEvent(3X11), XPropertyEvent(3X11), XRepar-
  87.        entEvent(3X11), XResizeRequestEvent(3X11), XSelection-
  88.        ClearEvent(3X11), XSelectionEvent(3X11), XSelectionRe-
  89.        questEvent(3X11), XUnmapEvent(3X11),
  90.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.