[Patches] [ python-Patches-409053 ] Add Tix.py to Lib/lib-tk

noreply@sourceforge.net noreply@sourceforge.net
Tue, 20 Mar 2001 14:39:52 -0800


Patches item #409053, was updated on 2001-03-15 22:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=409053&group_id=5470

Category: Tkinter
Group: None
Status: Open
>Priority: 4
Submitted By: Internet Discovery (idiscovery)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add Tix.py to Lib/lib-tk

Initial Comment:
At Python9, Guido asked me to contribute Tix into
the core. Attached is Tix.py, which should go into
Lib/lib-tk

It should work for any 2.x, but should have the
associated patches I just added apllied as well.



----------------------------------------------------------------------

Comment By: Internet Discovery (idiscovery)
Date: 2001-03-18 14:47

Message:
Logged In: YES 
user_id=33229

It's safe to add this anyway, even if we use static
packages, so go ahead with this change.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2001-03-18 03:20

Message:
Logged In: YES 
user_id=21627

Looks good, it has roughly the same contents that we use as
well.
To bring up dynamic loading again, we have

@@ -69,9 +98,6 @@
        self.widgetName = widgetName
        Widget._setup(self, master, cnf)
 
-       # Must load the definitions of all of the Tix
commands
-       self.tk.eval("package require Tix")
-
        # If widgetName is None, this is a dummy creation
call where the
        # corresponding Tk widget has already been created
by Tix
        if
widgetName:                                                          

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=409053&group_id=5470