Using glade to build guis
Thomas Weholt
thomas at bibsyst.no
Thu Jan 20 09:00:22 EST 2000
Martin von Loewis wrote:
>
> Thomas Weholt <thomas at bibsyst.no> writes:
>
> > I`ve tried to use Glade to build guis and run them with the glade.py
> > module/script. What I don`t understand is how to make it react to
> > keypressing or other events. Does a manual/tutorial/example exists on
> > how to prototype a gui in glade then code events-handling and the
> > functional parts of the gui later ??
>
> Documentation is largely missing, it appears. To connect to signals,
> you first have to declare a signal handler in glade. You can then
> connect the signal handler with a specific function. To do so, you can
> either use .connect(signalname, function), or .auto_connect(dictionary
> of signal/handler pairs).
>
> Hope this helps,
> Martin
Yes, but do you have a small example to go with that ??
Thomas
More information about the Python-list
mailing list