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

  1.  
  2.  
  3.  
  4. XCreateWindowEvent(3X11)  XLIB FUNCTIONS XCreateWindowEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XCreateWindowEvent - CreateNotify event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The structure for _C_r_e_a_t_e_N_o_t_i_f_y events contains:
  12.  
  13.        typedef struct {
  14.         int type;             /* CreateNotify */
  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 parent;         /* parent of the window */
  19.         Window window;         /* window id of window created */
  20.         int x, y;             /* window location */
  21.         int width, height;         /* size of window */
  22.         int border_width;         /* border width */
  23.         Bool override_redirect;  /* creation should be overridden */
  24.        } XCreateWindowEvent;
  25.  
  26.        When you receive this event, the structure members are set
  27.        as follows.
  28.  
  29.        The type member is set to the event type constant name
  30.        that uniquely identifies it.  For example, when the X
  31.        server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
  32.        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
  33.        type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is
  34.        set to a pointer to the display the event was read on.
  35.        The send_event member is set to _T_r_u_e if the event came
  36.        from a _S_e_n_d_E_v_e_n_t protocol request.  The serial member is
  37.        set from the serial number reported in the protocol but
  38.        expanded from the 16-bit least-significant bits to a full
  39.        32-bit value.  The window member is set to the window that
  40.        is most useful to toolkit dispatchers.
  41.  
  42.        The parent member is set to the created window's parent.
  43.        The window member specifies the created window.    The x and
  44.        y members are set to the created window's coordinates rel-
  45.        ative to the parent window's origin and indicate the posi-
  46.        tion of the upper-left outside corner of the created win-
  47.        dow.  The width and height members are set to the inside
  48.        size of the created window (not including the border) and
  49.        are always nonzero.  The border_width member is set to the
  50.        width of the created window's border, in pixels.     The
  51.        override_redirect member is set to the override-redirect
  52.        attribute of the window.     Window manager clients normally
  53.        should ignore this window if the override_redirect member
  54.        is _T_r_u_e.
  55.  
  56. SSEEEE AALLSSOO
  57.        XAnyEvent(3X11), XButtonEvent(3X11), XCircula-
  58.        teEvent(3X11), XCirculateRequestEvent(3X11), XCol-
  59.        ormapEvent(3X11), XConfigureEvent(3X11), XConfigur-
  60.        eRequestEvent(3X11), XCrossingEvent(3X11),
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XCreateWindowEvent(3X11)  XLIB FUNCTIONS XCreateWindowEvent(3X11)
  71.  
  72.  
  73.        XDestroyWindowEvent(3X11), XErrorEvent(3X11), XEx-
  74.        poseEvent(3X11), XFocusChangeEvent(3X11), XGraphicsEx-
  75.        poseEvent(3X11), XGravityEvent(3X11), XKeymapEvent(3X11),
  76.        XMapEvent(3X11), XMapRequestEvent(3X11), XProper-
  77.        tyEvent(3X11), XReparentEvent(3X11), XResiz-
  78.        eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelec-
  79.        tionEvent(3X11), XSelectionRequestEvent(3X11), XUn-
  80.        mapEvent(3X11), XVisibilityEvent(3X11)
  81.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  82.  
  83.  
  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.