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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [insight/] [tix/] [man/] [TixIntro.n] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1996, Expert Interface Technologies
3
'\"
4
'\" See the file "license.terms" for information on usage and redistribution
5
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6
'\"
7
'\" The file man.macros and some of the macros used by this file are
8
'\" copyrighted: (c) 1990 The Regents of the University of California.
9
'\"              (c) 1994-1995 Sun Microsystems, Inc.
10
'\" The license terms of the Tcl/Tk distrobution are in the file
11
'\" license.tcl.
12
.so man.macros
13
.HS TixIntro tix 4.0
14
.BS
15
'
16
'
17
.SH NAME
18
TixIntro \- Introduction to the Tix widget set
19
.BE
20
'
21
'
22
.SH DESCRIPTION
23
'
24
Tix is a set of mega widgets based on the standard Tk widgets. If you
25
are planning only to use Tix with the standard Tk widget set, you can
26
use the program \fBtixwish(1)\fR to interpret your TCL scripts.
27
.PP
28
To use Tix with other TCL extension packages, you have to call the
29
function \fBTix_Init()\fR in your \fBTcl_AppInit()\fR function. Here
30
is an example:
31
.nf
32
 
33
int Tcl_AppInit(interp)
34
    Tcl_Interp *interp;
35
{
36
    Tk_Window main;
37
 
38
    main = Tk_MainWindow(interp);
39
 
40
    if (Tcl_Init(interp) == TCL_ERROR) {
41
        return TCL_ERROR;
42
    }
43
    if (Tk_Init(interp) == TCL_ERROR) {
44
        return TCL_ERROR;
45
    }
46
 
47
    if (Tix_Init(interp) == TCL_ERROR) {
48
        return TCL_ERROR;
49
    }
50
    /*
51
     * Call the init procedures for included packages.
52
     * Each call should look like this:
53
     *
54
     * if (Mod_Init(interp) == TCL_ERROR) {
55
     *     return TCL_ERROR;
56
     * }
57
     *
58
     * where "Mod" is the name of the module.
59
     */
60
}
61
.fi
62
'
63
.SH Files
64
'
65
The release notes of this version of Tix is in the HTML file
66
\fBTix4.0/README.html\fR. Plain text version of this file can be found
67
as \fBTix4.0/README.txt\fR. Latest information about Tix can also be
68
located on line at 
69
'
70
'
71
.SH KEYWORDS
72
'
73
Tix(n), compound widgets, Tix Intrinsics

powered by: WebSVN 2.1.0

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