


XSetTransientForHint(3X11)			   XSetTransientForHint(3X11)
X11R5									X11R5



NAME
  XSetTransientForHint,	XGetTransientForHint - set or read a window's
  WM_TRANSIENT_FOR property

SYNTAX
  XSetTransientForHint(_d_i_s_p_l_a_y,	_w, _p_r_o_p__w_i_n_d_o_w)
	Display	*_d_i_s_p_l_a_y;
	Window _w;
	Window _p_r_o_p__w_i_n_d_o_w;

  Status XGetTransientForHint(_d_i_s_p_l_a_y, _w, _p_r_o_p__w_i_n_d_o_w__r_e_t_u_r_n)
	Display	*_d_i_s_p_l_a_y;
	Window _w;
	Window *_p_r_o_p__w_i_n_d_o_w__r_e_t_u_r_n;

ARGUMENTS

  _d_i_s_p_l_a_y   Specifies the connection to	the X server.

  _w	    Specifies the window.

  _p_r_o_p__w_i_n_d_o_w
	    Specifies the window that the WM_TRANSIENT_FOR property is to be
	    set	to.

  _p_r_o_p__w_i_n_d_o_w__r_e_t_u_r_n
	    Returns the	WM_TRANSIENT_FOR property of the specified window.

DESCRIPTION
  The _X_S_e_t_T_r_a_n_s_i_e_n_t_F_o_r_H_i_n_t function sets the WM_TRANSIENT_FOR property of the
  specified window to the specified prop_window.

  _X_S_e_t_T_r_a_n_s_i_e_n_t_F_o_r_H_i_n_t can generate _B_a_d_A_l_l_o_c and _B_a_d_W_i_n_d_o_w errors.

  The _X_G_e_t_T_r_a_n_s_i_e_n_t_F_o_r_H_i_n_t function returns the	WM_TRANSIENT_FOR property for
  the specified	window.	 It returns nonzero status on success; otherwise it
  returns a zero status.

  _X_G_e_t_T_r_a_n_s_i_e_n_t_F_o_r_H_i_n_t can generate a _B_a_d_W_i_n_d_o_w	error.

PROPERTIES

  WM_TRANSIENT_FOR
	    Set	by application programs	to indicate to the window manager
	    that a transient top-level window, such as a dialog	box.

DIAGNOSTICS

  _B_a_d_A_l_l_o_c  The	server failed to allocate the requested	resource or server
	    memory.

  _B_a_d_W_i_n_d_o_w A value for	a Window argument does not name	a defined Window.

SEE ALSO
  XAllocClassHint(3X11), XAllocIconSize(3X11), XAllocSizeHints(3X11),
  XAllocWMHints(3X11), XSetCommand(3X11), XSetTextProperty(3X11),
  XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11),
  XSetWMIconName(3X11),	XSetWMName(3X11), XSetWMProperties(3X11),
  XSetWMProtocols(3X11), XStringListToTextProperty(3X11)
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
































































