[pygtk] adding buttons to ListStore rows

Francesco Stablum stablum at gmail.com
Thu Aug 7 18:04:47 WST 2008


Hello everybody,

Premise: i'm quite new to Gtk API.

I'm trying to add "download" buttons to ListStore rows in order to
make users able to download files stored in a database.
Actually, after many tries I didn't have success.

I have tried setting the column of type gobject.TYPE_OBJECT and
gobject.TYPE_INTERFACE and for the field value, simply a
gtk.Button("download").
Then I add the row to the ListStore via the liststore.append(row).

The other fields display properly numbers and strings, but even if I
make button.show(), I cannot display the buttons.

Anyone has resolved this issue in the past time? Any Idea?

thanks in advance,
best regards,
-Francesco Stablum

P.S. I am sorry for my poor english

-- 
The generation of random numbers is too important to be left to chance
- Robert R. Coveyou


More information about the pygtk mailing list