[Glade-users] List Widgets..

Günther Mittermayer g_mitter@web.de
Fri, 8 Aug 2003 14:09:48 +0200


Hi all,

I 'm struggling right now trying to understand how to deal with List Widgets..

Already read some of the API documentation, where these nice functions are showed, but I don't understand where should I place my code...

being more specific, in interfaces.c, I saw that glade creates the ListView with the gtk_list_store_new (), but it is called without parameters, and therefore, my list is created, but empty.

The doubts:

*If I want a list with, say 3 columns, should I change the call of gtk_list_store_new in interfaces.c?? I think glade will overwrite it anyway, so It doen't make much sense to me... Where should I define then my columns?

*How do I retrieve the view in order to attach it to the model?

*Is there any tutorial or running example on Tree / List widgets that I could take a look???

thanks,

günther.

__________________________________________________________________________
Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter,
Adressverifizierung, digitale Unterschrift: http://freemail.web.de