{"id":4717,"date":"2024-10-07T15:58:58","date_gmt":"2024-10-07T14:58:58","guid":{"rendered":"https:\/\/ibex.tech\/python\/?p=4717"},"modified":"2024-10-07T15:58:59","modified_gmt":"2024-10-07T14:58:59","slug":"text-entry-box","status":"publish","type":"post","link":"https:\/\/ibex.tech\/python\/gui\/tkinter-tk-gui-toolkit\/gui-objects\/text-entry-box","title":{"rendered":"Text Entry box"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Create a text entry box<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>    txt_entry_box1 = Entry(root, width=10)\n    txt_entry_box1.place(x=400, y=5)<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Get the value of an entry box<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>#Make it global\n    global txt_entry_box1\n\n    my_string = txt_entry_box1.get()<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Create a text entry box Get the value of an entry box<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[372],"tags":[],"class_list":["post-4717","post","type-post","status-publish","format-standard","hentry","category-gui-objects"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/comments?post=4717"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4717\/revisions"}],"predecessor-version":[{"id":4718,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/posts\/4717\/revisions\/4718"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/media?parent=4717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/categories?post=4717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/python\/wp-json\/wp\/v2\/tags?post=4717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}