Comment detail

ウィンドウの表示 (Nested Flatten)
Python/Tkinterで。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# coding: shift_jis

import Tkinter as Tk

root = Tk.Tk()
root.title(u"こんにちは、GUI!")

w = 400
h = 300

root.geometry("%dx%d+%d+%d" % (w, h,
    (root.winfo_screenwidth()  - w) / 2,
    (root.winfo_screenheight() - h) / 2))

root.mainloop()

Index

Feed

Other

Link

Pathtraq

loading...