]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxSWIG/swig_lib/tcl/tix.i
Updates for building wxSWIG on Linux
[wxWidgets.git] / wxPython / wxSWIG / swig_lib / tcl / tix.i
1 // Initialization code for Tix
2
3 %{
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 extern int Tix_Init(Tcl_Interp *);
8 #ifdef __cplusplus
9 }
10 #endif
11 %}
12
13 #ifdef AUTODOC
14 %subsection "tix.i"
15 %text %{
16 This module initializes the Tix extension. This is usually done in
17 combination with the wish.i or similar module. For example :
18
19 %include wish.i // Build a new wish executable
20 %include tix.i // Initialize Tix
21 %}
22 #endif
23
24 %init %{
25 if (Tix_Init(interp) == TCL_ERROR) {
26 return TCL_ERROR;
27 }
28 %}
29