Re: progressbar into treeview
- From: muppet <scott asofyet org>
- To: anguila <anguila gmail com>
- Cc: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
- Subject: Re: progressbar into treeview
- Date: Mon, 19 Jan 2009 01:16:02 -0500
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.
http://library.gnome.org/devel/gtk/stable/GtkCellRendererProgress.html
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/CellRendererProgress.html
--
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]