| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Fixes #418173 and #219960. 2.2.1 candidate.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Tkinter classes.
Adjust a lot of docstrings.
Convert a few type checks to use isinstance() instead of type().
This is part of SF patch #485959.
|
| |
|
|
| |
Untabified.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using grid methods on ScrolledText widgets does not
work as expected. It either fails to pack a widget, or
can even cause Tk to lock up.
The problem is that the .grid method is being called on
the text widget, not the frame widget. This can lead
to the well-known lockup in Tk when a frame's children
are managed by both the pack and grid managers. Even
if it doesn't lock up, the frame is never placed within
the intended widget.
Program fragment:
>>> import ScrolledText
>>> s = ScrolledText.ScrolledText()
>>> s.grid(row=0, column=0, rowspan=2)
The following patch uses the same hack to copy the
'grid' and 'place' geometry manager methods to the
ScrolledText instance as is already used for the 'pack'
manager.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
initialized, this will be None, but the functions will still work (there will
simply be a bogus parent on the screen). Allowing the parent to be None
is useful when testing the functions from an interactive interpreter.
Add an optional keyword paramter "show" to the _QueryString class; when given
it is used to set the -show option to the entry widget. This allows passing
show="*" or the like to askstring(), making it useful for requesting
passwords/passphrases from the user.
This closes SF bug #438517.
Changed a docstring to be less font-lock-hostile.
|
| |
|
|
|
| |
Expose Tix.ResizeHandle.{detach_widget,hide,show}.
Update Tix demos.
|
| | |
|
| |
|
|
| |
Also delegate kw arguments through ** calls.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
al. if already set. Also adds TIX_LIBRARY (just in case).
(Note that this is entirely Windows specific.)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Fix up docstring for itemconfigure.
|
| |
|
|
| |
doesn't have it.) This is from SF bug #457487 by anonymous.
|
| |
|
|
| |
or you will break something:-)
|
| |
|
|
| |
SchedParams() method, and there's no need to call it anyway.
|
| |
|
|
|
| |
confident that the old code was utterly broken -- the worse that can
happen is that the new code is still broken.)
|
| |
|
|
| |
string.join() on each invocation of _bind.
|
| |
|
|
|
|
|
|
|
| |
Python's logolike module turtle.py did not display
the turtle except when actually drawing lines.
This patch changes the turtle.py module so that
it displays the turtle at all times when tracing is
on. This is similar to the the way that logo works.
When tracing is off the turtle will not be displayed.
|
| |
|
|
|
|
| |
wrongly. Fixed this.
This closes SF bug #412682.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
than a pixel don't get drawn at all. If you're building long curves
made of such lines, this is a bad thing.
|
| |
|
|
|
| |
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
|
| |
|
|
| |
Changed the landmark to tclIndex, which should occur in both.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=110677
Canvas.CanvasItem & Canvas.Group:
- bind lacks an optional "add" param
- unbind lacks an optional "funcid" param
- tkraise/lower should call self.canvas.tag_XXXX
(markus.oberhumer@jk.uni-linz.ac.at)
Note: I'm *not* fixing "bbox() return value is inconsistent with
Canvas.bbox()" -- it might break existing code.
|
| |
|
|
| |
Subclass Error from Exception.
|
| |
|
|
|
| |
from Tk.readprofile(), do not print anything extra to stdout, just run
the code.
|
| | |
|
| |
|
|
| |
to zero if that's the case (closes bug #113727)
|
| |
|
|
| |
place bordermode, etc)
|
| |
|
|
| |
supports a single visual (closes bug #110603)
|
| |
|
|
| |
was added in Tk 8.3 (this fixes the first part of Bug #110605)
|
| |
|
|
|
| |
code, to make the new Tkinter.py run under 1.5.2
-- changed Text.yview argument name (for consistency with xview)
|
| |
|
|
| |
to the Text method (closes Bug #110605)
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
|
| |
|
|
| |
Also fix spelling tupel -> tuple.
|
| |
|
|
| |
has reviewed this, too.
|
| |
|
|
|
|
|
|
|
|
| |
this patch adds a fast _flatten function to the _tkinter
module, and imports it from Tkinter.py (if available).
this speeds up canvas operations like create_line and
create_polygon. for example, a create_line with 5000
vertices runs about 50 times faster with this patch in
place.
|
| | |
|
| |
|
|
| |
installs Tcl/Tk.
|