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

📄 motiftcl.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/tornado-api/guitcl-unix/motiftcl.html - generated by refgen from motiftcl.cc --> <title> motiftcl </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado API Reference :  GUI Tcl Library (UNIX)</i></a></p></blockquote><h1>motiftcl</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>motiftcl</strong> - motif Tcl library </p></blockquote><h4>TCL PROCEDURES</h4><blockquote><p><p><b><a href="./motiftcl.html#ttySend">ttySend</a></b>  -  send text to a subprocess through the <i>tty</i> interface<br><b><a href="./motiftcl.html#wsTitleSet">wsTitleSet</a></b>  -  set the text of the window manager title bar<br><b><a href="./motiftcl.html#wsArgv">wsArgv</a></b>  -  examine/change original window system command arguments<br><b><a href="./motiftcl.html#wsRestart">wsRestart</a></b>  -  restart the application<br><b><a href="./motiftcl.html#wsObjectSelect">wsObjectSelect</a></b>  -  change to the help cursor and return the name of the object<br><b><a href="./motiftcl.html#delayedEval">delayedEval</a></b>  -  arrange for an expression to be evaluated later<br><b><a href="./motiftcl.html#wsSync">wsSync</a></b>  -  flush pending requests to the window system<br><b><a href="./motiftcl.html#wsWindowId">wsWindowId</a></b>  -  return the X Window ID of the application's top level window<br><b><a href="./motiftcl.html#wsWindowGeom">wsWindowGeom</a></b>  -  return the geometry string of a window<br><b><a href="./motiftcl.html#wsWindowIconic">wsWindowIconic</a></b>  -  report whether a given window is iconified<br><b><a href="./motiftcl.html#wsHierarchy">wsHierarchy</a></b>  -  print the window system hierarchy of graphical objects<br><b><a href="./motiftcl.html#wsBusyAnimation">wsBusyAnimation</a></b>  -  check or set busy animation<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library allows to use motif interfaces for Tcl UNIX GUI<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b><hr><a name="ttySend"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>ttySend</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>ttySend</strong> - send text to a subprocess through the <i>tty</i> interface</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>ttySend <i>text</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>If the user interface has a <i>tty</i> connection to a subprocess, ttySend sends the supplied <i>text</i> directly to the subprocess as if it had beentyped at the subprocess terminal.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b><hr><a name="wsTitleSet"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsTitleSet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsTitleSet</strong> - set the text of the window manager title bar</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsTitleSet <i>title</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function sets the window manager titlebar text to the specified <i>title</i><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b><hr><a name="wsArgv"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsArgv</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsArgv</strong> - examine/change original window system command arguments</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsArgv [<i>argList</i>]</pre></blockquote><h4>DESCRIPTION </h4><blockquote><p>With no arguments, this function returns the original argument vector usedto launch the application, including the program name and allwindow-system-specific arguments.  If an argument list is given, this listreplaces the argument list that is used by the wsRestart command.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b>, wsRestart<hr><a name="wsRestart"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsRestart</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsRestart</strong> - restart the application</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsRestart [<i>arg</i> <i>arg</i>...]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command restarts the application with the same arguments it wasoriginally invoked with.  If arguments are supplied, they are appended tothe arguments originally used to invoke the program.<p></blockquote><h4>RETURNS</h4><blockquote><p>This command does not return.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b><hr><a name="wsObjectSelect"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsObjectSelect</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsObjectSelect</strong> - change to the help cursor and return the name of the object</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsObjectSelect</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The window cursor changes to a "question arrow" shape.  If the user clickson a screen object that has an internal name, that name is returned.If the user clicks outside the application, clicks on an unknown object,or cancels the selection operation, an empty string is returned.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b><hr><a name="delayedEval"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>delayedEval</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>delayedEval</strong> - arrange for an expression to be evaluated later</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>delayedEval <i>time</i> <i>expr</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command arranges for <i>expr</i> to be evaluated in the global Tcl contextafter <i>time</i> milliseconds have expired.<p></blockquote><h4>RETURNS</h4><blockquote><p>Nothing.  Errors returned by the evaluation of <i>expr</i> are discarded.<p></blockquote><h4>CAVEATS</h4><blockquote><p>The X Toolkit timeout mechanism is used (see <b><i>XtAppAddTimeout</i>(&nbsp;)</b> in the Xt library reference).  If the application is not executing the X EventLoop when the timeout should expire, the evaluation of <i>expr</i> is delayed until the X Event Loop is resumed.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b><hr><a name="wsSync"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsSync</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsSync</strong> - flush pending requests to the window system</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsSync</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command flushes pending requests to the window system.  This is useful when an application is about to perform a long computation orblock on a subprocess, preventing the X event loop from executing.<p></blockquote><h4>RETURNS</h4><blockquote><p>Nothing.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b>, wsWindowIconic, wsWindowId, wsWindowGeom<hr><a name="wsWindowId"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsWindowId</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsWindowId</strong> - return the X Window ID of the application's top level window</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsWindowId</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function returns the window ID of the top level window of theapplication executing this command.<p></blockquote><h4>RETURNS</h4><blockquote><p>Window ID, in hexadecimal.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b>, wsSync, wsWindowIconic, wsWindowGeom<hr><a name="wsWindowGeom"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsWindowGeom</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsWindowGeom</strong> - return the geometry string of a window</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsWindowGeom <i>windowId</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command returns the geometry string of the window.  The format of thisstring is <b><i>width</i>x<i>height</i>+<i>x</i>+<i>y</i></b>.  This string can be usedas the <b>-geometry</b> argument of an X client command.<p></blockquote><h4>RETURNS</h4><blockquote><p>An X Window System geometry string.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b>, wsSync, wsWindowId, wsWindowIconic<hr><a name="wsWindowIconic"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsWindowIconic</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsWindowIconic</strong> - report whether a given window is iconified</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsWindowIconic <i>windowId</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>Given an X Window ID, this function reports whether the window is iconifiedor not.<p></blockquote><h4>RETURNS</h4><blockquote><p><b>1</b> if the window is iconified; <b>0</b> otherwise.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b>, wsSync, wsWindowId, wsWindowGeom<hr><a name="wsHierarchy"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsHierarchy</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsHierarchy</strong> - print the window system hierarchy of graphical objects</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsHierarchy</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function prints the widget hierarchy of the application to standardoutput.  This command is primarily for debugging.  The name and class ofeach widget is printed, with indentation used to show the hierarchystructure.  If a widget is a popup child of its parent, this is indicatedby <b>></b> before the widget's name.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b><hr><a name="wsBusyAnimation"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>wsBusyAnimation</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wsBusyAnimation</strong> - check or set busy animation</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wsBusyAnimation [on | off]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>If a parameter is given and is <b>on</b>, this function starts the "applicationbusy" animation; it runs until the state is set to <b>off</b>.  If no state issupplied, the current state is returned.  It is not an error to supply thecurrent state; in this case, the command has no effect.<p></blockquote><h4>RETURNS</h4><blockquote><p><b>on</b> or <b>off</b> if no parameter is given, nothing otherwise.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./motiftcl.html#top">motiftcl</a></b></body></html>

⌨️ 快捷键说明

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