Category: Raspberry Pi

From Apple to Raspberry Pi: How to do Threading with Python and Tkinter

We’re going to have a diversion away from the penguin app for a bit due to some work I ‘m doing and thought it would be useful for many working with the Raspberry Pi and Python. I’m working with time-lapse photography on the Raspberry…

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…

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…

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…

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…

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…

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…

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…

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…

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….