Simple windowed application: Difference between revisions
m
→{{header|Python}}: fixed libheaders
Not a robot (talk | contribs) No edit summary |
m (→{{header|Python}}: fixed libheaders) |
||
Line 2,224:
Button(w, text="click me", command=update_label).pack()
w.mainloop()</lang>
<lang python>#!/usr/bin/env python
from Tkinter import Button, Frame, Label, Pack
Line 2,247:
if __name__=="__main__":
ClickCounter().mainloop()</lang>
==={{libheader|PyQt}}===
<lang python>import sys
from qt import *
|