Forum: Python Oct 30th, 2008 |
| Replies: 6 Views: 1,006 Where is data_file defined? |
Forum: Python Oct 30th, 2008 |
| Replies: 3 Views: 810 import wx
x = dir(wx)
for y in x:
if y.find('ID_')!=-1:
print y
output: |
Forum: Python Oct 30th, 2008 |
| Replies: 10 Views: 1,027 take the following code as an example:
from Tkinter import *
root = Tk()
def test():
if (root.focus_displayof()==entry1):
print 'hello' |
Forum: Python Oct 30th, 2008 |
| Replies: 10 Views: 1,027 .focus_displayof()
not
.displayof() |
Forum: Python Oct 29th, 2008 |
| Replies: 6 Views: 923 I just realized what you want
you want a new frame at the top of your program, above the other content...
I wish I new wxpython better, I don't use it honestly. Maybe someone else can show you... |
Forum: Python Oct 29th, 2008 |
| Replies: 6 Views: 923 My suggestion would be to abandon WxPython and use pygame instead. It is much better suited for this type of stuff.
Other than suggestiong you switch to PyGame, I am not sure exactly what you are... |
Forum: Python Oct 29th, 2008 |
| Replies: 10 Views: 1,027 My suggestion would be to look at focus_displayof() instead of focus_get() |
Forum: Python Oct 29th, 2008 |
| Replies: 10 Views: 1,027 he was saying if you expect us to look at your code, put that before and after your code in your post. so that we can see syntax highlighting and what not. |
Forum: Python Oct 28th, 2008 |
| Replies: 4 Views: 1,292 I don't think I can properly walk through this without seeing more. What does the input data look like? How is it loaded? |
Forum: Python Oct 28th, 2008 |
| Replies: 2 Views: 532 The hierarchy ends up like this:
window
background
verticalBox
horizontalBox
inputArea
transferBtn
loadBtn |