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