manage a list



Hi all,

I would like to use a list in a scrolling windows in a gtk2 application.
My items are the following :
int Item number | string name | string extension | int length

I saw int he API website I can use GtkItem and GtkListStore.
How can I store each item in a GtkItem and feed my GtkListStore ?
Have you got a short example ?
I'm coding in C++.

Thank you for your help.

Jerome



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]