[pygtk] Use which widget to display dictionary?
Timo
timomlists at gmail.com
Wed May 26 02:10:05 WST 2010
On 25-05-10 18:20, Cornelius Kölbel wrote:
> Hello list,
>
> I got a dictionary that I'd like to show to the user.
> What do you think is the best way to display it? I do not want to edit
> it. Maybe it needs to be scrolled.
> The depth of the dictionary is only 1, e.g. there are no more
> dictioaries within the dictionary.
>
> I'd like to produce not too much code.
> What do you think? Should I use a
> label with linebreaks
> a treeview or a
> textview?
>
> I think the least effort would be the label, but it might not look so nice?
>
A gtk.Textview would be exactly what you need. You'll need a bit more
code than with a gtk.Label, but not much.
Cheers,
Timo
> Any ideas are welcome.
>
> Thanks a lot
> Cornelius
>
>
>
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
More information about the pygtk
mailing list