Week 6: Creating a GUI (Graphic User Interface on Python)

About GUIs:

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.

2 thoughts on “Week 6: Creating a GUI (Graphic User Interface on Python)

  1. This is a very informative post Curtis. Although I don’t have much prior knowledge on this topic you did a great job of informing your readers through the video and links. Looks like you’re making good progress on your project and I hope that you are able to fix your disappearing button problem and apply the GUI to your game.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s