{"id":235,"date":"2015-05-15T13:20:57","date_gmt":"2015-05-15T17:20:57","guid":{"rendered":"http:\/\/www.tayloraliss.com\/blog\/?p=235"},"modified":"2015-05-15T13:51:04","modified_gmt":"2015-05-15T17:51:04","slug":"ive-got-my-work-cut-out-for-me","status":"publish","type":"post","link":"https:\/\/www.tayloraliss.com\/blog\/?p=235","title":{"rendered":"I&#8217;ve got my work cut out for me&#8230;"},"content":{"rendered":"<p>Today I&#8217;ve begun creating the general framework for my program in Tkinter (again). The first thing I needed to do was divide my layout into a grid to make placement of each part easier. Here&#8217;s the very crude yet effective way I did that:<\/p>\n<p><a href=\"https:\/\/www.tayloraliss.com\/blog\/wp-content\/uploads\/2015\/05\/rsz_1rsz_20150513_1436161.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"  wp-image-236 aligncenter\" src=\"https:\/\/www.tayloraliss.com\/blog\/wp-content\/uploads\/2015\/05\/rsz_1rsz_20150513_1436161-300x225.jpg\" alt=\"rsz_1rsz_20150513_143616\" width=\"550\" height=\"413\" srcset=\"https:\/\/www.tayloraliss.com\/blog\/wp-content\/uploads\/2015\/05\/rsz_1rsz_20150513_1436161-300x225.jpg 300w, https:\/\/www.tayloraliss.com\/blog\/wp-content\/uploads\/2015\/05\/rsz_1rsz_20150513_1436161-1024x768.jpg 1024w, https:\/\/www.tayloraliss.com\/blog\/wp-content\/uploads\/2015\/05\/rsz_1rsz_20150513_1436161.jpg 1224w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p>I began making the components that would need to be \u00a0placed, but soon realized that it was going to take me a lot longer than I originally thought. Each checkbox, scrollbox, labe, and button needs to be individually coded. After working on this for an hour and only getting 15 elements placed, I realized that it might be more efficient to use a constructor like Steve did in his edit to my code. I&#8217;ve had an aversion to creating classes lately, but I&#8217;m beginning to think it&#8217;s time I overcame my fear. Here&#8217;s what I&#8217;ve made so far:<\/p>\n<p><a href=\"https:\/\/www.tayloraliss.com\/blog\/wp-content\/uploads\/2015\/05\/building.png\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-237 aligncenter\" src=\"https:\/\/www.tayloraliss.com\/blog\/wp-content\/uploads\/2015\/05\/building.png\" alt=\"building\" width=\"254\" height=\"172\" \/><\/a><\/p>\n<p>That took 79 lines of code to make.<\/p>\n<p>Yea.<\/p>\n<p>After creating this portion of my code, I realized that I&#8217;m going to have to do a lot of background code to make it all function correctly. In particular, these questions need to be answered:<\/p>\n<ul>\n<li>What happens when the first scroll box is set higher than the second?<\/li>\n<li>What happens if a user moves a scrollbox but doesn&#8217;t click the strand checkbox?<\/li>\n<li>Should the listening checkbox automatically be checked if a strand checkbox is checked (or if a scrollbox is adjusted)?<\/li>\n<\/ul>\n<p>In addition, when I showed my first prototype to the teachers, they expressed concern over the terminology. The strands all have different descriptions which are difficult for every teacher to remember. I&#8217;m thinking I need to insert a little help button next to each one that will pop-up a description of the strand for the user.<\/p>\n<p>There&#8217;s a lot of work to be done today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I&#8217;ve begun creating the general framework for my program in Tkinter (again). The first thing I needed to do was divide my layout into a grid to make placement of each part easier. Here&#8217;s the very crude yet effective way I did that: I began making the components that would need to be \u00a0placed, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=235"}],"version-history":[{"count":2,"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":240,"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions\/240"}],"wp:attachment":[{"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tayloraliss.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}