Re: progressbar into treeview

$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 ^^


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