Re: progressbar into treeview

On Jan 18, 2009, at 11:06 PM, anguila wrote:

So.. i guess i can't. how can i have a liststrore with progressbar?

On Mon, Jan 19, 2009 at 4:58 AM, anguila <anguila gmail com> wrote:
Im trying to make a downloader and i want to have a treeview with the name of the file and the % downloaded. And when i add a progressbar into a treeview i just get a segmentation fault... :S What i'm doing wrong?

You can't add arbitrary widgets to a treeview, no.

But you can use a cell renderer that shows progress. If you're using gtk+ newer than 2.6 (which is anything made in the last four years) then you can use Gtk2::CellRendererProgress.

Zella, carrying a kite in a long plastic box:  It's like book!
Yvonne, carrying the wooden kite string spool:  It's like a wood!

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