Hello all. I have a question about connecting signals.
Here is my situation. I'm building (or at least trying to) an app that will be used to create/edit SugarCRM modules. I'm building it a piece at a time so that I don't get ahead of myself.
For example, the SugarCRM Module Builder allows you to add new fields to a module (though not in a way I like which is why I'm making my app) so I've created a few fields with PyGTK. I can't think of how to explain this so I've attached a picture. What is attached was created with Glade.
Now, there is a signal connected to the 'Apply' button and when it is clicked the method 'OnApply' is called and the appropriate metadata for the field is created. The code that loads the glade file and has the 'OnApply' method is all in a file called SugarFieldText.py.
For my app I import this file and add the field to the app. I can't figure out how to connect a signal for the app to use with this field. I need the app to fetch the metadata generated when the Apply button is clicked. Basically my main app doesn't know when the Apply button is clicked. Only the widget in SugarFieldText.py knows when the Apply button is clicked.
Any help would be appreciated. If I haven't explained my situation enough (which I feel may be the case) please let me know and I'll try and explain further.
<<inline: textfield.png>>
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
