[pygtk] Glade and signals?
James Henstridge
james@daa.com.au
Tue, 28 Nov 2000 10:43:26 +0800 (WST)
On Mon, 27 Nov 2000, LF11 wrote:
> How do I connect signals from a glade-built UI?
>
> Hugo Varotto was kind enough to point me towards a simple tutorial on
> using a .glade file in a Python app, but I do not understand how to
> connect signals to subroutines with glade...
Set up the signal handlers inside glade (mapping signals for objects to
handler functions). You can then call the xml.signal_connect() function
to connect a particular function to all signals with a particular handler
name.
James.