Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4442
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Arnold Krille <arnold@arnoldarts.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] tkinter .. |
| Date | Tue, 3 May 2016 21:18:54 +0200 |
| Lines | 52 |
| Message-ID | <mailman.358.1462303461.32212.python-de@python.org> (permalink) |
| References | <dormrqF85kbU1@mid.individual.net> <20160503211854.65952cac@xingu.arnoldarts.de> |
| Mime-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha256; boundary="Sig_/7uh1l.HqrZIkW7N7m+wPG.h"; protocol="application/pgp-signature" |
| X-Trace | news.uni-berlin.de A2P6F4257eO0wZTleZ03KAS5AN7eZ4fvDmjLl+c4Knbw== |
| Return-Path | <arnold@arnoldarts.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| X-Virus-Scanned | amavisd-new at heinlein-support.de |
| In-Reply-To | <dormrqF85kbU1@mid.individual.net> |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.22 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20160503211854.65952cac@xingu.arnoldarts.de> |
| X-Mailman-Original-References | <dormrqF85kbU1@mid.individual.net> |
| Xref | csiph.com de.comp.lang.python:4442 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Tue, 03 May 2016 15:19:45 +0200 Hermann Riemann <nospam.compb7@hermann-riemann.de> wrote: > Momentan fange ich wieder mit einem Grafikprogramm an. > > Etliche Bildberabeitung selber ( Pixel Lesen und schreiben etc.) > geht über SDL in C. > > Bei der Steuerung möchte ich Python3 verwenden. > Dazu hätte ich gerne etliche unterschiedliche tkinter Fenster > deren Aufbau sich nach augenblicklicher Situation richtet. > > Dazu benötige ich ein Haupt-Programm > welches die Verwaltung macht > und etliche tkinter Programme für die Steuerung. > > Da jedes tkinter Programme ein mainloop() > enthält wird auch Kommunikation > mit dem Hauptbrogramm benötigt. > ( Während der mainloop sollen ja andere Programme > wie C-Programme und Hauptprogramm arbeiten.) > > Ich erwäge die tkinter in threads auszuführen, > weiß aber nicht, ob das so geht bzw. zweckmäßig ist > ( Jeder thread hätte eine eigene mainloop() ) Die meisten Grafiksysteme können nur aus einem Thread heraus mit dem X-Server bzw. der OS-Engine reden. Ein Thread pro 'Fenster' innerhalb einer App wird also wahrscheinlich nicht gehen. Aber den main-Thread für alle Grafik zu nehmen und die Rechenaufgaben in Threads/Subprocesses auszulagern ist standard. - Arnold (der auch keine Erfahrung mit tkinter konkret hat)
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
tkinter .. Hermann Riemann <nospam.compb7@hermann-riemann.de> - 2016-05-03 15:19 +0200 Re: [Python-de] tkinter .. Arnold Krille <arnold@arnoldarts.de> - 2016-05-03 21:18 +0200 Re: [Python-de] tkinter .. Peter Otten <__peter__@web.de> - 2016-05-04 15:27 +0200
csiph-web