Modernizing IDLE

2015-11-06 Thread Mark Roseman
Wanted to pass along a case study of some work being done to improve the look and feel of IDLE. This is a work-in-progress, gradually being integrated into the Python codebase. Given that, it's a great opportunity to get involved, provide some feedback, and make it even better! http://www.t

Re: Pythonic cross-platform GUI desingers � la Interface Builder (Re: what gui designer is everyone using)

2012-06-11 Thread Mark Roseman
Dietmar Schwertberger wrote: > But the fact that Tkinter is still the standard GUI toolkit tells a lot > about the situation... > ... > Sure, I know how to code GUIs. But the learning curve is too steep > for new users wanting to implement simple GUIs. As is obvious to everybody, the massive i

Re: converting from tcl/tkl to python

2012-03-09 Thread Mark Roseman
Hi Richard, I would strongly second the advice that Kevin provided: rewriting is a substantial step not to be taken lightly. If a mere facelift is desired, migrating to the more modern tools provided in recent versions of Tcl/Tk may well meet your needs at a fraction of the cost/effort. For ad

Re: Is it necessary to call Tk() when writing a GUI app with Tkinter?

2012-03-02 Thread Mark Roseman
Rick Johnson wrote: > Book authors and Doc authors are not always the most well informed; as > we have witnessed by this very thread! Obviously these tutorials are more > like: "What NOT to do when coding Tkinter GUIs!" No wonder everyone hates > Tkinter. :-) Indeed. One of the things that mo

Re: WxPython versus Tkinter.

2011-01-27 Thread Mark Roseman
Terry Reedy wrote: > > 1. The performance issues of having Tk use Tcl are negligible; the bulk > > of Tk (code-wise and time-wise) are spent in C. Tcl itself is also very > > fast nowadays, using all the usual techniques that modern dynamic > > languages use. > > I have the impression that tcl

Re: WxPython versus Tkinter.

2011-01-27 Thread Mark Roseman
Terry Reedy wrote: > Tk itself is purely a gui package -- abstract widgits, geometry placers > to make them visible, and an event system to make them active. But it > does have the baggage of needing tcl included. About a decade ago, some > people had the idea of removing the tcl dependency, b

Re: WxPython versus Tkinter.

2011-01-24 Thread Mark Roseman
"Littlefield, Tyler" wrote: > Rather, I believe > those pushing accessibility should concentrate on the root cause; that > of fixing TKInter, and not forcing everyone else to use a different library. Here, here. From my queries to some of the Tcl/Tk folks, it seems that while the knowledge a

Re: WxPython versus Tkinter.

2011-01-24 Thread Mark Roseman
"Octavian Rasnita" wrote: > But unfortunately it is not accessible for screen readers and it > discriminates many potential users. Octavian, thank you for very clearly making and repeating your point about screen readers. It is very obvious that at this point in time Tk (and hence Tkinter)

Re: Tkinter: The good, the bad, and the ugly!

2011-01-19 Thread Mark Roseman
Octavian, Thank you for clearly articulating your concern that Tk does not provide any support for screen readers. While I believe that people can have legitimate differences of opinion as to whether this merits its removal/replacement from stdlib, there is no question that this is a serious a

Re: Tkinter: The good, the bad, and the ugly!

2011-01-18 Thread Mark Roseman
If you guys spent 1/10th as much time articulating the problems you see with Tkinter (and being willing to listen when people offer solutions) as you do trying to convince everyone else you're right, you'd probably have ... well, anyway, no sense in being practical. -- http://mail.python.org/ma

Re: GUIs - A Modest Proposal

2010-06-11 Thread Mark Roseman
> So let me hear of ANY improvements and/or suggestions for Tkinter/IDLE > docs, code, or whatever. Why don't you modify the IDLE code to use the newer ttk widget set, rather than what its using now? You'd be surprised at how much difference you'll see. -- http://mail.python.org/mailman/listin

Re: GUIs - A Modest Proposal

2010-06-10 Thread Mark Roseman
rantingrick wrote: > As is evidenced by the lack of > development for Tkinter. But with Tkinter there is a larger problem, > TclTk! Even Tk is not a full featured GUI library Please, enough of this nonsense rant already! :-) Discounting completely and without evidence or reason the considerable

Re: GUIs - A Modest Proposal

2010-06-09 Thread Mark Roseman
"Martin v. Loewis" wrote: > > To quote from the first section of the tutorial at http://www.tkdocs.com > > Unfortunately, neither that tutorial nor your postings are really > specific on what those changes might be. So I'm skeptical that they > actually exist, or, if they exist, that Tkinter n

Re: GUIs - A Modest Proposal

2010-06-09 Thread Mark Roseman
"Martin v. Loewis" wrote: > For the record, Python *does* include newer versions of Tk all the time. Martin, just to reinforce the point... developers using Tkinter need to make some fairly minor changes to their application code to truly take advantage of the improvements in recent versions

Re: GUIs - A Modest Proposal

2010-06-09 Thread Mark Roseman
"bart.c" wrote: > "Grant Edwards" wrote in message > >> Since Tk already provides a basic GUI toolset, and Python can interface > >> with it more directly than it can with other toolkits > >>(PyGui -> PyGtk -> Gtk -> Xlib), > > > > Compare that to this: > > TkInter -> Tcl -> Tk -> Xlib > Is

Re: GUIs - A Modest Proposal

2010-06-09 Thread Mark Roseman
I'll venture to say that the path of least resistance (which includes little or modest development effort) would be for Python to retain Tkinter in the way it does now, but have Tkinter GUI's magically appear less horrid. Guess what? That's already happened. Newer versions of Tk (which Tkint

Re: Python and Tkinter Programming by John Grayson

2010-01-14 Thread Mark Roseman
Peter wrote: > Besides, the book is mainly about using Python with Tkinter - and > Tkinter hasn't changed that much since 2000, so I believe it is just > as relevant today as it was back then. I'd say that Tkinter has substantially changed - with the introduction of the 'ttk' themed widgets.

Re: An assessment of Tkinter and IDLE

2009-08-28 Thread Mark Roseman
r wrote: > On Aug 28, 11:12 am, Mark Roseman wrote: > > Would it be useful to link to this from the main Python Tkinter > > documentation? > > Thanks Mark, but i would hate to see more links to TCL code in the > python docs. Whats the use of Tkinter if the docs are in T

Re: An assessment of Tkinter and IDLE

2009-08-28 Thread Mark Roseman
With regard to Tkinter documentation, and in particular the newer, more modern aspects thereof (e.g. ttk, styles, etc.) please have a look at the tutorial at http://www.tkdocs.com Would it be useful to link to this from the main Python Tkinter documentation? Mark -- http://mail.python.org/mai

Re: need help using Tkinter

2009-07-28 Thread Mark Roseman
MRAB wrote: > Manzur Ahmed wrote: > > i wanted to ask you if one of you could help me to use Tkinter. i'm > > trying to just create a simple GUI for which I have provided the code > > for below. > There are some differences between Python 3.x and Python 2.x. In Python > 3.1 the module is called

Re: UI toolkits for Python

2005-10-18 Thread Mark Roseman
> You elided the paragraph where I pointed out the third alternative: > provide a better experience for the 95%, and an ok experience for the > 5%. WWW technologies are designed to degrade gracefully - it's easy to > take advantage of that. What I'm suggesting is taking the effort you'd put to the

Re: UI toolkits for Python

2005-10-18 Thread Mark Roseman
Mike Meyer <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Alex Martelli) writes: > > Maybe that's the key difference between the mindset of a > > mathematician and that of an engineer -- I consider reaching over > > 95% of visitors to be _quite good indeed_, >> What surprises me is that marketing

Re: UI toolkits for Python

2005-10-13 Thread Mark Roseman
Paul Rubin wrote: > However, Tkinter not most people's favorite, because the widgets look > crude, they don't resemble the native widgets of any popular platform, > and the widget set is somewhat limited. People should probably be more aware of work that has been going

Re: Wheel-reinvention with Python

2005-08-01 Thread Mark Roseman
Paul Rubin wrote: > Cliff Wells <[EMAIL PROTECTED]> writes: > > Still, that leaves Linux and Mac out in the cold. But I'll admit you > > met my challenge. Most likely you can actually do most of the things > > with Tk you can with Wx, it's simply a matter of how much e

Re: Wheel-reinvention with Python

2005-08-01 Thread Mark Roseman
> How can I embed a browser in Tk (I mean a real browser, like Mozilla, > Safari, or even Exploder)? At all? On any platform? This has always > been the tradeoff for Tk. Try this as one example: http://wiki.tcl.tk/4094 > Tk is great for learning, easy to write small, basic interfaces,

Re: Wheel-reinvention with Python

2005-08-01 Thread Mark Roseman
Ed Leafe <[EMAIL PROTECTED]> wrote: > On Sunday 31 July 2005 12:03, Paul Rubin wrote: >> > How on earth did you decide that, since tkinter actually runs out of > > the box when you install Python on most platforms, and wxPython doesn't? > > Because Tkinter looked like crap on OS X. Sorry, but it