Re: [pygtk] TextView

2005-07-05 Thread Eric Jardim
On 7/4/05, Paul Malherbe [EMAIL PROTECTED] wrote: What I would like to do, when this occurs, is display a TextView widget directly under the Entry widget and display each character entered sothat with the formatting facilities of the TextView the operator wouldbe able to view all the text. Once

Re: [pygtk] Clearing treeviews...

2005-07-05 Thread Prash
model = treeview.get_model() model.clear() This should do it. If it does not then call treeview.queue_draw() after. On 7/4/05, Rob Marino [EMAIL PROTECTED] wrote: Hi. I'm writing an app which uses a tree view/liststore... Can anyone please tell me how to easily/efficiently clear a

Re: [pygtk] TextView

2005-07-05 Thread Paul Malherbe
Eric Jardim wrote: On 7/4/05, *Paul Malherbe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: What I would like to do, when this occurs, is display a TextView widget directly under the Entry widget and display each character entered so that with the formatting facilities

[pygtk] need advises on treeview use for memory puprose

2005-07-05 Thread [EMAIL PROTECTED]
Hi list, I'm using lot of treeviews. Is it better in memory purpose to: 1. use the gtk.treestore as data storage. (have an entry in the model for each simple type str ... or use a more complex object ?). 2. have an independent data storage. (when a row is selected, we search the name of the

[pygtk] missing function

2005-07-05 Thread Le Boulanger Yann
why is the gtk_widget_list_accel_closures function not wrapped ? gtk_widget_list_mnemonic_labels is wrapped and it seems it's quite the same thing. maybe there is a good reason ? Is there a workaround to know if a meuitem has an accelerator ? Thx in advance Yann

Re: [pygtk] need advises on treeview use for memory puprose

2005-07-05 Thread David M. Cook
On Tue, Jul 05, 2005 at 04:10:25PM +0200, [EMAIL PROTECTED] wrote: I'm using lot of treeviews. Is it better in memory purpose to: 1. use the gtk.treestore as data storage. (have an entry in the model for each simple type str ... or use a more complex object ?). It's a lot more flexible