Why is ComboBoxText giving me a "no attribute" error?
- by boywithaxe
I'm trying to add a text Combo Box into my app. I've created in and populated the list but when I I try to print out the active text I get an error.
Here's the part of the code in question:
def on_netif_changed(self, widget):
netif = widget.gtk_combo_box_text_get_active_text()
print netif
And the error I get:
Traceback (most recent…