• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

tclconfig/H03-May-2022-4,0803,735

.indent.proH A D02-Oct-20211.3 KiB7372

LICENSEH A D02-Oct-20211.4 KiB2824

README.stubsH A D02-Oct-20211.2 KiB2118

TODOH A D02-Oct-2021549 2114

aclocal.m4H A D02-Oct-2021147 107

configure.inH A D02-Oct-20218.3 KiB22365

double.cH A D02-Oct-20216.7 KiB281174

double.tclH A D02-Oct-20212.8 KiB10444

gears.cH A D02-Oct-202110.5 KiB403283

gears.tclH A D02-Oct-20211.9 KiB7754

image.cH A D02-Oct-20216.1 KiB250210

image.hH A D02-Oct-2021223 159

index.cH A D02-Oct-20214.2 KiB18596

index.tclH A D02-Oct-20211.3 KiB5210

overlay.cH A D02-Oct-20214.4 KiB195104

overlay.tclH A D02-Oct-20211.2 KiB5010

pkgIndex.tcl.inH A D02-Oct-2021129 65

stereo.cH A D02-Oct-20218.6 KiB353225

stereo.tclH A D02-Oct-20212.8 KiB10949

texture.cH A D02-Oct-202114.4 KiB609403

texture.tclH A D02-Oct-20219.3 KiB284175

tkMacOSX.hH A D02-Oct-20211.1 KiB3611

togl.cH A D02-Oct-2021119.6 KiB4,0342,936

togl.hH A D02-Oct-20216.2 KiB245139

togl_ws.h.inH A D02-Oct-2021130 85

README.stubs

1This version of Togl is entirely free from
2dependencies on Tcl/Tk's internal functions. It uses the public stubs
3interface, witch means that the same binary works with any stubs-aware
4wish (i.e. version >= 8.1)
5
6It has been tested on Windows NT/2000 and Linux for several Tcl/Tk versions up
7to 8.4a3. I haven't been able to test the Mac port, it propably needs mending
8but I can't see why it shouldn't work in principle.
9
10Implementation wise, what differs from Togl 1.5 is that Togl_MakeWindowExist()
11is replaced by Togl_CreateWindow(), a function that gets registered in Tk as a callback for window creation. In Tk/Tk 8.4a3, there is a new public API call
12Tk_SetClassProcs() to register this callback, but for earlier versions of Tk
13one needs to do this using some pointer magic.
14There is a run-time check to determine which method to use, hence the
15same binary runs on all versions of Wish from 8.1 and up. For this to
16work you need to compile against the headers from Tcl/Tk 8.4a3 or later, or
17the binary will only work for Tcl/Tk 8.1-8.4a2.
18The tk8.4a3 public headers (tk8.4a3.h + tkDecls.h) are included for
19conveniance, and they are used if the flag -DUSE_LOCAL_TK_H is specified.
20
21Jonas Beskow, December 2001