The easy way?-> a label and use repr(dict) to get the string.

A label (or several labels) to format the keys and the values the way
you want to show them.


On Tue, 2010-05-25 at 18:20 +0200, 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?
> 
> Any ideas are welcome.
> 
> Thanks a lot
> Cornelius
> 
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/

-- 
<--Linux... Because I'm Free-->
Marco Antonio Islas Cruz
"Markuz"
Linux User #280229
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
http://www.islascruz.org
http://wwww.christine-project.org
http://www.linuxpozarica.com

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to