[Geany-Users] Geany on Raspberry Pi... can't see Tkinter window
estephan at xxxxx
Fri May 25 01:14:51 UTC 2018
When you say those other two IDEs are Tk IDEs, does that mean that the IDE itself is built using Tk? or do you mean that they simply built a Tk loop into their app to make it convenient for programmers?
> On May 25, 2018, at 8:12 AM, Eric Stephan <estephan at fastmail.net> wrote:
> Aha!!! Big thank you to both of you guys… This is seriously an educational thread for me… Thank you!
>>> On May 25, 2018, at 8:00 AM, Colomban Wendling <lists.ban at herbesfolles.org> wrote:
>>>> Le 24/05/2018 à 21:56, Lex Trotman a écrit :
>>>> you can see the problem is that the program is missing a
>>>> `window.mainloop()` call. This works inside a Python console because
>>>> Python is running awaiting for input, but doesn't as a standalone
>>> In fact both the other IDEs mentioned are Tk IDEs, so conveniently there is
>>> already a mainloop running.
>> As said it also works with the Python main loop, if you e.g. import the
>> file as a module it behaves as the OP expected.
>> Users mailing list
>> Users at lists.geany.org
> Users mailing list
> Users at lists.geany.org
More information about the Users