[Tutor] Bitmap editor and File-saving

2007-11-10 Thread Johnston Jiaa
Hello, I already asked this on python-list, but would like to improve the odds of having my question answered, so I am asking it here too. I apologize if this bothers anyone. I am using Tkinter to create a program in which the user can draw a simple bitmap image. What library would be best

[Tutor] Tkinter Canvas Widget

2007-11-12 Thread Johnston Jiaa
the canvas. Also, after I get those coordinates, which methods would be appropriate to draw the points onto the canvas itself? I appreciate any pointers or links to resources or anything at all. Johnston Jiaa ___ Tutor maillist - Tutor@pyth

[Tutor] Tkinter Grid Layout Problems

2007-11-25 Thread Johnston Jiaa
, column=2) self.lt_lstbx = Listbox(frame) self.lt_lstbx.grid(row=1, column=0) self.lt_scrlbr = Scrollbar(frame) self.lt_scrlbr.grid(row=1, column=1) How do I get everything aligned properly? Thanks, Johnston Jiaa ___

[Tutor] Grid Manager Positioning

2007-11-28 Thread Johnston Jiaa
do I make it do that? Johnston Jiaa ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Grid Manager Positioning

2007-11-29 Thread Johnston Jiaa
Use pack(side= expand="true" ) ;-) I heard that it's not good to mix grid and pack positioning? And I already wrote it in grid. Johnston Jiaa ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Button 1 Motion Event

2007-12-04 Thread Johnston Jiaa
ls are very far apart. Is there any way to fix this? Johnston Jiaa ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Tkinter Canvas Saving and Opening

2007-12-04 Thread Johnston Jiaa
I know that Tkinter's canvas can output its contents into a postscript file, but can that file be used in turn to restore the image? How can I implement this file-saving and opening feature? ___ Tutor maillist - Tutor@python.org http://mail.python.

[Tutor] Program for outputing the letter backward

2006-03-28 Thread Johnston Jiaa
""e" is respectively "less than" "v", so that is why your code never executes.  You probably mean for the index to actually be the index, not the last letter.  "index -= 1" is illegal as the variable points to a string, which can not be subtracted

[Tutor] Apple Remote "Mouse"

2006-03-30 Thread Johnston Jiaa
I recently bought a Macbook Pro from Apple.  As it comes with a remote, I thought it would be great to use it as a mouse when not in Front Row.  The fast forward button would move the cursor to the left, the volume increase would move it up the screen, etc and the play button would serve as a "clic

[Tutor] Apple Remote "Mouse"

2006-04-01 Thread Johnston Jiaa
Hey Alan,I'm fairly new to programming and this is my first Apple computer.  It arrives on Monday, I've been waiting for ages.  Amazon took forever shipping it out.  Anyway, this will ultimately be a true learning experience -- I'll tell you how it turns out!  Many thanks for giving me these pointe

[Tutor] first programming project

2006-08-18 Thread Johnston Jiaa
al program before, am I missing any steps? Is there something I am missing from having this be a complete program? Any help at all is greatly appreciated. Johnston Jiaa __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection ar

[Tutor] Tkinter GUI Grid Layout Manager

2006-09-21 Thread Johnston Jiaa
Assignments Widgets    # Assignments Text Display    self.assign_disp_txt = Text(self, width = 30, height = 18, wrap = WORD)    self.assign_disp_txt.grid(row =3, column = 1, columnspan = 5, sticky = W)Thanks, Johnston Jiaa Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail.__