Guido van Rossum
97867b2ce2
Add optional casts to free() calls. (Jack)
Set Tk variable argv0 to classname passed in to Tkapp_New. (Fred)
30 years ago
Guido van Rossum
32aa1a72b2
getprogramname --> Py_GetProgramName
30 years ago
Guido van Rossum
845547d54b
Added CWI copyright.
Updated some comments.
Fixed bug in Merge() called with NULL args.
Get rid of TkDefaultAppName() -- it is not used anywhere.
Pass error message on when Appinit fails.
Create/Delete FileHandler assume fd is a socket on Windows.
30 years ago
Guido van Rossum
6878436366
Patch from the net for 4.1 file handler changes.
30 years ago
Guido van Rossum
54ac1891fb
Add __sinit() call according to Jack.
30 years ago
Guido van Rossum
ec22c92e36
Changes needed to build with Tcl/Tk beta 2!
31 years ago
Guido van Rossum
dfd428dd7e
Changes to make it work with Tcl/Tk beta 1.
31 years ago
Guido van Rossum
ad1f7eeb32
get rid of bogus name for init_tkinter()
31 years ago
Jack Jansen
40b546d40e
Initialize GUSI on the mac.
31 years ago
Jack Jansen
34cc5c31e8
Fix to load needed resources on a mac
31 years ago
Jack Jansen
ba0311ecff
Renamed module tkinter to _tkinter, moved source to _tkinter.c
31 years ago
Guido van Rossum
64b24fb062
clear quitMainLoop when we fall through the main loop
31 years ago
Guido van Rossum
9722ad8883
Mac changes
31 years ago
Guido van Rossum
e42fc2fd37
use getnewargs where it makes sense
31 years ago
Guido van Rossum
b6fe7048e7
add casts to malloc() calls
32 years ago
Guido van Rossum
a3c3f2c5b0
use PyCallable_Check; export TK_VERSION and TCL_VERSION strings;
some Tk 4.0 specific changes
32 years ago
Guido van Rossum
cd938fc5a1
Made some more things static, and other cleanup for new naming scheme
32 years ago
Guido van Rossum
a597dde3f1
cosmetic changes so these modules will work with the strict new naming scheme
32 years ago
Guido van Rossum
062cfb0c4e
added interface to Tk_DoOneEvent (R Lindsay Todd)
32 years ago
Guido van Rossum
3bbc62e9c2
Another bulky set of minor changes.
Note addition of gethostbyaddr() and improved repr() for sockets,
renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
32 years ago
Guido van Rossum
f34cadda28
added timer and file callbacks and global mainloop and quit fns
32 years ago
Guido van Rossum
602099a756
* various modules: #include "Python.h" and remove most remporary
renaming hacks
32 years ago
Guido van Rossum
e4485b064d
Setup.in: added tkinter; rearranged the definition of PYTHONPATH so
that the module-specific components are in the section for that
module.
cursesmodule.c: patched it so it actually works.
tkintermodule.c: call Py_AtExit instead of atexit().
signalmodule.c: converted to new naming style; added
BGN/END SAVE around pause() call.
socketmodule.c: added setblocking() after Tommy Burnette.
32 years ago
Guido van Rossum
9bb4fd6061
* tkintermodule.c (*FileHandler): generalize to arbitrary file ids
and objects that hav a fileno() method; fix bug in FileHandler
(should call XDECREF instead of DECREF)
32 years ago
Guido van Rossum
e2ca9bd156
* tkintermodule.c: OK, I've fixed the "tty" problem. You're right
no need for the stdin handler, a Tk_DoOneEvent(TK_DONT_WAIT) did
the trick. I've included a diff to tkintermodule.c.
32 years ago
Guido van Rossum
d308e2ba3e
* tkintermodule.c
(PyInit_tkinter): Only create stdin file handler when stdin
is a tty.
(Tkinter_Cleanup): New function. This is an exit handler that
cleanup Tk.
32 years ago
Guido van Rossum
7687522309
* tkintermodule.c (Tkapp_New): Remove #ifdef WITH_APPINIT.
* tkintermodule.c (FileHandler): Make arg a tuple; bug found
by <tnb2d@cs.virginia.edu>. Call the Python file handler
function with (file, mask) argument. Fix a few of my refcnt bugs.
32 years ago
Guido van Rossum
1846882254
Initial revision
32 years ago