home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XSetWMIconName(3X11) XLIB FUNCTIONS XSetWMIconName(3X11)
-
-
- NNAAMMEE
- XSetWMIconName, XGetWMIconName, XSetIconName, XGetIconName
- - set or read a window's WM_ICON_NAME property
-
- SSYYNNTTAAXX
- void XSetWMIconName(_d_i_s_p_l_a_y, _w, _t_e_x_t___p_r_o_p)
- Display *_d_i_s_p_l_a_y;
- Window _w;
- XTextProperty *_t_e_x_t___p_r_o_p;
-
- Status XGetWMIconName(_d_i_s_p_l_a_y, _w, _t_e_x_t___p_r_o_p___r_e_t_u_r_n)
- Display *_d_i_s_p_l_a_y;
- Window _w;
- XTextProperty *_t_e_x_t___p_r_o_p___r_e_t_u_r_n;
-
- XSetIconName(_d_i_s_p_l_a_y, _w, _i_c_o_n___n_a_m_e)
- Display *_d_i_s_p_l_a_y;
- Window _w;
- char *_i_c_o_n___n_a_m_e;
-
- Status XGetIconName(_d_i_s_p_l_a_y, _w, _i_c_o_n___n_a_m_e___r_e_t_u_r_n)
- Display *_d_i_s_p_l_a_y;
- Window _w;
- char **_i_c_o_n___n_a_m_e___r_e_t_u_r_n;
-
- AARRGGUUMMEENNTTSS
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _i_c_o_n___n_a_m_e Specifies the icon name, which should be a null-
- terminated string.
-
- _i_c_o_n___n_a_m_e___r_e_t_u_r_n
- Returns the window's icon name, which is a null-
- terminated string.
-
- _t_e_x_t___p_r_o_p Specifies the _X_T_e_x_t_P_r_o_p_e_r_t_y structure to be
- used.
-
- _t_e_x_t___p_r_o_p___r_e_t_u_r_n
- Returns the _X_T_e_x_t_P_r_o_p_e_r_t_y structure.
-
- _w Specifies the window.
-
- DDEESSCCRRIIPPTTIIOONN
- The _X_S_e_t_W_M_I_c_o_n_N_a_m_e convenience function calls _X_S_e_t_-
- _T_e_x_t_P_r_o_p_e_r_t_y to set the WM_ICON_NAME property.
-
- The _X_G_e_t_W_M_I_c_o_n_N_a_m_e convenience function calls _X_G_e_t_-
- _T_e_x_t_P_r_o_p_e_r_t_y to obtain the WM_ICON_NAME property. It
- returns a nonzero status on success; otherwise, it returns
- a zero status.
-
- The _X_S_e_t_I_c_o_n_N_a_m_e function sets the name to be displayed in
- a window's icon.
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XSetWMIconName(3X11) XLIB FUNCTIONS XSetWMIconName(3X11)
-
-
- _X_S_e_t_I_c_o_n_N_a_m_e 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_I_c_o_n_N_a_m_e function returns the name to be displayed
- in the specified window's icon. If it succeeds, it
- returns a nonzero status; otherwise, if no icon name has
- been set for the window, it returns zero. If you never
- assigned a name to the window, _X_G_e_t_I_c_o_n_N_a_m_e sets
- icon_name_return to NULL. If the data returned by the
- server is in the Latin Portable Character Encoding, then
- the returned string is in the Host Portable Character
- Encoding. Otherwise, the result is implementation-
- dependent. When finished with it, a client must free the
- icon name string using _X_F_r_e_e.
-
- _X_G_e_t_I_c_o_n_N_a_m_e can generate a _B_a_d_W_i_n_d_o_w error.
-
- PPRROOPPEERRTTIIEESS
- WM_ICON_NAME
- The name to be used in an icon.
-
- DDIIAAGGNNOOSSTTIICCSS
- _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.
-
- SSEEEE AALLSSOO
- XAllocClassHint(3X11), XAllocIconSize(3X11), XAllocSize-
- Hints(3X11), XAllocWMHints(3X11), XFree(3X11), XSetCom-
- mand(3X11), XSetTransientForHint(3X11), XSetTextProp-
- erty(3X11), XSetWMClientMachine(3X11), XSetWMColormapWin-
- dows(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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6.1 2
-
-
-