From fredrik at pythonware.com Sun Dec 11 10:23:21 2005 From: fredrik at pythonware.com (Fredrik Lundh) Date: Sun, 11 Dec 2005 10:23:21 +0100 Subject: [Tkinter-discuss] ANN: WCK for Tkinter 1.1 final (december 11, 2005) Message-ID: The Widget Construction Kit (WCK) is an extension API that allows you to implement custom widgets in pure Python. The WCK can be (and is being) used for everything from light-weight display widgets to full-blown editor frameworks. The Tkinter3000 implementation of the WCK supports all recent versions of Python and Tk/Tkinter. Compared to 1.0, the 1.1 release adds improved controller support, resource caching for pens, brushes, and fonts, and support for creating image objects from data in strings. Introduction: http://www.effbot.org/zone/wck-1.htm Downloads: http://www.effbot.org/downloads#tkinter3000 Documentation: http://www.effbot.org/zone/wck.htm http://www.effbot.org/zone/pythondoc-api.htm Using WCK and AggDraw to draw anti-aliased graphics: http://www.effbot.org/zone/wck-aggview.htm enjoy /F From gerardo at computo-industrial.com.mx Thu Dec 15 03:53:32 2005 From: gerardo at computo-industrial.com.mx (Gerardo Juarez) Date: Wed, 14 Dec 2005 21:53:32 -0500 (EST) Subject: [Tkinter-discuss] Is it possible to flatten a Canvas and an Image? Message-ID: <1043.201.141.31.140.1134615212.squirrel@mail.computo-industrial.com.m x> Hi, I'm new to the list and just writing my second application in python/Tkinter. I have skimmed over the digests of the list but have not found this subject discussed. I have a Canvas and a PhotoImage displayed in it. The application draws a number of lines and other vector-features over the image, which works fine. Now, if I save the image, it is exactly that which is saved: the image. What about the vectors? Is there a way to 'flatten' the two layers that are there? If not, how would you suggest I could save the vectors over the image as a single image - short of retracing them with my own line-drawing routine on the image? Thanks, Gerardo From klappnase at web.de Sun Dec 18 19:30:07 2005 From: klappnase at web.de (Michael Lange) Date: Sun, 18 Dec 2005 19:30:07 +0100 Subject: [Tkinter-discuss] Is it possible to flatten a Canvas and an Image? In-Reply-To: <1043.201.141.31.140.1134615212.squirrel@mail.computo-industrial.com.mx> References: <1043.201.141.31.140.1134615212.squirrel@mail.computo-industrial.com.mx> Message-ID: <20051218193007.7eef606f.klappnase@web.de> On Wed, 14 Dec 2005 21:53:32 -0500 (EST) "Gerardo Juarez" wrote: Hi Gerardo, > > Hi, I'm new to the list and just writing my second application in > python/Tkinter. I have skimmed over the digests of the list but have not > found this subject discussed. > > I have a Canvas and a PhotoImage displayed in it. The application draws a > number of lines and other vector-features over the image, which works > fine. Now, if I save the image, it is exactly that which is saved: the > image. What about the vectors? Is there a way to 'flatten' the two layers > that are there? > If not, how would you suggest I could save the vectors over the image as a > single image - short of retracing them with my own line-drawing routine on > the image? > I never tried it, but I believe the canvases postscript() method should do what you want, you would just have to convert its output file back into a gif or something. Regards Michael From m_tayseer82 at yahoo.com Mon Dec 26 13:36:59 2005 From: m_tayseer82 at yahoo.com (Mohammad Tayseer) Date: Mon, 26 Dec 2005 04:36:59 -0800 (PST) Subject: [Tkinter-discuss] Tix and Pmw comparison Message-ID: <20051226123659.2382.qmail@web31104.mail.mud.yahoo.com> Dear friends is there a comparison between Tix and Pmw? i couldn't find a comparison between these libraries. is there a comparison between them and bwidgets too? thanks in advance --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20051226/3a37d00b/attachment.html From klappnase at freenet.de Wed Dec 28 01:00:53 2005 From: klappnase at freenet.de (Michael Lange) Date: Wed, 28 Dec 2005 01:00:53 +0100 Subject: [Tkinter-discuss] Tix and Pmw comparison In-Reply-To: <20051226123659.2382.qmail@web31104.mail.mud.yahoo.com> References: <20051226123659.2382.qmail@web31104.mail.mud.yahoo.com> Message-ID: <20051228010053.051a4cc5.klappnase@freenet.de> On Mon, 26 Dec 2005 04:36:59 -0800 (PST) Mohammad Tayseer wrote: > Dear friends > is there a comparison between Tix and Pmw? i couldn't find a comparison between these libraries. is there a comparison between them and bwidgets too? > > thanks in advance Hi Mohammad, a brief comparison from my own experience: Tix: pros: - very handy interface - has some nice widgets that Pmw misses, like progress bar and tree widget - looks nicer than Pmw (if that matters) - may perform better than Pmw (if that matters) cons: - no Python documentation, only unix man pages - some linux distributions used to ship broken Tix versions, so if your programs are supposed to run on any platform stability might be an issue Pmw: - the interface looked a little alien to me at a first glance, however: - very flexible, you can easily set up your own megawidgets - excellent documentation - excellent backwards compatibility and compatibility with any versions of Python and Tk - unbeatable stability pybwidget: - as far as I know it's very stable on the tcl side, however the python module is not much tested, so it might contain bugs - no python docs, only unix man pages So my (very personal) conclusion: If you need to focus on reliability (and want good docs) stick with Pmw, if you need some widget that is missing from Pmw, try to pick it from bwidget. If look and feel (and maybe performance) is an issue (or of course if the others don't have the widget you need) try Tix. If you want to pick the best widgets you can get, it should be no problem to use all three at a time, and use the widget from the library that you like the most ( for example the Pmw.EntryField is hard to beat, but you may also want to use the Tix.DirTree and the bwidget.ListBox). I hope this helps Michael From Cameron at Phaseit.net Wed Dec 28 22:40:24 2005 From: Cameron at Phaseit.net (Cameron Laird) Date: Wed, 28 Dec 2005 21:40:24 +0000 Subject: [Tkinter-discuss] Tix and Pmw comparison In-Reply-To: <20051228010053.051a4cc5.klappnase@freenet.de> References: <20051226123659.2382.qmail@web31104.mail.mud.yahoo.com> <20051228010053.051a4cc5.klappnase@freenet.de> Message-ID: <20051228214024.GA4035@lairds.us> On Wed, Dec 28, 2005 at 01:00:53AM +0100, Michael Lange wrote: . . . > a brief comparison from my own experience: > > Tix: > pros: . . . Who volunteers to transcribe this into the Wiki? From m_tayseer82 at yahoo.com Thu Dec 29 08:15:10 2005 From: m_tayseer82 at yahoo.com (Mohammad Tayseer) Date: Wed, 28 Dec 2005 23:15:10 -0800 (PST) Subject: [Tkinter-discuss] Tix and Pmw comparison In-Reply-To: <20051228214024.GA4035@lairds.us> Message-ID: <20051229071510.91597.qmail@web31110.mail.mud.yahoo.com> > Who volunteers to transcribe this into the Wiki? well, i asked the question, so i have to do this --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20051228/a034c29a/attachment.htm