This week I focused on learning about Graphic User Interfaces (GUIs), what they are and how to use them. According to Computer Hope, GUI us a system of interactive components such as icons, and other graphical objects that help a user interact with computer software. A GUI is often pronounced as G-U-I or as “gooey”.
Everyone who has operated a computer has seen a GUI. A GUI can look like the following:
The following video Crash Course video explains all about GUIs.
Learning Project using Python on my Raspberry Pi to Create a GUI:
This week was all about learning how to create a GUI within Python. I used many different tools such as the website LikeGeeks. This website broke down all the components of GUI’s and how I was able to add widgets such as text, buttons, radio buttons, checkboxes, images, menus.
Below are some of my creations for the week.
This photo highlights the code required to create a Combo box, a menu that provides a dropdown with a list.
The following shows a label, “Hello”, and a button “Click Me”.
The upcoming week I hope to take my new GUI knowledge and apply it to the game that I have created prior. Instead of using the command line, the user will hopefully be able to interact with the screen to play the game.
On first attempt, this was proven to be difficult as I found that it is difficult to make the button provide new information and then disappear, something that sounds so simple I tried to complete for well over an hour and a half. Hopefully by using resources such as stack overflow, an online forum, will help me troubleshoot some of my issues.