Hi,
Hi, I’m new to wxPython and I’m working on my first application, which is a simple timer that is no where near complete yet, and I’m running into some issues. If you can help me with any one of the following things, that would be wonderful.
Welcome to the wxPython community!
- If you look at my source and try to run the application, you’ll notice that when you type a task in and press ‘enter’ there is some overlapping going on between the checkbox element and the edit field. How do I avoid making this happen when I want these two things to be side by side with each other? I want it to look a lot cleaner.
I agree with Tim. Using Sizers is the way to go. The ugly way would be to use absolute positioning, but I don’t recommend that.
- Also, I want the application’s elements/widgets (whatever the correct term is) to move WITH the window when it is resized, if possible (although this isn’t my main concern right now).
- How did you learn this library? Any recommended resources (especially visual resources)?
I think I started out with Robin Dunn’s book, wxPython in Action. I use the wxPython demo extensively for code examples, various documentation found via Google, the wxPython users list archive has been invaluable and nowadays I also use my blog where I’ve been brain dumping what I learn about wxPython and Python (http://blog.pythonlibrary.org/). Also asking questions here and providing runnable examples is a good way to start!
···
On Thursday, February 14, 2013 12:18:35 PM UTC-6, DJ Keebz wrote:
Thank you both for the responses. Mike, it’s interesting that you provided me with that link to your blog because when I clicked on it I realized that I had actually stumbled upon it when I was googling some “how-to’s” for making my first wxPython program. Looks like good stuff! I’ll check it out some more.
···
On Thursday, February 14, 2013 8:35:19 PM UTC+1, Mike Driscoll wrote:
Hi,
On Thursday, February 14, 2013 12:18:35 PM UTC-6, DJ Keebz wrote:
Hi, I’m new to wxPython and I’m working on my first application, which is a simple timer that is no where near complete yet, and I’m running into some issues. If you can help me with any one of the following things, that would be wonderful.
Welcome to the wxPython community!
- If you look at my source and try to run the application, you’ll notice that when you type a task in and press ‘enter’ there is some overlapping going on between the checkbox element and the edit field. How do I avoid making this happen when I want these two things to be side by side with each other? I want it to look a lot cleaner.
I agree with Tim. Using Sizers is the way to go. The ugly way would be to use absolute positioning, but I don’t recommend that.
- Also, I want the application’s elements/widgets (whatever the correct term is) to move WITH the window when it is resized, if possible (although this isn’t my main concern right now).
- How did you learn this library? Any recommended resources (especially visual resources)?
I think I started out with Robin Dunn’s book, wxPython in Action. I use the wxPython demo extensively for code examples, various documentation found via Google, the wxPython users list archive has been invaluable and nowadays I also use my blog where I’ve been brain dumping what I learn about wxPython and Python (http://blog.pythonlibrary.org/). Also asking questions here and providing runnable examples is a good way to start!