home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XFocusChangeEvent(3X11) XLIB FUNCTIONS XFocusChangeEvent(3X11)
-
-
- NNAAMMEE
- XFocusChangeEvent - FocusIn and FocusOut event structure
-
- SSTTRRUUCCTTUURREESS
- The structure for _F_o_c_u_s_I_n and _F_o_c_u_s_O_u_t events contains:
-
- typedef struct {
- int type; /* FocusIn or FocusOut */
- unsigned long serial; /* # of last request processed by server */
- Bool send_event; /* true if this came from a SendEvent request */
- Display *display; /* Display the event was read from */
- Window window; /* window of event */
- int mode; /* NotifyNormal, NotifyGrab, NotifyUngrab */
- int detail;
- /*
- * NotifyAncestor, NotifyVirtual, NotifyInferior,
- * NotifyNonlinear,NotifyNonlinearVirtual, NotifyPointer,
- * NotifyPointerRoot, NotifyDetailNone
- */
- } XFocusChangeEvent;
- typedef XFocusChangeEvent XFocusInEvent;
- typedef XFocusChangeEvent XFocusOutEvent;
-
- When you receive these events, the structure members are
- set as follows.
-
- The type member is set to the event type constant name
- that uniquely identifies it. For example, when the X
- server reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client applica-
- 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
- type member set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e. The display member is
- set to a pointer to the display the event was read on.
- The send_event member is set to _T_r_u_e if the event came
- from a _S_e_n_d_E_v_e_n_t protocol request. The serial member is
- set from the serial number reported in the protocol but
- expanded from the 16-bit least-significant bits to a full
- 32-bit value. The window member is set to the window that
- is most useful to toolkit dispatchers.
-
- The window member is set to the window on which the
- _F_o_c_u_s_I_n or _F_o_c_u_s_O_u_t event was generated. This is the win-
- dow used by the X server to report the event. The mode
- member is set to indicate whether the focus events are
- normal focus events, focus events while grabbed, focus
- events when a grab activates, or focus events when a grab
- deactivates. The X server can set the mode member to
- _N_o_t_i_f_y_N_o_r_m_a_l, _N_o_t_i_f_y_W_h_i_l_e_G_r_a_b_b_e_d, _N_o_t_i_f_y_G_r_a_b, or
- _N_o_t_i_f_y_U_n_g_r_a_b.
-
- All _F_o_c_u_s_O_u_t events caused by a window unmap are generated
- after any _U_n_m_a_p_N_o_t_i_f_y event; however, the X protocol does
- not constrain the ordering of _F_o_c_u_s_O_u_t events with respect
- to generated _E_n_t_e_r_N_o_t_i_f_y, _L_e_a_v_e_N_o_t_i_f_y, _V_i_s_i_b_i_l_i_t_y_N_o_t_i_f_y,
- and _E_x_p_o_s_e events.
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XFocusChangeEvent(3X11) XLIB FUNCTIONS XFocusChangeEvent(3X11)
-
-
- Depending on the event mode, the detail member is set to
- indicate the notify detail and can be _N_o_t_i_f_y_A_n_c_e_s_t_o_r,
- _N_o_t_i_f_y_V_i_r_t_u_a_l, _N_o_t_i_f_y_I_n_f_e_r_i_o_r, _N_o_t_i_f_y_N_o_n_l_i_n_e_a_r,
- _N_o_t_i_f_y_N_o_n_l_i_n_e_a_r_V_i_r_t_u_a_l, _N_o_t_i_f_y_P_o_i_n_t_e_r, _N_o_t_i_f_y_P_o_i_n_t_e_r_R_o_o_t,
- or _N_o_t_i_f_y_D_e_t_a_i_l_N_o_n_e.
-
- SSEEEE AALLSSOO
- XAnyEvent(3X11), XButtonEvent(3X11), XCreateWindow-
- Event(3X11), XCirculateEvent(3X11), XCircu-
- lateRequestEvent(3X11), XColormapEvent(3X11), XConfig-
- ureEvent(3X11), XConfigureRequestEvent(3X11),
- XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XEr-
- rorEvent(3X11), XExposeEvent(3X11), XGraphicsEx-
- poseEvent(3X11), XGravityEvent(3X11), XKeymapEvent(3X11),
- XMapEvent(3X11), XMapRequestEvent(3X11), XProper-
- tyEvent(3X11), XReparentEvent(3X11), XResiz-
- eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelec-
- tionEvent(3X11), XSelectionRequestEvent(3X11), XUn-
- mapEvent(3X11), XVisibilityEvent(3X11)
- _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 2
-
-
-