home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XErrorEvent.z / XErrorEvent
Encoding:
Text File  |  1998-10-30  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXEEEErrrrrrrroooorrrrEEEEvvvveeeennnntttt((((3333XXXX11111111))))  XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))   XXXXEEEErrrrrrrroooorrrrEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XErrorEvent - X error event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The _X_E_r_r_o_r_E_v_e_n_t structure contains:
  13.  
  14.           typedef struct {
  15.                int type;
  16.                Display *display;   /* Display the event was read from */
  17.                unsigned long serial;/* serial number of failed request */
  18.                unsigned char error_code;/* error code of failed request */
  19.                unsigned char request_code;/* Major op-code of failed request */
  20.                unsigned char minor_code;/* Minor op-code of failed request */
  21.                XID resourceid;     /* resource id */
  22.           } XErrorEvent;
  23.  
  24.           When you receive this event, the structure members are set
  25.           as follows.
  26.  
  27.           The serial member is the number of requests, starting from
  28.           one, sent over the network connection since it was opened.
  29.           It is the number that was the value of _N_e_x_t_R_e_q_u_e_s_t
  30.           immediately before the failing call was made. The
  31.           request_code member is a protocol request of the procedure
  32.           that failed, as defined in <_X_1_1/_X_p_r_o_t_o._h>.
  33.  
  34.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.           AllPlanes(3X11), XAnyEvent(3X11), XButtonEvent(3X11),
  36.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  37.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  38.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  39.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  40.           XExposeEvent(3X11), XFocusChangeEvent(3X11),
  41.           XGraphicsExposeEvent(3X11), XGravityEvent(3X11),
  42.           XKeymapEvent(3X11), XMapEvent(3X11), XMapRequestEvent(3X11),
  43.           XPropertyEvent(3X11), XReparentEvent(3X11),
  44.           XResizeRequestEvent(3X11), XSelectionClearEvent(3X11),
  45.           XSelectionEvent(3X11), XSelectionRequestEvent(3X11),
  46.           XUnmapEvent(3X11), XVisibilityEvent(3X11)
  47.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.