← Back to team overview

gladex team mailing list archive

[Question #60521]: How to get access to widgets?

 

New question #60521 on Gladex:
https://answers.edge.launchpad.net/gladex/+question/60521

Is there any manual or howto of this problem? 
I've created glade file, parsed it with Gladex and got two .py files - main and callbacks. Now I need to write callbacks functions, but I can't understand how to get access to widgets.
For example I have 3 entry boxes, 1 combobox, 3 buttons in my glade file. I have in the callbacks file :

def on_SolveButton_changed(widget, data, wtree):
   print "function 'on_OperationComboBox_changed' not implemented"
   pass

In this function I want to get data from first two entries, math sign from combobox and calculate result. How can I do this?

-- 
You received this question notification because you are a member of
Gladex Developers, which is an answer contact for Gladex.