{"published":"2019-04-08 16:22:22","author_name":"charmie11","blog_title":"I am Charmie","title":"Tkinter","version":"1.0","url":"https://charmie11.hatenablog.com/entry/2019/04/08/tkinter/","blog_url":"https://charmie11.hatenablog.com/","description":"tkinter.Tk()root(\u30e1\u30a4\u30f3\u30a6\u30a3\u30f3\u30c9\u30a6\uff1f)\u306e\u4f5c\u6210root\u306bwidget\u3092\u914d\u7f6e\u3057\u3066\u3044\u304f tkinter.Tk().mainloop()\u30e1\u30a4\u30f3\u306e\u51e6\u7406\u3092\u5b9f\u884c geometry\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30b5\u30a4\u30ba\u3084\u4f4d\u7f6e\u3092\u8a2d\u5b9a\u307e\u3055\u306bgeometry widget\u306e\u914d\u7f6ewidget(\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)\u3092\u4f5c\u6210\u3059\u308b\u6642\u306f\uff0c1. \u4f5c\u6210\u3059\u308bwidget\u306e\u89aawidget\u3092\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u7b2c1\u5f15\u6570\u306b\u6307\u5b9a2. pack()\u306b\u3088\u3063\u3066\uff0cwidget\u3092pack\u65b9\u5f0f\u3067\u914d\u7f6e\u4f8b: window = tkinter.Tk() lb = tkinter.Label(window, text='my GUI') lb.pack() window.m\u2026","image_url":null,"author_url":"https://blog.hatena.ne.jp/charmie11/","categories":["python","tkinter","Uncategorized"],"type":"rich","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcharmie11.hatenablog.com%2Fentry%2F2019%2F04%2F08%2Ftkinter%2F\" title=\"Tkinter - I am Charmie\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","width":"100%","provider_url":"https://hatena.blog"}