Tag: Python GUI

From Apple to Raspberry Pi: Why use a Tkinter Listbox?

As those who have followed this series over the last few weeks might have noted, I’ve racked my brain trying to get around the Tkinter Listbox. For those not familiar with the Tkinter Listbox, it’s a GUI widget which allow for selection from a… Continue Reading “From Apple to Raspberry Pi: Why use a Tkinter Listbox?”

From Apple to Raspberry Pi: A Scroll List Box that Works.

For the last few posts, we have tried to get past the Tkinter limitation with scrolling list boxes using only one word per line. This post we take the Text widget we added last week, and turn it into a true list box. We… Continue Reading “From Apple to Raspberry Pi: A Scroll List Box that Works.”

From Apple to Raspberry Pi: Adding a Tkinter Text Box in Python

Tkinter lacks a good list box. There is a widget, but as shown in earlier posts in this series, it doesn’t do the best job. We had to use underscores to get the list box to work.  There is another widget that might do… Continue Reading “From Apple to Raspberry Pi: Adding a Tkinter Text Box in Python”

From Apple to Raspberry Pi: Adding Scroll Bars and Frames

In our last post we found that the list box was a  waste of time for its task, unless you want one-word selections. We hacked our way around it for the meantime, using the underscore character. We left off needing a scroll bar to… Continue Reading “From Apple to Raspberry Pi: Adding Scroll Bars and Frames”

From Apple to Raspberry Pi: How to Make a List Box (Somewhat) Useful

In the Popper’s Penguin application, I’d like to take my data, display it, and be able to select it. If I was doing this in Xcode, I’d use an UITableView to do exactly that. UITableViews are more advanced than what I want, as they… Continue Reading “From Apple to Raspberry Pi: How to Make a List Box (Somewhat) Useful”

From Apple To Raspberry Pi: An Example of Implementing a Python MVC (Part 2)

In the last part we implemented the view and controller for the Popper’s Penguins application. Now we add the model.  Along the way, we will make a delegate method for the model and change our target actions to add our data to a list. Add the… Continue Reading “From Apple To Raspberry Pi: An Example of Implementing a Python MVC (Part 2)”

From Apple To Raspberry Pi: An Example of Implementing a Python MVC (Part 1)

I gave a template for MVC in the last post, This time I’m going to use it in the Popper’s Penguins application. We’ll re-organize what we already did with views and controllers to match the template.  We’ll add the model in the next installment… Continue Reading “From Apple To Raspberry Pi: An Example of Implementing a Python MVC (Part 1)”

From Apple to Raspberry Pi: A MVC Template for Tkinter

In this installment I’m going to take a side path from the building of the Popper’s penguins app to clarify something I gave in my last post on Python, Tkinter and Raspberry Pi. In the world of Xcode, both for OS X development and… Continue Reading “From Apple to Raspberry Pi: A MVC Template for Tkinter”

From Apple to Raspberry Pi: Adding Combo Box Selections and Message Boxes

We began to make our penguin data collection interface last week. Today we are going to add Combobox selections to the penguin panel.  The Combobox widget codes similar to the Entry widget. Instead of text for a title it takes a list for values.… Continue Reading “From Apple to Raspberry Pi: Adding Combo Box Selections and Message Boxes”

Make a Clock in Sprite Kit: Adding Animation to the Clock

In our first installment, we added a label and set up a clock.  We could easily do that with a story board and a wired up label. The point of series this is to have a lot of cool animation running in Sprite Kit… Continue Reading “Make a Clock in Sprite Kit: Adding Animation to the Clock”