Category Archives: Python - Page 5

Inserting images in a TreeView/ListView

I already know that this post will be useful just to me, because I know that some­day I’ll forgot how to do this and I’ll be look­ing for a solu­tion. So here’s how to insert an image in a Tree­View ListView using python.

Tech­ni­cally, a ListView widget doesn’t exists, but it is a Tree­View with a List­Store model asso­ci­ated in place of a TreeModel. And this “howto” uses a ListView as exam­ple as it is easier to set up, but the con­cept remains the same for all the kind of TreeViews.

Read more »

phbook

gphone was an exist­ing name, and google didn’t allowed me to create it (because there was another project with same name hosted on source­forge), so I called it phbook.

Actu­ally, it misses sev­eral func­tions yet, but it is quite usable (although you can’t delete num­bers from the phone­book). You can down­load it only from svn at the moment.

It’s home­page is: http://​code.​google.​com/​p​/​p​hbook/

I will write down some doc­u­men­ta­tion as soon as I’ll have some more spare time :)