| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<html> |
| 3 |
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ --> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 6 |
<title>Introduction (GCL TK Manual)</title> |
| 7 |
|
| 8 |
<meta name="description" content="Introduction (GCL TK Manual)"> |
| 9 |
<meta name="keywords" content="Introduction (GCL TK Manual)"> |
| 10 |
<meta name="resource-type" content="document"> |
| 11 |
<meta name="distribution" content="global"> |
| 12 |
<meta name="Generator" content="makeinfo"> |
| 13 |
<link href="index.html" rel="start" title="Top"> |
| 14 |
<link href="wm.html#SEC_Contents" rel="contents" title="Table of Contents"> |
| 15 |
<link href="General.html" rel="up" title="General"> |
| 16 |
<link href="Getting-Started.html" rel="next" title="Getting Started"> |
| 17 |
<link href="General.html" rel="prev" title="General"> |
| 18 |
<style type="text/css"> |
| 19 |
<!-- |
| 20 |
a.summary-letter {text-decoration: none} |
| 21 |
blockquote.indentedblock {margin-right: 0em} |
| 22 |
div.display {margin-left: 3.2em} |
| 23 |
div.example {margin-left: 3.2em} |
| 24 |
div.lisp {margin-left: 3.2em} |
| 25 |
kbd {font-style: oblique} |
| 26 |
pre.display {font-family: inherit} |
| 27 |
pre.format {font-family: inherit} |
| 28 |
pre.menu-comment {font-family: serif} |
| 29 |
pre.menu-preformatted {font-family: serif} |
| 30 |
span.nolinebreak {white-space: nowrap} |
| 31 |
span.roman {font-family: initial; font-weight: normal} |
| 32 |
span.sansserif {font-family: sans-serif; font-weight: normal} |
| 33 |
ul.no-bullet {list-style: none} |
| 34 |
--> |
| 35 |
</style> |
| 36 |
|
| 37 |
|
| 38 |
</head> |
| 39 |
|
| 40 |
<body lang="en"> |
| 41 |
<span id="Introduction"></span><div class="header"> |
| 42 |
<p> |
| 43 |
Next: <a href="Getting-Started.html" accesskey="n" rel="next">Getting Started</a>, Previous: <a href="General.html" accesskey="p" rel="prev">General</a>, Up: <a href="General.html" accesskey="u" rel="up">General</a> [<a href="wm.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p> |
| 44 |
</div> |
| 45 |
<hr> |
| 46 |
<span id="Introduction-1"></span><h3 class="section">1.1 Introduction</h3> |
| 47 |
|
| 48 |
<p><b>GCL-TK</b> is a windowing interface for <b>GNU Common Lisp</b>. It provides the |
| 49 |
functionality of the <b>TK</b> widget set, which in turn implements a widget |
| 50 |
set which has the look and feel of <b>Motif</b>. |
| 51 |
</p> |
| 52 |
<p>The interface allows the user to draw graphics, get input from menus, |
| 53 |
make regions mouse sensitive, and bind lisp commands to regions. It |
| 54 |
communicates over a socket with a <samp>gcltksrv</samp> process, which speaks to the |
| 55 |
display via the <b>TK</b> library. The displaying process may run on |
| 56 |
a machine which is closer to the display, and so involves less |
| 57 |
communication. It also may remain active even though the lisp is |
| 58 |
involved in a separate user computation. The display server can, however, |
| 59 |
interrupt the lisp at will, to inquire about variables and run |
| 60 |
commands. |
| 61 |
</p> |
| 62 |
<p>The user may also interface with existing <code>TCL/TK</code> programs, |
| 63 |
binding some buttons, or tracking some objects. |
| 64 |
</p> |
| 65 |
<p>The size of the program is moderate. In its current form it adds only |
| 66 |
about 45K bytes to the lisp image, and the <samp>gcltksrv</samp> program uses shared |
| 67 |
libraries, and is on the order of 150Kbytes on a sparc. |
| 68 |
</p> |
| 69 |
<p>This chapter describes some of the common features of the command |
| 70 |
structure of widgets, and of control functions. The actual functions |
| 71 |
for construction of windows |
| 72 |
are discussed in <a href="Widgets.html">Widgets</a>, and more general functions |
| 73 |
for making them appear, lowering them, querying about them in <a href="Control.html">Control</a>. |
| 74 |
</p> |
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
</body> |
| 79 |
</html> |