home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XSetCommand(3X11) XLIB FUNCTIONS XSetCommand(3X11)
-
-
- NNAAMMEE
- XSetCommand, XGetCommand - set or read a window's
- WM_COMMAND property
-
- SSYYNNTTAAXX
- XSetCommand(_d_i_s_p_l_a_y, _w, _a_r_g_v, _a_r_g_c)
- Display *_d_i_s_p_l_a_y;
- Window _w;
- char **_a_r_g_v;
- int _a_r_g_c;
-
- Status XGetCommand(_d_i_s_p_l_a_y, _w, _a_r_g_v___r_e_t_u_r_n, _a_r_g_c___r_e_t_u_r_n)
- Display *_d_i_s_p_l_a_y;
- Window _w;
- char ***_a_r_g_v___r_e_t_u_r_n;
- int *_a_r_g_c___r_e_t_u_r_n;
-
- AARRGGUUMMEENNTTSS
- _a_r_g_c Specifies the number of arguments.
-
- _a_r_g_c___r_e_t_u_r_n
- Returns the number of arguments returned.
-
- _a_r_g_v Specifies the application's argument list.
-
- _a_r_g_v___r_e_t_u_r_n
- Returns the application's argument list.
-
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _w Specifies the window.
-
- DDEESSCCRRIIPPTTIIOONN
- The _X_S_e_t_C_o_m_m_a_n_d function sets the command and arguments
- used to invoke the application. (Typically, argv is the
- argv array of your main program.) If the strings are not
- in the Host Portable Character Encoding, the result is
- implementation-dependent.
-
- _X_S_e_t_C_o_m_m_a_n_d 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_C_o_m_m_a_n_d function reads the WM_COMMAND property
- from the specified window and returns a string list. If
- the WM_COMMAND property exists, it is of type STRING and
- format 8. If sufficient memory can be allocated to con-
- tain the string list, _X_G_e_t_C_o_m_m_a_n_d fills in the argv_return
- and argc_return arguments and returns a nonzero status.
- Otherwise, it returns a zero status. If the data returned
- by the server is in the Latin Portable Character Encoding,
- then the returned strings are in the Host Portable Charac-
- ter Encoding. Otherwise, the result is implementation-
- dependent. To free the memory allocated to the string
- list, use _X_F_r_e_e_S_t_r_i_n_g_L_i_s_t.
-
-
-
-
- X Version 11 Release 6.1 1
-
-
-
-
-
- XSetCommand(3X11) XLIB FUNCTIONS XSetCommand(3X11)
-
-
- PPRROOPPEERRTTIIEESS
- WM_COMMAND
- The command and arguments, null-separated, used
- to invoke the application.
-
- 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), XSetTransient-
- ForHint(3X11), XSetTextProperty(3X11), XSetWMClientMa-
- chine(3X11), XSetWMColormapWindows(3X11), XSetWMIcon-
- Name(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
-
-
-