mirek binas <[EMAIL PROTECTED]> writes:

> i've got a dialog with ListStore widget. from this dialog is called
> another one, from which is possible to add new entries to this
> ListStore. after adding new entry - this will be stored into file.
> 
> how to synchronize this two dialogs? i want to refresh the ListStore
> dialog after the new entry was created. how can i do this?

Just pass the ListStore model to the second dialog.  When you create a
new entry, add it to the model it will show up in the original dialog,
just like magic.  The easiest way to synchronize is to share the
model.
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to