Hi,
I'm trying to write an application which creats widgets based on a 
config file on the fly. The basic idea was to put a button into a 
listbox and change the content of the listbox in an on click event (like 
expanding a part of the application to display "hidden" objects), my 
problem right now is that I dont know how to bind a button to a callback 
function (I simply cant find anything understandable in the recourses) 
and then adding the new content to the listbox and redrawing it.
Right now I'm able to create the Listbox with the widgets I want, I just 
dont know how to do it on a button click event, or better to say I dont 
know how I can change a widget (the listbox) at runtime.

Can somebody help me with this problem?
Many thanks in advance.

Greets,
Florian

_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to