and here is where i populate itour $table = Gtk2::SimpleList->new_from_treeview ( $gui->get_widget ('Table'), 'Date' => 'markup', 'Time' => 'markup', 'IP Address' => 'markup', 'Status' => 'markup', 'WebServer' => 'markup', 'Action' => 'markup', 'URL1' => 'markup', 'URL2' => 'markup', 'Cookie Info' => 'markup'); $table->get_selection->set_mode ('multiple'); $table->get_selection->unselect_all; $table->set_reorderable (TRUE); map { $_->set_resizable (TRUE) } $table->get_columns;
Am i doing something wrong? Does anyone have any suggestions on how to speed up the scrolling?for $temp (@rArray){ my $pre; my $post = "</span>"; my ($a1,$b1,$c1,$d1,$e1,$f1,$g1,$h1) = split(/;;/,$tem +p); if ($d1 eq "200"){ $pre = "<span foreground=\"#CCCC00\">"; } if ($d1 eq "300"){ $pre = "<span foreground=\"#00FF99\">"; } if ($d1 eq "400"){ $pre = "<span foreground=\"#900000\">"; } if ($d1 eq "500"){ $pre = "<span foreground=\"#6600FF\">"; } $a1 = $pre.$a1.$post; $a1 =~ s/&/&/g; $b1 = $pre.$b1.$post; $b1 =~ s/&/&/g; $c1 = $pre.$c1.$post; $c1 =~ s/&/&/g; $d1 = $pre.$d1.$post; $d1 =~ s/&/&/g; $e1 = $pre.$e1.$post; $e1 =~ s/&/&/g; $f1 = $pre.$f1.$post; $f1 =~ s/&/&/g; $g1 = $pre.$g1.$post; $g1 =~ s/&/&/g; $h1 = $pre.$h1.$post; $h1 =~ s/&/&/g; push @{$table->{data}},[$a1,$b1,$c1,$d1,$e1,$f1,$g1,$h +1]; }
In reply to GTK2::SimpleList really slow by GigaRoc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |