OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [TixIntro.html] - Blame information for rev 1767

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
 
2
 
3
 
4
<TITLE>TixIntro - Introduction to the Tix widget set</TITLE>
5
<Center><H2>TixIntro - Introduction to the Tix widget set</H2></Center><hr>
6
 
7
</pre><HR>
8
</pre><H3>DESCRIPTION</H3>
9
Tix is a set of mega widgets based on the standard Tk widgets. If you
10
are planning only to use Tix with the standard Tk widget set, you can
11
use the program <B>tixwish(1)</B></I> to interpret your TCL scripts.
12
<P>
13
To use Tix with other TCL extension packages, you have to call the
14
function <B>Tix_Init()</B></I> in your <B>Tcl_AppInit()</B></I> function. Here
15
is an example:
16
<pre><code><code><code>
17
 
18
int Tcl_AppInit(interp)
19
    Tcl_Interp *interp;
20
{
21
    Tk_Window main;
22
 
23
    main = Tk_MainWindow(interp);
24
 
25
    if (Tcl_Init(interp) == TCL_ERROR) {
26
        return TCL_ERROR;
27
    }
28
    if (Tk_Init(interp) == TCL_ERROR) {
29
        return TCL_ERROR;
30
    }
31
 
32
    if (Tix_Init(interp) == TCL_ERROR) {
33
        return TCL_ERROR;
34
    }
35
    /*
36
     * Call the init procedures for included packages.
37
     * Each call should look like this:
38
     *
39
     * if (Mod_Init(interp) == TCL_ERROR) {
40
     *     return TCL_ERROR;
41
     * }
42
     *
43
     * where "Mod" is the name of the module.
44
     */
45
}
46
</code></code></code></pre>
47
</pre><H3>Files</H3>
48
The release notes of this version of Tix is in the HTML file
49
<B>Tix4.0/README.html</B></I>. Plain text version of this file can be found
50
as <B>Tix4.0/README.txt</B></I>. Latest information about Tix can also be
51
located on line at &lt;URL:http://www.xpi.com/tix/&gt;
52
</pre><H3>KEYWORDS</H3>
53
Tix(n), compound widgets, Tix Intrinsics
54
<hr><i>Last modified Sun Jan 19 22:34:39 EST 1997 </i> ---
55
<i>Serial 853731306</i>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.