[Patches] [ python-Patches-986929 ] Add support for sync and use "wish" options

SourceForge.net noreply at sourceforge.net
Tue Aug 3 20:48:53 CEST 2004


Patches item #986929, was opened at 2004-07-08 01:09
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=986929&group_id=5470

Category: Tkinter
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Greg Couch (gregcouch)
Assigned to: Martin v. Löwis (loewis)
Summary: Add support for sync and use "wish" options

Initial Comment:
Tkinter/_tkinter is unable to set the sync and use
options in the default Toplevel widget created when
Tkinter.Tk is called.  Like the Tcl/Tk wish shell,
these options need be given in the argv tcl variable. 
This patch adds "sync" and "use" keyword arguments to
Tkinter.Tk.

The sync option says to "Execute all X server commands
synchronously, so that errors are reported immediately.
 This will result in much slower execution, but it is
useful for debugging."

The use option says to "Specifies that the main window
for the application is to be embedded in the window
whose identifier is id, instead of being created as an
independent toplevel window.  Id must be specified in
the same way as the value for the -use option for
toplevel widgets (i.e. it has a form like that returned
by the winfo id command)."

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

>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-03 20:48

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as

_tkinter.c 1.166
Tkinter.py 1.181
NEWS 1.1066

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

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


More information about the Patches mailing list