Re: progressbar into treeview
- From: anguila <anguila gmail com>
- To: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
- Subject: Re: progressbar into treeview
- Date: Mon, 19 Jan 2009 05:06:11 +0100
$llista_links is a Gtk2::SimpleList, i readed doc and:
my $slist = Gtk2::SimpleList->new (
'Text Field' => 'text',
'Markup Field' => 'markup',
'Int Field' => 'int',
'Double Field' => 'double',
'Bool Field' => 'bool',
'Scalar Field' => 'scalar',
'Pixbuf Field' => 'pixbuf',
);
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?
[...]
my $pbar = new Gtk2::ProgressBar->new();
my $pixbuf= Gtk2::Gdk::Pixbuf->new_from_file("../img/servers/".$servidor.'.gif');
my $finestra_principal = $programa->get_widget('finestra_principal');
push @{$llista_links->{data}}, [$pbar,$def_link,$combo->get_active_text,$pixbuf, $finestra_principal->render_icon('gtk-no','menu')]
Thanks ^^
David.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]