talsemgeest
October 10th, 2009, 04:07 AM
Hey all, I'm still learning python and glade, but unfortunately there doesnt seem to be a lot of tutorials for using python with glade. Creating the interface I can do, but getting python to connect to it is what I'm having trouble with. For example, the lines
vidcombo = self.widgets.get_widget("vidcombo")
print vidcombo only gives me
<gtk.ComboBox object at 0xff29b0 (GtkComboBox at 0x113e9c0)> I need to get what is selected in the combo box into my python backend, as a string. What is the best way to do this?
vidcombo = self.widgets.get_widget("vidcombo")
print vidcombo only gives me
<gtk.ComboBox object at 0xff29b0 (GtkComboBox at 0x113e9c0)> I need to get what is selected in the combo box into my python backend, as a string. What is the best way to do this?