in reply to refreshing a GTK widget

Hi,
as promised on the perl-gtk mailinglist here is a piece of code that worked for me. If you still have problems you could sent me your full programm ...
### update messages in news ticker sub update_msg { # anti-flicker; msg is a CList... $msg->freeze(); $msg->clear(); my @Loglines = read_log_file(); # setting up the list foreach my $l (@Loglines) { my ($date,$level,$subs,$prg,$code,$text) = split /\s/,$l,6; $date = format_time($date); $text =~ s/\n.*/ [more\.\.\.]/s; $msg->append($text,$prg,$date,$level,$code); } # release $msg->thaw(); }

Another thing that strikes me is that you use

my $recipe_clist = show_recipe_list();
obviously to create the CList and then later use it again:
$recipe_clist = show_recipe_list() || die "..."
which may well lead to confusion if you're not very tricky in show_recipe_list() itself. Sorry if I'm talking like a confused apeman this morning: it's monday and my english circuits are not under full steam yet...

Good Luck!

Regards... Stefan