Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5631 enhancement closed fixed (fixed)

Add a core example of using Tkinter with Twisted

Reported by: jesstess Owned by: Itamar Turner-Trauring
Priority: normal Milestone:
Component: core Keywords: documentation easy
Cc: Thijs Triemstra Branch:
Author: lesleylam


We talk about how to integrate Tkinter in, but we have no explicit, basic example in doc/core/examples.

We do already have a PyUI demo (doc/core/examples/

Attachments (1)

tkinterdemo.patch (1.3 KB) - added by Lesley Lam 6 years ago.
Example of integrating Tkinter with Twisted

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 years ago by Thijs Triemstra

Cc: Thijs Triemstra added
Keywords: documentation added

comment:2 Changed 6 years ago by Jean-Paul Calderone

Keywords: documentation, easydocumentation easy

Changed 6 years ago by Lesley Lam

Attachment: tkinterdemo.patch added

Example of integrating Tkinter with Twisted

comment:3 Changed 6 years ago by Lesley Lam

Keywords: review added

I've written up a basic example for integrating Tkinter with Twisted. Attached is the patch file for review.

comment:4 Changed 6 years ago by Itamar Turner-Trauring

Author: lesleylam
Keywords: review removed
Owner: set to Itamar Turner-Trauring

Thanks for the contribution - looks good!

I will make three minor tweaks and then commit:

  1. If possible, should avoid using "from module import *", it fills up the module with unexpected names and makes it harder to figure out where objects came from. So I'll be doing "from Tkinter import Frame, Button" etc.. Apparently some GUI frameworks recommend * imports because they have so many objects, though.
  1. I'll rephrase the news file slightly.
  1. The file seemed to have mixed tabs and spaces, which can be problematic.

comment:5 Changed 6 years ago by itamarst

Resolution: fixed
Status: newclosed

(In [34214]) Merge patch: Tkinter/Twisted integration example.

Author: lesleylam Review: itamar Fixes: #5631

comment:6 Changed 6 years ago by Thijs Triemstra

The example wasn't included in the index.xhtml.

Note: See TracTickets for help on using tickets.