From fredrik at pythonware.com Sat Oct 1 16:13:51 2005 From: fredrik at pythonware.com (Fredrik Lundh) Date: Sat, 1 Oct 2005 16:13:51 +0200 Subject: [Tkinter-discuss] winfo_width problem References: Message-ID: evgeny fadeev wrote: > i am trying to use winfo_width to determine widget's size > and it always returns me 1 regardless of wheter widget is > packed/gridded or not. > > in native Tcl/Tk > winfo width .widget > works fine, i.e. returns actual width in pixels > > direct tk call from python tk.call('winfo','width',widget._w) still returns > 1 the actual width and height is set by an idle task when the widget is prepared for drawing. idle tasks are executed by the event loop, so you will usually have to call "update_idletasks" or "update" before querying the size (event handlers are one exception to that rule). reqwidth/reqheight is often a good alternative (see Gustavo's reply). > i guess it points to some bug in tkinter ...... what do you think? it's the way things work under Tkinter. if you want Tkinter to process events, you have to give it a chance to do that. From jepler at unpythonic.net Sun Oct 2 21:11:11 2005 From: jepler at unpythonic.net (jepler@unpythonic.net) Date: Sun, 2 Oct 2005 14:11:11 -0500 Subject: [Tkinter-discuss] tkinter wiki is down Message-ID: <20051002191111.GB14742@unpythonic.net> The tkinter wiki is down at the moment. I attempted to migrate it to moinmoin 1.3.5 without understanding the consequences. I hope to have it fixed soon, probably by downgrading the moinmoin version. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20051002/52af08ba/attachment.pgp From olivier.feys at gmail.com Wed Oct 5 16:15:52 2005 From: olivier.feys at gmail.com (Olivier Feys) Date: Wed, 5 Oct 2005 16:15:52 +0200 Subject: [Tkinter-discuss] Python Tk Bwidget Tree problem with drag and drop Message-ID: Hello, I'm working at a Tk Python gui with a Bwidget tree. Here is the code for the creation of the tree : self.tree = bw.Tree(self, bg='lightblue3', opencmd=self.open_folder, closecmd=self.close_folder, selectbackground='indianred3', selectforeground='white', deltax=10, deltay=23, dropenabled=1, dragenabled=1, dropovermode='n', crossfill='red4', dropcmd=self.drop, dragendcmd=self.drag, *args, **kw) the problem is that when i use the dropcmd, self.drop is called with the target node as argument with other stuff, but nothing is passed about the source node. And when I use the dragendcmd, source and target "pathnames" are passed, but I can't do anything with it. When I print these pathnames I get : .11072656.11073776 Can anyone help me out ? Thanks Olivier -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20051005/f59830e4/attachment.html From stewart.midwinter at gmail.com Wed Oct 5 16:26:04 2005 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Wed, 5 Oct 2005 08:26:04 -0600 Subject: [Tkinter-discuss] Fwd: Python Tk Bwidget Tree problem with drag and drop In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Stewart Midwinter Date: Oct 5, 2005 8:25 AM Subject: Re: [Tkinter-discuss] Python Tk Bwidget Tree problem with drag and drop To: Olivier Feys Olivier, I haven't used that widget, so this may be of little help, but it looks like you are referering an object name rather than one of its attributes. On 10/5/05, Olivier Feys wrote: > > the problem is that when i use the dropcmd, self.drop is called with the > target node as argument with other stuff, but nothing is passed about the > source node. And when I use the dragendcmd, source and target "pathnames" > are passed, but I can't do anything with it. When I print these pathnames I > get : > > .11072656.11073776 > S -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20051005/164d4920/attachment.htm From jepler at unpythonic.net Wed Oct 5 19:37:26 2005 From: jepler at unpythonic.net (jepler@unpythonic.net) Date: Wed, 5 Oct 2005 12:37:26 -0500 Subject: [Tkinter-discuss] Python Tk Bwidget Tree problem with drag and drop In-Reply-To: References: Message-ID: <20051005173726.GE13147@unpythonic.net> I haven't used bwidget drag and drop myself. You can get the widget object for a string path by using bwidget.nametowidget but I had trouble with this since often the name of an internal widget, such as (in my case) '.1077785676.c', is returned. Perhaps by chopping off parts until a recognized widget is found will work. Here's a small program I just wrote which demonstrates drag&drop between two ListBox (not Tree) widgets. from Tkinter import * from bwidget import * import bwidget def nametowidget(name): while name: try: return bwidget.nametowidget(app, name) except KeyError: i = name.rindex('.') name = name[:i] def draginit(a, b, c): return ('LISTBOX_ITEM', 'move', b) def do_drop(src, dest, where, op, kind, data): src = nametowidget(src) dest = nametowidget(dest) src.insert(END, text=dest.itemcget(data, "text")) def do_drag(src, dest, op, kind, data, result): if result: src = nametowidget(src) src.delete(data) common_args = {'dropcmd': do_drop, 'dragendcmd': do_drag, 'dragenabled': 1, 'dropenabled': 1, 'dropovermode': 'w'} app = Tk() t = ListBox(app, **common_args) t.pack(side=LEFT) for text in "abcde": t.insert(END, text=text*3) u = ListBox(app, **common_args) u.pack(side=LEFT) for text in "12345": u.insert(END, text=text*3) app.mainloop() Jeff -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20051005/98b7abc8/attachment.pgp From klappnase at web.de Mon Oct 10 22:07:34 2005 From: klappnase at web.de (Michael Lange) Date: Mon, 10 Oct 2005 22:07:34 +0200 Subject: [Tkinter-discuss] pybwidget dialog bug Message-ID: <20051010220734.684453e7.klappnase@web.de> Hello all, I found a bug in some of pybwidget's dialog classes. The affected classes are MessageDialog, PasswordDialog, SelectFont and SelectColor; it seems like there is no way to get the result the dialog box returns. The problem is the call to Tkinter.Widget.__init__() , which itself calls Tkinter.BaseWidget.__init__(), where the result of self.tk.call() gets lost. I tried to avoid this by creating a separate constructor class for these dialogs where self.tk.call() is called by a separate show() method, which allows to catch the return value (see the code below). It's probably not perfect, but as far as I have tried, it seems to work. However, the resulting syntax looked a little weird to me, so I added shortcut functions that turn e.g dialog = SelectFont(master) newfont = dialog.show() resp.: newfont = SelectFont(master).show() into newfont = selectfont(master) . BTW, the SelectColorMenu() function doesn't seem to work either, however if I haven't missed something, it is the same as SelectColor(master, type='popup'), so I'm not sure if it is necessary at all. Regards Michael ################################################################################################ class _QuestionDialog(ButtonBox, _Frame): '''Internal class for use in dialog boxes that should return the result of the corresponding tk command. This is mostly copied from Tkinter.BaseWidget.__init__(), but the tk command is only called if explicitely requested by calling self.show().''' def __init__(self, master, widgetName, cnf={}, **kw): self.widgetName = widgetName self.master = master if kw: self._cnf = Tkinter._cnfmerge((cnf, kw)) else: self._cnf = cnf Tkinter.BaseWidget._setup(self, master, self._cnf) classes = [] for k in self._cnf.keys(): if type(k) is Tkinter.ClassType: classes.append((k, self._cnf[k])) del self._cnf[k] def show(self): result = self.tk.call((self.widgetName, self._w) + self._options(self._cnf)) return result class MessageDialog(_QuestionDialog): def __init__(self, master, cnf={}, **kw): self._require(master) _QuestionDialog.__init__(self, master, "MessageDlg", cnf, **kw) def messagedialog(master, cnf={}, **kw): return MessageDialog(master, cnf, **kw).show() class PasswordDialog(_QuestionDialog): def __init__(self, master, cnf={}, **kw): self._require(master) _QuestionDialog.__init__(self, master, "PasswdDlg", cnf, **kw) def passworddialog(master, cnf={}, **kw): return PasswordDialog(master, cnf, **kw).show() class SelectFont(_QuestionDialog): def __init__(self, master, cnf={}, **kw): _QuestionDialog.__init__(self, master, "SelectFont", cnf, **kw) if kw.has_key('type') and kw['type'] == 'toolbar': # create the toolbar widget self.show() def loadfont(self): return self.tk.call("SelectFont::loadfont") def selectfont(master, cnf={}, **kw): kw['type'] = 'dialog' return SelectFont(master, cnf, **kw).show() class SelectColor(_QuestionDialog): def __init__(self, master, cnf={}, **kw): _QuestionDialog.__init__(self, master, "SelectColor", cnf, **kw) def setcolor(self, index, color): self.tk.call("SelectColor::setcolor", index, color) def selectcolor(master, cnf={}, **kw): return SelectColor(master, cnf, **kw).show() ######################################################################################### From olivier.feys at gmail.com Sat Oct 15 16:36:50 2005 From: olivier.feys at gmail.com (Olivier Feys) Date: Sat, 15 Oct 2005 16:36:50 +0200 Subject: [Tkinter-discuss] Python Tk Bwidget Tree problem with drag and drop In-Reply-To: <20051005173726.GE13147@unpythonic.net> References: <20051005173726.GE13147@unpythonic.net> Message-ID: Thanks a lot Jeff, i think this is really going to help me. On 05/10/05, jepler at unpythonic.net wrote: > > I haven't used bwidget drag and drop myself. > > You can get the widget object for a string path by using > bwidget.nametowidget > but I had trouble with this since often the name of an internal widget, > such as > (in my case) '.1077785676.c', is returned. Perhaps by chopping off parts > until > a recognized widget is found will work. > > Here's a small program I just wrote which demonstrates drag&drop between > two > ListBox (not Tree) widgets. > > from Tkinter import * > from bwidget import * > import bwidget > > def nametowidget(name): > while name: > try: > return bwidget.nametowidget(app, name) > except KeyError: > i = name.rindex('.') > name = name[:i] > > def draginit(a, b, c): return ('LISTBOX_ITEM', 'move', b) > > def do_drop(src, dest, where, op, kind, data): > src = nametowidget(src) > dest = nametowidget(dest) > src.insert(END, text=dest.itemcget(data, "text")) > > def do_drag(src, dest, op, kind, data, result): > if result: > src = nametowidget(src) > src.delete(data) > > common_args = {'dropcmd': do_drop, 'dragendcmd': do_drag, 'dragenabled': > 1, > 'dropenabled': 1, 'dropovermode': 'w'} > > app = Tk() > > t = ListBox(app, **common_args) > t.pack(side=LEFT) > for text in "abcde": > t.insert(END, text=text*3) > > u = ListBox(app, **common_args) > u.pack(side=LEFT) > for text in "12345": > u.insert(END, text=text*3) > > app.mainloop() > > > Jeff > > > -- Olivier Feys Ringlaan 20 B-3080 Tervuren - BELGIUM mailto:olivier.feys at gmail.com Mobile phone : +32486/41.65.81 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20051015/31cdc21e/attachment.htm From fredrik at pythonware.com Sun Oct 16 22:58:32 2005 From: fredrik at pythonware.com (Fredrik Lundh) Date: Sun, 16 Oct 2005 22:58:32 +0200 Subject: [Tkinter-discuss] ANN: WCK for Tkinter 1.1 beta 1 (october 15, 2005) Message-ID: (new, improved, and with the correct date in the subject line!) 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. The 1.1 beta 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 m_tayseer82 at yahoo.com Fri Oct 21 22:08:34 2005 From: m_tayseer82 at yahoo.com (Mohammad Tayseer) Date: Fri, 21 Oct 2005 13:08:34 -0700 (PDT) Subject: [Tkinter-discuss] GUI designer for Tkinter Message-ID: <20051021200835.79847.qmail@web31112.mail.mud.yahoo.com> dear friends does anyone know about a *free* gui designer for Tkinter? I found SpecTix, but its support for Python is not stable. thanks in advance __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From stewart.midwinter at gmail.com Fri Oct 21 23:23:49 2005 From: stewart.midwinter at gmail.com (Stewart Midwinter) Date: Fri, 21 Oct 2005 15:23:49 -0600 Subject: [Tkinter-discuss] GUI designer for Tkinter In-Reply-To: References: <20051021200835.79847.qmail@web31112.mail.mud.yahoo.com> Message-ID: ---------- Forwarded message ---------- From: Stewart Midwinter Date: Oct 21, 2005 3:23 PM Subject: Re: [Tkinter-discuss] GUI designer for Tkinter To: Mohammad Tayseer Mohammad, have you tried Notepad? It's free! :-) Most of us that work with Tkinter do actually use a text editor for our GUI interface design. But when you are just starting out it might be nice to use a graphical designer. I don't know of any that are permanently free, but here's an idea. ActiveState's Komodo Pro editor does include a Tkinter designer, and you can try the product free for 30 days. That might be long enough to get you past the steep part of the learning curve. And you might find that Komodo is a good enough editor to be worth the $$. I sure enjoy using it myself. cheers s On 10/21/05, Mohammad Tayseer wrote: > does anyone know about a *free* gui designer for > Tkinter? -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 -- Stewart Midwinter stewart at midwinter.ca stewart.midwinter at gmail.com Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 From m_tayseer82 at yahoo.com Sat Oct 22 14:03:08 2005 From: m_tayseer82 at yahoo.com (Mohammad Tayseer) Date: Sat, 22 Oct 2005 05:03:08 -0700 (PDT) Subject: [Tkinter-discuss] GUI designer for Tkinter In-Reply-To: <43599363.8000800@cogeco.ca> Message-ID: <20051022120308.30108.qmail@web31104.mail.mud.yahoo.com> Hi Cam i will be glad to help you writing it. i tried to make one before, but it didn't find time to complete it. maybe i needed another one to work with :) __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com From fredrik at pythonware.com Sat Oct 22 16:04:00 2005 From: fredrik at pythonware.com (Fredrik Lundh) Date: Sat, 22 Oct 2005 16:04:00 +0200 Subject: [Tkinter-discuss] WCK for Tkinter 1.1 beta 1 (october 15, 2005) References: Message-ID: > Using WCK and AggDraw to draw anti-aliased graphics: > http://www.effbot.org/zone/wck-aggview.htm I just released a new aggdraw alpha that makes drawing antialiased graphics a bit more efficient on Windows. see http://online.effbot.org/2005_10_01_archive.htm#20051022 for more details. From m_tayseer82 at yahoo.com Mon Oct 24 10:24:51 2005 From: m_tayseer82 at yahoo.com (Mohammad Tayseer) Date: Mon, 24 Oct 2005 01:24:51 -0700 (PDT) Subject: [Tkinter-discuss] GUI designer for Tkinter In-Reply-To: <435C3130.9090600@cogeco.ca> Message-ID: <20051024082451.60370.qmail@web31102.mail.mud.yahoo.com> Hi Cam i'm using python on windows. i can help develop and test it on windows. thanks __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From tapadamocho at yahoo.com Wed Oct 26 21:15:15 2005 From: tapadamocho at yahoo.com (Alex Luso) Date: Wed, 26 Oct 2005 12:15:15 -0700 (PDT) Subject: [Tkinter-discuss] Tkinter fails - tcl/tk installation in Python fails Message-ID: <20051026191516.78577.qmail@web52504.mail.yahoo.com> Hi, I am having a hard time with Tkinter module of Python (v.2.4.2). I followed the advice from a Python help site ("Step 1 - can _tkinter be imported? Try import _tkinter from a Python prompt) and indeed I cannot. So it turns out that my installation of Python (the default built into FC4) did not install Tcl/Tk module correctly. I have tried to do it manually, using the latest Python (v.2.4.2) and the latest downloads of Tcl/Tk (v.8.4), but no matter what I do I can't succeed. If I let the Python installation do the automatic detection of Modules, it fails to install tcl . If I edit the /Modules/Setup file, it still fails. This time is says that: ---------- ./python: error while loading shared libraries: libtk8.4.so: cannot open shared object file: No such file or directory make: *** [sharedmods] Error 127 ---------- These is where everything is installed: $ whereis tcl tcl: /usr/local/lib/tcl8.4 /usr/share/tcl8.4 $ whereis tk tk: /usr/local/lib/tk8.4 $ ls /usr/local/include tclDecls.h tcl.h tclPlatDecls.h tkDecls.h tk.h tkPlatDecls.h And this is a snippet of /Modules/Setup: -------------------------- # The _tkinter module. # # *** Always uncomment this (leave the leading #underscore in!): _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ # *** Uncomment and edit to reflect where your Tcl/Tk # libraries are: -L/usr/local/lib \ # *** Uncomment and edit to reflect where your Tcl/Tk # headers are: -I/usr/local/include \ # *** Uncomment and edit to reflect where your X11 # header files are: -I/usr/X11R6/include \ # *** Or uncomment this for Solaris: # -I/usr/openwin/include \ # *** Uncomment and edit for Tix extension only: # -DWITH_TIX -ltix8.1.8.2 \ # *** Uncomment and edit for BLT extension only: # -DWITH_BLT #-I/usr/local/blt/blt8.0-unoff/include -lBLT8.0 \ # *** Uncomment and edit for PIL (TkImaging) extension #only: # (See http://www.pythonware.com/products/pil/ for #more info) # -DWITH_PIL -I../Extensions/Imaging/libImaging #tkImaging.c \ # *** Uncomment and edit for TOGL extension only: # -DWITH_TOGL togl.c \ # *** Uncomment and edit to reflect your Tcl/Tk #versions: -ltk8.4 -ltcl8.4 \ # *** Uncomment and edit to reflect where your X11 #libraries are: -L/usr/X11R6/lib \ # *** Or uncomment this for Solaris: # -L/usr/openwin/lib \ # *** Uncomment these for TOGL extension only: # -lGL -lGLU -lXext -lXmu \ # *** Uncomment for AIX: # -lld \ # *** Always uncomment this; X11 libraries to link #with: -lX11 ------------------ What on earth am I doing wrong? And why doesn't the default installation of Python that comes with FC4 come with Tcl/Tk installed, as advertised? I am running linux on a new Fedora (FC4) installation. Thanks for any help, -ALex __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com From jepler at unpythonic.net Wed Oct 26 21:22:24 2005 From: jepler at unpythonic.net (jepler@unpythonic.net) Date: Wed, 26 Oct 2005 14:22:24 -0500 Subject: [Tkinter-discuss] Tkinter fails - tcl/tk installation in Python fails In-Reply-To: <20051026191516.78577.qmail@web52504.mail.yahoo.com> References: <20051026191516.78577.qmail@web52504.mail.yahoo.com> Message-ID: <20051026192224.GB17915@unpythonic.net> On Wed, Oct 26, 2005 at 12:15:15PM -0700, Alex Luso wrote: > fails. This time is says that: > ---------- > ./python: error while loading shared libraries: > libtk8.4.so: cannot open shared object file: No such > file or directory > make: *** [sharedmods] Error 127 This is because /usr/local/lib isn't in the dynamic linker's path. One easy way to put it there is putting 'LD_LIBRARY_PATH=/usr/local/lib' in your environment. > What on earth am I doing wrong? And why doesn't the > default installation of Python that comes with FC4 > come with Tcl/Tk installed, as advertised? tkinter is packaged as part of fedora but seems not to be installed by default. "yum install tkinter" should do the trick. Jeff -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20051026/dfb8bb8c/attachment.pgp From tapadamocho at yahoo.com Thu Oct 27 04:10:31 2005 From: tapadamocho at yahoo.com (Alex Luso) Date: Wed, 26 Oct 2005 19:10:31 -0700 (PDT) Subject: [Tkinter-discuss] Tkinter fails - tcl/tk installation in Python fails In-Reply-To: <20051026192224.GB17915@unpythonic.net> Message-ID: <20051027021031.77239.qmail@web52504.mail.yahoo.com> Thank you. That worked. -Alex --- jepler at unpythonic.net wrote: > On Wed, Oct 26, 2005 at 12:15:15PM -0700, Alex Luso > wrote: > > fails. This time is says that: > > ---------- > > ./python: error while loading shared libraries: > > libtk8.4.so: cannot open shared object file: No > such > > file or directory > > make: *** [sharedmods] Error 127 > > This is because /usr/local/lib isn't in the dynamic > linker's path. One easy > way to put it there is putting > 'LD_LIBRARY_PATH=/usr/local/lib' in your > environment. > > > What on earth am I doing wrong? And why doesn't > the > > default installation of Python that comes with FC4 > > come with Tcl/Tk installed, as advertised? > > tkinter is packaged as part of fedora but seems not > to be installed by default. > "yum install tkinter" should do the trick. > > Jeff > __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs From george_geller at speakeasy.net Mon Oct 31 06:08:04 2005 From: george_geller at speakeasy.net (George Geller) Date: Sun, 30 Oct 2005 21:08:04 -0800 Subject: [Tkinter-discuss] Linux, TrueType fonts, antialias Message-ID: <1130735284.4276.1.camel@hayes> I Tkinter on Linux supposed to use antialiasing when rendering TrueType fonts at larger sizes? I'm using Gnome with Ubuntu. Thanks -- George Geller From jepler at unpythonic.net Mon Oct 31 12:41:01 2005 From: jepler at unpythonic.net (jepler@unpythonic.net) Date: Mon, 31 Oct 2005 05:41:01 -0600 Subject: [Tkinter-discuss] Linux, TrueType fonts, antialias In-Reply-To: <1130735284.4276.1.camel@hayes> References: <1130735284.4276.1.camel@hayes> Message-ID: <20051031114101.GA11789@unpythonic.net> short answer: no. Tk uses "core" X font rendering, which is not antialiased. longer answer: the CVS version of Tk, which will become tk8.5, has support for antialiased fonts on X. However, the CVS versions of Tcl and Tk were a bit too experimental for general use the last time I looked at them. (in fact, a new multiple-precision math library had just been added to tcl, and I couldn't even get it to build---that was sometime this past summer) Jeff -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.python.org/pipermail/tkinter-discuss/attachments/20051031/f979576a/attachment.pgp From rijoth at gmx.de Mon Oct 31 14:06:22 2005 From: rijoth at gmx.de (=?ISO-8859-15?Q?Joachim_Th=F6ne?=) Date: Mon, 31 Oct 2005 14:06:22 +0100 Subject: [Tkinter-discuss] Linux, TrueType fonts, antialias Message-ID: <436616CE.9080906@gmx.de> it's possible to use True Fonts in Tkinter by placing a PIL image on a Tkinter canvas. Another option is using Frederik Lundh's WCK Toolkit, which works very well for me. Joachim