⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xsetcommand.html

📁 linux图形界面x liberary手册
💻 HTML
字号:
<HTML><HEAD><TITLE>Xlib Programming Manual: XSetCommand</TITLE></HEAD><BODY><H1 ALIGN=center>XSetCommand</H1><H2>Syntax</H2><!.IN "XSetCommand" "" "@DEF@"><CODE><PRE>XSetCommand(<B>display</B>, <B>w</B>, <B>argv</B>, <B>argc</B>)      <A HREF="../../display/opening.html#Display">Display</A> *<B>display</B>;      Window <B>w</B>;      char **<B>argv</B>;      int <B>argc</B>;</PRE></CODE><H2>Arguments</H2><TABLE><TR><TD> <B>display</B><TD> Specifies the connection to the X server.<TR><TD> <B>w</B><TD> Specifies the window.<TR><TD> <B>argv</B><TD> Specifies the application's argument list.<TR><TD> <B>argc</B><TD> Specifies the number of arguments.</TABLE><H2>Description</H2>The<B>XSetCommand()</B>function sets the command and arguments used to invoke theapplication.(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.<P><B>XSetCommand()</B>can generate<B>BadAlloc</B>and<B>BadWindow</B> errors.<H2>Diagnostics</H2><TABLE><TR><TD><B>BadAlloc</B><TD> The server failed to allocate the requested     source or server memory.<TR><TD><B>BadWindow</B><TD>A value for a Window argument does not name a defined Window.</TABLE><H2>See also</H2><B><A HREF="../client-to-window-manager/XAllocClassHint.html">XAllocClassHint()</A></B>,<B><A HREF="../client-to-window-manager/XAllocIconSize.html">XAllocIconSize()</A></B>,<B><A HREF="../client-to-window-manager/XAllocSizeHints.html">XAllocSizeHints()</A></B>,<B><A HREF="../client-to-window-manager/XAllocWMHints.html">XAllocWMHints()</A></B>,<B><A HREF="XGetCommand.html">XGetCommand()</A></B>,<B><A HREF="../client-to-window-manager/XSetTextProperty.html">XSetTextProperty()</A></B>,<B><A HREF="../client-to-window-manager/XSetTransientForHint.html">XSetTransientForHint()</A></B>,<B><A HREF="XSetWMClientMachine.html">XSetWMClientMachine()</A></B>,<B><A HREF="../client-to-window-manager/XSetWMColormapWindows.html">XSetWMColormapWindows()</A></B>,<B><A HREF="../client-to-window-manager/XSetWMIconName.html">XSetWMIconName()</A></B>,<B><A HREF="../client-to-window-manager/XSetWMName.html">XSetWMName()</A></B>,<B><A HREF="../client-to-window-manager/XSetWMProperties.html">XSetWMProperties()</A></B>,<B><A HREF="../client-to-window-manager/XSetWMProtocols.html">XSetWMProtocols()</A></B>,<B><A HREF="../client-to-window-manager/XStringListToTextProperty.html">XStringListToTextProperty()</A></B>,"<A HREF="wm-command.html">Setting and Reading the WM_COMMAND Property</A>".<HR><ADDRESS><A HREF="http://tronche.com/">Christophe Tronche</A>, <A HREF="mailto:ch.tronche@computer.org">ch.tronche@computer.org</A></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -