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

  1.  
  2.  
  3.  
  4. XPropertyEvent(3X11)      XLIB FUNCTIONS     XPropertyEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XPropertyEvent - PropertyNotify event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The structure for _P_r_o_p_e_r_t_y_N_o_t_i_f_y events contains:
  12.  
  13.        typedef struct {
  14.         int type;             /* PropertyNotify */
  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.         Atom atom;
  20.         Time time;
  21.         int state;             /* PropertyNewValue or PropertyDelete */
  22.        } XPropertyEvent;
  23.  
  24.        When you receive this event, the structure members are set
  25.        as follows.
  26.  
  27.        The type member is set to the event type constant name
  28.        that uniquely identifies it.  For example, when the X
  29.        server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
  30.        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
  31.        type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is
  32.        set to a pointer to the display the event was read on.
  33.        The send_event member is set to _T_r_u_e if the event came
  34.        from a _S_e_n_d_E_v_e_n_t protocol request.  The serial member is
  35.        set from the serial number reported in the protocol but
  36.        expanded from the 16-bit least-significant bits to a full
  37.        32-bit value.  The window member is set to the window that
  38.        is most useful to toolkit dispatchers.
  39.  
  40.        The window member is set to the window whose associated
  41.        property was changed.  The atom member is set to the prop-
  42.        erty's atom and indicates which property was changed or
  43.        desired.     The time member is set to the server time when
  44.        the property was changed.  The state member is set to
  45.        indicate whether the property was changed to a new value
  46.        or deleted and can be _P_r_o_p_e_r_t_y_N_e_w_V_a_l_u_e or _P_r_o_p_e_r_t_y_D_e_l_e_t_e.
  47.        The state member is set to _P_r_o_p_e_r_t_y_N_e_w_V_a_l_u_e when a prop-
  48.        erty of the window is changed using _X_C_h_a_n_g_e_P_r_o_p_e_r_t_y or
  49.        _X_R_o_t_a_t_e_W_i_n_d_o_w_P_r_o_p_e_r_t_i_e_s (even when adding zero-length data
  50.        using _X_C_h_a_n_g_e_P_r_o_p_e_r_t_y) and when replacing all or part of a
  51.        property with identical data using _X_C_h_a_n_g_e_P_r_o_p_e_r_t_y or
  52.        _X_R_o_t_a_t_e_W_i_n_d_o_w_P_r_o_p_e_r_t_i_e_s.     The state member is set to _P_r_o_p_-
  53.        _e_r_t_y_D_e_l_e_t_e when a property of the window is deleted using
  54.        _X_D_e_l_e_t_e_P_r_o_p_e_r_t_y or, if the delete argument is _T_r_u_e,
  55.        _X_G_e_t_W_i_n_d_o_w_P_r_o_p_e_r_t_y.
  56.  
  57. SSEEEE AALLSSOO
  58.        XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindow-
  59.        Event(3X11), XCirculateEvent(3X11), XCircu-
  60.        lateRequestEvent(3X11), XColormapEvent(3X11),
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XPropertyEvent(3X11)      XLIB FUNCTIONS     XPropertyEvent(3X11)
  71.  
  72.  
  73.        XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  74.        XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XEr-
  75.        rorEvent(3X11), XExposeEvent(3X11), XFo-
  76.        cusChangeEvent(3X11), XGetWindowProperty(3X11), XGraphic-
  77.        sExposeEvent(3X11), XGravityEvent(3X11),
  78.        XKeymapEvent(3X11), XMapEvent(3X11), XMapRe-
  79.        questEvent(3X11), XReparentEvent(3X11), XResiz-
  80.        eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelec-
  81.        tionEvent(3X11), XSelectionRequestEvent(3X11), XUn-
  82.        mapEvent(3X11), XVisibilityEvent(3X11)
  83.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  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.