[Tutor] Beginner issue with Tkinter Listbox
alan.gauld at btinternet.com
Thu Sep 4 15:39:38 CEST 2008
"David Johnson" <david.johnson.ca at me.com> wrote
> However, as soon as call the method: ListboxName.selection_set(0),
> the lower frame (containing the Listbox), ends up on the top row,
> covering the orginal top frame.
> I am working using a mac and XCode, (cocoa-python project). Just as
> an additional point, I have diccovered that running the same
> through Terminal actually does just fine and displays the windows I
> want without a problem.
It works fine for me on Windows XP too.
So that pretty much points the finger at the Mac environment.
Either in XCode or maybe in the Cocoa version of Tkinter.
I haven't got my Mac to hand but maybe some other XCode
user could comment on what happens for them?
One question, when it runs in Terminal does it come up with
the Apple GUI style or the traditional X windows look?
And same in XCode?
It could be that XCode is picking up a different Tk library version.
One for Cocoa and the other the traditional X windows version.
Just a thought...
More information about the Tutor