Wayne Werner | 1 Oct 2010 01:18
Picon
Gravatar

Re: Visual (8-bit!) tkinter Cheatsheets

I really like those - they're quite nice! I'm going to be giving a Tkinter presentation at PyArkansas October 16, would you mind if I include these in my presentation?


-Wayne

On Thu, Sep 30, 2010 at 1:47 PM, Lion Kimbro <lionkimbro <at> gmail.com> wrote:

  Hi all,

  For many reasons, but mainly just for fun, I made some tkinter documentation in pixel graphics.

  I'd like to share what I made, here it is..!



  It's pretty exhausting work, making letters pixel by pixel, but I like the results (assuming you can even see them.)

  If I receive encouragement and interesting criticism, I think I'll be motivated to make a few more.  {:)}=
  I think next, I want to document row & column configuration on the Grid, and perhaps how Images work.

  Please feel free to share these however you like.

  Take care,
    Lion


(If the images don't go through the mail, here are two URLs to them:
  http://twitpic.com/2t4n9p/full
  http://twitpic.com/2t4n9q/full )


_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss <at> python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss


_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss <at> python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Lion Kimbro | 1 Oct 2010 01:33
Picon
Gravatar

Re: Visual (8-bit!) tkinter Cheatsheets


  Thanks Wayne!

  Please do include them;  And I'd love to hear how they are received afterwards.

  By the time your presentation happens, I should have 1-3 more as well.

  If you have any special requests (any particular aspects of tkinter you'd like to see imaged,) let me know, and I'll create those first.


On Thu, Sep 30, 2010 at 4:18 PM, Wayne Werner <waynejwerner <at> gmail.com> wrote:
I really like those - they're quite nice! I'm going to be giving a Tkinter presentation at PyArkansas October 16, would you mind if I include these in my presentation?

-Wayne

On Thu, Sep 30, 2010 at 1:47 PM, Lion Kimbro <lionkimbro <at> gmail.com> wrote:

  Hi all,

  For many reasons, but mainly just for fun, I made some tkinter documentation in pixel graphics.

  I'd like to share what I made, here it is..!



  It's pretty exhausting work, making letters pixel by pixel, but I like the results (assuming you can even see them.)

  If I receive encouragement and interesting criticism, I think I'll be motivated to make a few more.  {:)}=
  I think next, I want to document row & column configuration on the Grid, and perhaps how Images work.

  Please feel free to share these however you like.

  Take care,
    Lion


(If the images don't go through the mail, here are two URLs to them:
  http://twitpic.com/2t4n9p/full
  http://twitpic.com/2t4n9q/full )


_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss <at> python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss



_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss <at> python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Greg Ewing | 1 Oct 2010 05:26
Picon
Picon
Favicon

Re: Visual (8-bit!) tkinter Cheatsheets

On 01/10/10 07:47, Lion Kimbro wrote:

>    It's pretty exhausting work, making letters pixel by pixel,

Yeow! Documenting the layout parameters using diagrams is a good
idea, but surely there are less masochistic ways of going about it?

--

-- 
Greg
Firat Ozgul | 2 Oct 2010 13:23
Picon

Re: How do I delete the current line in a Text widget

You can use "current linestart" and "current lineend". For example

http://paste-it.net/public/x8d0f7b/

2010/9/30 Baz79 <barry.griffin <at> hiq.se>

What arguments should delete() take in order to delete the current line?

Thanks,

Barry
--
View this message in context: http://old.nabble.com/How-do-I-delete-the-current-line-in-a-Text-widget-tp29852273p29852273.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss <at> python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss <at> python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
embirath | 8 Oct 2010 00:27
Picon

tkinter X11 vs Aqua on a Mac


Hi all

I have written a python GUI program using tkinter, which works well on a
windows pc. On a Mac however, there are some issues. 

When I run the program on the version of Python which came with the Mac
computer, X11 is not used. Instead, Aqua is used. When Aqua is used,
un-editable Entry fields appear in the same color as editable Entry fields.
There are other issues as well, but generally X11 simply looks much nicer...

I know it is possible to run the tkinter program with X11 on the Mac,
because that is what happens when I run my program through the version of
python that was installed with this other software package called Scisoft...
Unfortunately, Scisoft is running an old version of python (2.4) and there
are other things that break in my program because of this older version. 

So I'm wondering how I can force my tkinter program use X11 instead of Aqua?
Any ideas? 

Thank you,
Emma

--

-- 
View this message in context: http://old.nabble.com/tkinter-X11-vs-Aqua-on-a-Mac-tp29910889p29910889.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
Kevin Walzer | 8 Oct 2010 15:20
Favicon

Re: tkinter X11 vs Aqua on a Mac

On 10/7/10 6:27 PM, embirath wrote:

>
> So I'm wondering how I can force my tkinter program use X11 instead of Aqua?
> Any ideas?

There's no way to do it with the Apple-installed Python; it links to the 
Aqua version of Tk.

You can probably set this up by installing Python and Tk/Tkinter from 
MacPorts or Fink.

--Kevin

--

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
embirath | 8 Oct 2010 23:51
Picon

Re: tkinter X11 vs Aqua on a Mac


Thanks Kevin. Of course, when I try to install python through Fink I run into
some errors: "could not  determine XFree86 version number". I'll have to
work more on this next week, but if you have any advice let me know. 

Thanks for your help! 
Em

Kevin Walzer-5 wrote:
> 
> On 10/7/10 6:27 PM, embirath wrote:
> 
>>
>> So I'm wondering how I can force my tkinter program use X11 instead of
>> Aqua?
>> Any ideas?
> 
> There's no way to do it with the Apple-installed Python; it links to the 
> Aqua version of Tk.
> 
> You can probably set this up by installing Python and Tk/Tkinter from 
> MacPorts or Fink.
> 
> --Kevin
> 
> -- 
> Kevin Walzer
> Code by Kevin
> http://www.codebykevin.com
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss <at> python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
> 
> 

--

-- 
View this message in context: http://old.nabble.com/tkinter-X11-vs-Aqua-on-a-Mac-tp29910889p29919353.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
Wave71 | 8 Oct 2010 22:10
Picon

Tkinter doesnt respond until after wait command


I create and object (text)
then I want it to wait for about 3 seconds
then I want it to delete that object

import time

text = w.create_text(x,y, text)
time.sleep(3)
w.delete(text)

But when I execute this, It waits until the sleep time is done, and then it
displays the window, but by then, the text has already disappeared!

what should I do?
--

-- 
View this message in context: http://old.nabble.com/Tkinter-doesnt-respond-until-after-wait-command-tp29918684p29918684.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
Firat Ozgul | 9 Oct 2010 11:10
Picon

Re: Tkinter doesnt respond until after wait command

Hello,

Take a look at this code:

http://paste-it.net/public/l0b490d/

2010/10/9 Wave71 <jacob.valenta <at> gmail.com>

I create and object (text)
then I want it to wait for about 3 seconds
then I want it to delete that object

import time

text = w.create_text(x,y, text)
time.sleep(3)
w.delete(text)


But when I execute this, It waits until the sleep time is done, and then it
displays the window, but by then, the text has already disappeared!

what should I do?
--
View this message in context: http://old.nabble.com/Tkinter-doesnt-respond-until-after-wait-command-tp29918684p29918684.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss <at> python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss <at> python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss
Ned Deily | 15 Oct 2010 07:44
Picon
Favicon
Gravatar

Re: tkinter X11 vs Aqua on a Mac

In article <29919353.post <at> talk.nabble.com>,
 embirath <embirath <at> gmail.com> wrote:

> Thanks Kevin. Of course, when I try to install python through Fink I run into
> some errors: "could not  determine XFree86 version number". I'll have to
> work more on this next week, but if you have any advice let me know. 

Use MacPorts.  On  both10.5 and 10.6, I've installed the current 
MacPorts python2.6 and python3.2 which links with the MacPorts Tk 8.5.  
That pulls in the MacPorts X11 client libraries but it works just fine 
with the Apple-supplied X11.app, i.e. no need to build an Xserver.

--

-- 
 Ned Deily,
 nad <at> acm.org

Gmane