XmCreateScrolledText --- The Text ScrolledText convenience creation function "XmCreateScrolledText" "creation functions" "XmCreateScrolledText"
#include <Xm/Text.h> Widget XmCreateScrolledText( Widget parent, String name, ArgList arglist, Cardinal argcount);
XmCreateScrolledText creates an instance of a Text widget that is
contained within a ScrolledWindow. The ScrolledWindow parent is
created managed. All ScrolledWindow subarea widgets are automatically
created by this function. The ID returned by this function is that of
the Text widget (not the ScrolledWindow widget). Use this widget ID
for all operations on the Text widget. Use the widget ID of the Text
widget's parent for all operations on the ScrolledWindow. To obtain
the ID of the ScrolledWindow widget associated with the Text widget,
use the Xt Intrinsics XtParent function. The name of the
ScrolledWindow created by this function is formed by concatenating the
letters SW onto the end of the name specified in the parameter list.
The Text widget defaults to single-line text edit; therefore, no
ScrollBars are displayed. The Text resource XmNeditMode must be set to
XmMULTI_LINE_EDIT to display the ScrollBars. The results of placing a
Text widget inside a ScrolledWindow when the Text's XmNeditMode is
XmSINGLE_LINE_EDIT are undefined.
All arguments to either the Text or the ScrolledWindow widget can be
specified at creation time with this function. Changes to initial
position and size are sent only to the ScrolledWindow widget. Other
resources are sent to the Text or the ScrolledWindow widget as
appropriate. Note that the result of providing the XmNdestroyCallback
resource in the creation arglist is unspecified. The application should
use the XtAddCallback function to add callbacks to the appropriate
widget (Text or ScrolledWindow) after creating it.
This function forces the following initial values for ScrolledWindow
resources:
* XmNscrollingPolicy is set to XmAPPLICATION_DEFINED.
* XmNvisualPolicy is set to XmVARIABLE.
* XmNscrollBarDisplayPolicy is set to XmSTATIC.
* XmNshadowThickness is set to 0 (zero).
parent Specifies the parent widget ID
name Specifies the name of the created widget
arglist Specifies the argument list
argcount Specifies the number of attribute/value pairs in the argument
list (arglist)
For a complete definition of Text and its associated resources, see
XmText(3).
Returns the Text widget ID.
XmScrolledWindow(3) and XmText(3). XmCreateScrolledText(3)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.