Bitmaps On Buttons ?

2005-03-15 Thread PGMoscatt
I am slowly progressing with my python app. I have got to the point where I would like to place images onto my buttons. I use Tkinter as my GUI libary. The following is how I understand I place an image onto a button - but I am not having much success with it all. Any ideas ? Pete b=Button(To

Re: Widget geometry ?

2005-03-12 Thread PGMoscatt
Thanks Pierre all working now. Pete Pierre Quentel wrote: > PGMoscatt a Ãcrit : >> Hi All, >> >> I am trying to create a dialog which will have a number of components but >> having trouble with the placement of various widgets. >> >> For exam

Widget geometry ?

2005-03-11 Thread PGMoscatt
Hi All, I am trying to create a dialog which will have a number of components but having trouble with the placement of various widgets. For example, in my code below you will see I am trying to insert alabel but I want the label to be in the top-left of the dialog but it dosen't want to go there.

Re: Globals between modules ?

2005-03-10 Thread PGMoscatt
Roy Smith wrote: > In article <[EMAIL PROTECTED]>, > PGMoscatt <[EMAIL PROTECTED]> wrote: > >> Does Python allow a 'global' variable that can be used between different >> modules used within an app ? >> >> Pete > > You could explici

Globals between modules ?

2005-03-10 Thread PGMoscatt
Does Python allow a 'global' variable that can be used between different modules used within an app ? Pete -- http://mail.python.org/mailman/listinfo/python-list

Re: Python & Tkinter ?

2005-03-07 Thread PGMoscatt
Fredrik Lundh wrote: > "PGMoscatt" wrote: > >> Have just installed Fedora 3 and wish also want to give programming with >> Python a go. I wish to develop GUI interfaces and believe that 'Tkinter' >> is the way to go. >> >> After installing

HELP: Python & Tkinter ?

2005-03-07 Thread PGMoscatt
Hi all, Have just installed Fedora 3 and wish also want to give programming with Python a go. I wish to develop GUI interfaces and believe that 'Tkinter' is the way to go. After installing Python frpm the distro CD I can't use the 'from Tkinter import *' command. When I try, I get the error mess