Tag: tkinter

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: 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: 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”

From Apple to Raspberry Pi: Using Object Oriented Programming with Tkinter

We’ve been learning parts of Python together. So far we’ve learned the basics of Python and setting up classes and instances in it. We have a good start on using UI elements and styling them with the basics of tk and ttk. I’d like… Continue Reading “From Apple to Raspberry Pi: Using Object Oriented Programming with Tkinter”

From Apple to Raspberry Pi: More Widgets! More Power!!!

We covered some of the major simple widgets in Tkinter. There are a few more used less regularly: radio buttons, checkboxes, sliders, and spinners. This lesson, we’ll look at those  widgetsand make a better power panel. Control Variables We used control variables in the… Continue Reading “From Apple to Raspberry Pi: More Widgets! More Power!!!”

From Apple to Raspberry Pi: Making Round Rectangle Buttons — The Movie

When I posted yesterday about GIMP and making Buttons for Python projects on the Raspberry Pi, I had thought someone would have a tutorial for the classic pre-iOS7 rounded rectangle button. I didn’t find any. Here is a video I put together of making… Continue Reading “From Apple to Raspberry Pi: Making Round Rectangle Buttons — The Movie”

From Apple to Raspberry Pi: Making Icons and Cool Buttons

If there is one thing that Apple developers believe,  user interfaces needs to look cool. Looking cool often requires not text, but images on your on your controls. While  not as robust as UIView and its subclasses, Tkinter does display graphics. We can add… Continue Reading “From Apple to Raspberry Pi: Making Icons and Cool Buttons”

From Apple to Raspberry Pi: Configuring Buttons for GUI.

In our last installment, we learned how to add buttons and labels to a Python program. Now we are going to make them look a little nicer than the generic buttons we haven now using the configure method of Tkinter. Make a beginning framework… Continue Reading “From Apple to Raspberry Pi: Configuring Buttons for GUI.”

From Apple to Raspberry Pi: Windows Buttons and Widgets — on Pi!

I’ve explored much of the basic coding in Python, but I’ll need a good user interface for the projects I’m doing. When it comes to the graphical user interface (GUI), Xcode and Python are on  two different planets. With storyboards and interface builder, Xcode… Continue Reading “From Apple to Raspberry Pi: Windows Buttons and Widgets — on Pi!”