[Geany-Users] Geany on Raspberry Pi... can't see Tkinter window

Lex Trotman elextr at xxxxx
Fri May 25 01:29:27 UTC 2018


On Fri, 25 May 2018 at 11:15, Eric Stephan <estephan at fastmail.net> wrote:

> 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?

As I understand it both of those use the Python built-in tkinter GUI which
uses tk.


> > 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!
> > Eric
> >
> >>> 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
> >> https://lists.geany.org/cgi-bin/mailman/listinfo/users
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.geany.org
> > https://lists.geany.org/cgi-bin/mailman/listinfo/users

> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list