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

📄 readme

📁 NIST Net – A Linux-based Network Emulation Tool, It is a raw IP packet filter with many controllable
💻
字号:
README for TextField Widget, version 1.0Rob McMullen <rwmcm@orion.ae.utexas.edu>10 Oct 1995SOURCE LOCATIONSource code for the TextField Widget is available via anonymous ftp onftp.x.org in /contrib/widgets as TextField-?.?.tar.gz.  I have also set up theOffical ListTree Web Site (tm) at http://www.ae.utexas.edu/~rwmcm/TextField.htmlthat should always include the latest patchlevel update.OVERVIEWThe TextField Widget is a low resource single line text input widget designedto mimic the functionality of the Motif XmTextField widget. Most of thefunctionality of the XmTextField widget is available in my TextField, as wellas most of the XmTextField* convenience functions. To benefit freeware programmers who may now be using the Athena widget set,this widget was also designed to be as compatible as possible with the AthenaText widget (in single line mode). It shares many of the resources with theAthena Text widget, and few code modifications are necessary to change to theTextField. As an added bonus, this widget is very small compared to theAthena Text. My goal was a powerful free line editor that was similarly powerful to theMotif single line text widget. In particular, I wanted pending delete(replacing text selection with next entry) and scrolling, two features notavailable in the Athena Text widget. But, besides the small size of thewidget and freely available source, there are no obvious advantages to usingthis widget if you program with Motif (actually, the opposite would be true).Therefore, I have made no attempt to make this widget deal with theidiosyncrasies of Motif. It will certainly operate (to some extent: minuskeyboard traversal, highlight borders, etc.) with Motif, but if you useMotif:  1. You'll use the XmTextField widget  2. You shouldn't be writing free programs FEATURESFeatures provided in the widget include the following:    Variable width fonts    Optimized drawing routines    Highlighting    ICCCM selections    Scrolling text    Pending delete mode (ala Motif)    Activate Callback (called when Return pressed)    Editable or non-editable mode    Echo or non-echo mode    Optional maximum length for text string    Many convenience functions (based on the XmTextField* functions) TO DO LISTPossible items to include in future revisions:    User specifiable pointer cursor    Blinking text cursor    More Motif callbacks (ModifyVerify, etc.)    More text translations (vi or emacs modes?)    The rest of the Motif-style convenience functions    ... REQUIREMENTSThe TextField code requires X11R4 or later and an ANSI C compiler. The codemay compile on a non-ANSI compiler if it supports new style functiondefinitions. BUILDING THE DEMO PROGRAMSShipped with the source code distribution is one demo program that simplydisplays several TextField widgets in a window.  Each TextField shows offdifferent features of the widgets, and all have an activate callback thatwill echo the current text in the widget to standard output when you pressthe return key.If you have the program imake installed, you may use the supplied Imakefile togenerate a Makefile by typing "xmkmf".  Otherwise, copy the fileMakefile.noImake to Makefile, and edit that to conform to your system. Actually, other than specifying the C compiler to use, the Makefile shouldrequire little customization.Once you have set up the Makefile, type "make" to build the demo.  You willneed the Athena library to compile the program.Type "./demo" to run the program.USING THE WIDGETInstructions on how to use the TextField widget in your own code is documentedin the manual page (TextField.html) included with the source code.  Thedocumentation provided only in HTML format.IMPROVEMENTS/PATCHES/BUG REPORTSIf you make improvements in this widget (or, YIKES!, if you find bugs)please let me know at rwmcm@orion.ae.utexas.edu, or through the TextFieldWidget home page at http://www.ae.utexas.edu/~rwmcm/TextField.htmlAUTHORRob McMullen <rwmcm@orion.ae.utexas.edu>This widget is supplied as free software, in the hope that it will be usefulfor developers in the X community. It is licensed under the GNU LibraryGeneral Public License, which is a less restristive version of the GPL. Itdoesn't prevent the code from being used in commercial codes, as long as youalso ship source to the TextField widget. See the file LICENSE in the sourcedistribution for more information. Patches, improvements, suggestions, bug reports, job offers, volleyball games,and money you love donating to programmers who make your life so much easierare welcome at  <rwmcm@orion.ae.utexas.edu>. I will periodically post patchesand improvements to ftp.x.org and the TextField web page athttp://www.ae.utexas.edu/~rwmcm/TextField.html COPYRIGHTCopyright (c) 1995 Robert W. McMullen This library is free software; you can redistribute it and/or modify it underthe terms of the GNU Library General Public License as published by the FreeSoftware Foundation; either version 2 of the License, or (at your option) anylater version. This library is distributed in the hope that it will be useful, but WITHOUTANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESSFOR A PARTICULAR PURPOSE. See the GNU Library General Public License for moredetails. You should have received a copy of the GNU Library General Public Licensealong with this library; if not, write to the Free Software Foundation, Inc.,675 Mass Ave, Cambridge, MA 02139, USA. 

⌨️ 快捷键说明

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