From ggpolo at gmail.com Mon Dec 1 03:17:51 2008 From: ggpolo at gmail.com (Guilherme Polo) Date: Mon, 1 Dec 2008 00:17:51 -0200 Subject: [Tkinter-discuss] mtTkinter version 0.2 uploaded In-Reply-To: References: <49084CC0.FA48.005C.0@mdacorporation.com> <492E652D.FA48.005C.0@mdacorporation.com> <492E6E94.FA48.005C.0@mdacorporation.com> Message-ID: On Sat, Nov 29, 2008 at 2:54 PM, Guilherme Polo wrote: > On Thu, Nov 27, 2008 at 1:23 PM, Guilherme Polo wrote: >> On Thu, Nov 27, 2008 at 12:55 PM, Allen Taylor >> wrote: >>>>>> "Guilherme Polo" 2008-11-27 09:43 >>> >>>>ii) It doesn't use a busy loop in order to get the thread responsible >>>>for the interpreter, instead it will re-schedule the call as much as >>>>needed (tests needed for possible problems here) >>> By "re-schedule", do you mean to use a queuing techique, or do you plan on >>> indefinitely polling? >> >> On Tcl side a queue is always used, but on Python side you don't have >> these nice functions for enqueueing events for specific threads so I'm >> hoping that eventually (by using >> Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS or similar code) the >> thread I want will be used. >> > > I was able to work on it more than I expected and now you can find the > first version of it at http://code.google.com/p/plumage/ > > There are probably many problems with it as it is right now, and there > are no examples there either, and no documentation.. well, good luck > in trying to use it =) > I have done some tests here but I need to rearrange them before > commiting, but they will appear there tomorrow or even today. > Regarding the documentation, well, it is almost an excuse but didn't > have the time to document it yet :P > > I'm also planning to port the Tkinter python code to work with plumage. > > Finally, anyone attempting to compile will almost surely have to hand > edit the Makefile (and of course you need the python-dev package for > your distribution -- not even mentioning Windows here, but if you want > to adapt the Makefile and something more to compile under Windows.. -- > or a python compiled from source, you know). > It now has some short examples on how to use it as raw as it gets and I also ported Tkinter.py to work with it (IDLE is known to not work with it right now). > Have fun, -- -- Guilherme H. Polo Goncalves From levi at roxsoftware.com Mon Dec 1 02:26:49 2008 From: levi at roxsoftware.com (Levi Starrett) Date: Sun, 30 Nov 2008 20:26:49 -0500 Subject: [Tkinter-discuss] appearance troubles with Pmw NoteBook Message-ID: <577e2bc10811301726s5dcb342fi316e03bf2a19bacf@mail.gmail.com> hi. i'm having troubles with the appearance of my Pmw NoteBook. Specifically i am having trouble with the color of all the empty space and how to make my tabs larger. anyone have any suggestions? Thanks in advance. -Levi -------------- next part -------------- An HTML attachment was scrubbed... URL: From Cameron at phaseit.net Thu Dec 4 23:34:41 2008 From: Cameron at phaseit.net (Cameron Laird) Date: Thu, 4 Dec 2008 22:34:41 +0000 Subject: [Tkinter-discuss] changing the Entry 'show' option back to normal In-Reply-To: <577e2bc10811301250i4ac0b125wb852524ff616559b@mail.gmail.com> References: <577e2bc10811301250i4ac0b125wb852524ff616559b@mail.gmail.com> Message-ID: <20081204223441.GA3400@lairds.us> On Sun, Nov 30, 2008 at 03:50:00PM -0500, Levi Starrett wrote: . . . > i'm trying to create a password system with the pmw notebook. > i've succeeded in changing the entry show option to '*', but i can't figure > out how to change it back to normal. thanks in advance. . . . entry.config(show = '') From ggpolo at gmail.com Fri Dec 12 21:45:44 2008 From: ggpolo at gmail.com (Guilherme Polo) Date: Fri, 12 Dec 2008 18:45:44 -0200 Subject: [Tkinter-discuss] appearance troubles with Pmw NoteBook In-Reply-To: <577e2bc10811301726s5dcb342fi316e03bf2a19bacf@mail.gmail.com> References: <577e2bc10811301726s5dcb342fi316e03bf2a19bacf@mail.gmail.com> Message-ID: On Sun, Nov 30, 2008 at 11:26 PM, Levi Starrett wrote: > hi. i'm having troubles with the appearance of my Pmw NoteBook. Specifically > i am having trouble with the color of all the empty space and how to make my > tabs larger. anyone have any suggestions? Thanks in advance. I haven't used Pmw widgets before this, but why not try them after coming back from the beach ? So, all this empty space you refer is this on the right of tabs and the border around the notebook ? Supposing it is, then you will want to access it by getting the hull component of the Notebook widget and then configure it as you like. For the second part of the question, I didn't find a clear way on how to change the tabs size, so I "cheated" by looking into PmwNotebook to see how it controls the tabs sizes, this is what I came up (including the first part of your question): import Tkinter import Pmw root = Tkinter.Tk() nb = Pmw.NoteBook() # change the color of "all the empty space" Pmw.Color.changecolor(nb.component('hull'), background='purple') nb.add("test") nb.add("oi") nb.pack(expand=True, fill='both') # makes all tabs the same size and change their color for page in nb._pageAttrs.iterkeys(): nb._pageAttrs[page]['tabreqwidth'] = 80 # you could access the 'tabbutton' property through the tab method, but since # I'm already accessing nb._pageAttrs... Pmw.Color.changecolor(nb._pageAttrs[page]['tabbutton'], 'purple3') root.mainloop() > -Levi > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss at python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss > > -- -- Guilherme H. Polo Goncalves From mfranklin1 at gatwick.westerngeco.slb.com Mon Dec 15 08:51:20 2008 From: mfranklin1 at gatwick.westerngeco.slb.com (Martin Franklin) Date: Mon, 15 Dec 2008 07:51:20 +0000 Subject: [Tkinter-discuss] changing the Entry 'show' option back to normal In-Reply-To: <29982_1228150309_ZZ0KB700341IUBHQ.00_577e2bc10811301250i4ac0b125wb852524ff616559b@mail.gmail.com> References: <29982_1228150309_ZZ0KB700341IUBHQ.00_577e2bc10811301250i4ac0b125wb852524ff616559b@mail.gmail.com> Message-ID: <49460C78.7040104@gatwick.westerngeco.slb.com> Apologies to levi for sending directly to you at first, been a while since I posted to a news group ;-) Levi Starrett wrote: > i'm trying to create a password system with the pmw notebook. > i've succeeded in changing the entry show option to '*', but i can't > figure out how to change it back to normal. thanks in advance. Levi, As far as I can see there is no way to change what you see in the Entry field back to its real value.. I guess the question is why would you want to? The value when you 'get' it is the real value but what you see (and cut / paste) will be the *'s Cheers Martin > > -Levi > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss at python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss -- signature file not found, must be something I ate --- Registered Name: WesternGeco Limited Registered Office: Schlumberger House, Buckingham Gate, Gatwick Airport, West Sussex. RH6 0NZ Registered in England and Wales No. 1389716 From Cameron at phaseit.net Mon Dec 15 17:10:13 2008 From: Cameron at phaseit.net (Cameron Laird) Date: Mon, 15 Dec 2008 16:10:13 +0000 Subject: [Tkinter-discuss] changing the Entry 'show' option back to normal In-Reply-To: <49460C78.7040104@gatwick.westerngeco.slb.com> References: <29982_1228150309_ZZ0KB700341IUBHQ.00_577e2bc10811301250i4ac0b125wb852524ff616559b@mail.gmail.com> <49460C78.7040104@gatwick.westerngeco.slb.com> Message-ID: <20081215161013.GA32653@lairds.us> On Mon, Dec 15, 2008 at 07:51:20AM +0000, Martin Franklin wrote: . . . > Apologies to levi for sending directly to you at first, been a while > since I posted to a news group ;-) > > Levi Starrett wrote: > >i'm trying to create a password system with the pmw notebook. > >i've succeeded in changing the entry show option to '*', but i can't > >figure out how to change it back to normal. thanks in advance. > > Levi, > > As far as I can see there is no way to change what you see in the Entry > field back to its real value.. I guess the question is why would you > want to? The value when you 'get' it is the real value but what you see > (and cut / paste) will be the *'s . . . I, also, corresponded with Levi. If I understand him directly, he meant "change back to normal" in a different sense, the one addresses. From mfranklin1 at gatwick.westerngeco.slb.com Mon Dec 15 17:22:00 2008 From: mfranklin1 at gatwick.westerngeco.slb.com (Martin Franklin) Date: Mon, 15 Dec 2008 16:22:00 +0000 Subject: [Tkinter-discuss] changing the Entry 'show' option back to normal In-Reply-To: <20081215161013.GA32653@lairds.us> References: <29982_1228150309_ZZ0KB700341IUBHQ.00_577e2bc10811301250i4ac0b125wb852524ff616559b@mail.gmail.com> <49460C78.7040104@gatwick.westerngeco.slb.com> <20081215161013.GA32653@lairds.us> Message-ID: <49468428.20007@gatwick.westerngeco.slb.com> Cameron Laird wrote: > On Mon, Dec 15, 2008 at 07:51:20AM +0000, Martin Franklin wrote: > . > . > . >> Apologies to levi for sending directly to you at first, been a while >> since I posted to a news group ;-) >> >> Levi Starrett wrote: >>> i'm trying to create a password system with the pmw notebook. >>> i've succeeded in changing the entry show option to '*', but i can't >>> figure out how to change it back to normal. thanks in advance. >> Levi, >> >> As far as I can see there is no way to change what you see in the Entry >> field back to its real value.. I guess the question is why would you >> want to? The value when you 'get' it is the real value but what you see >> (and cut / paste) will be the *'s > . > . > . > I, also, corresponded with Levi. If I understand him directly, he > meant "change back to normal" in a different sense, the one http://mail.python.org/pipermail/tkinter-discuss/2008-December/001781.html > > addresses. > Thanks Cameron, I didn't notice your original reply, for some reason Thunderbird did not thread it correctly. -- signature file not found, must be something I ate --- Registered Name: WesternGeco Limited Registered Office: Schlumberger House, Buckingham Gate, Gatwick Airport, West Sussex. RH6 0NZ Registered in England and Wales No. 1389716 From ironwaist29 at yahoo.com Wed Dec 31 22:10:17 2008 From: ironwaist29 at yahoo.com (Troy Taillefer) Date: Wed, 31 Dec 2008 13:10:17 -0800 (PST) Subject: [Tkinter-discuss] TkTable changing the entry widgets Message-ID: <742958.82225.qm@web51904.mail.re2.yahoo.com> Hi all, ? I was wondering if anyone knew who to change the entry widgets in TkTable to replace them with a custom entry widget like AutoCompletionEntry http://tkinter.unpythonic.net/wiki/AutocompleteEntry?or ValidatingEntry http://tkinter.unpythonic.net/wiki/ValidateEntry.?Also if anyone knows how to enhance TkTable to do column sorting or point me to?some good links it would be greatly apreciated thanks. ? Troy ? -------------- next part -------------- An HTML attachment was scrubbed... URL: