melguin has asked for the wisdom of the Perl Monks concerning the following question:
Here is my subroutine to refresh it (doesn't work):#get the recipe list in the main windows my $recipe_clist = show_recipe_list(); ## pack everything in ## $window_main->set_contents( $recipe_clist); ## show everything in the main windows ## show_all $window_main;
My instinct was to hide the CList (which happens), redefine the CList, then redisplay it in the window (never happens -- thus my problem).sub refresh_main_window { $recipe_clist->hide(); $recipe_clist = show_recipe_list() || die "Problem on exchange +: $!"; $recipe_clist->show_now() || die "Problem on show: $!"; }
The error message returned from the "$recipe_clist->show_now()" line says Resource temporarily unavailable .
Any solutions or ideas for further investigation?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: refreshing a GTK widget
by Monky Python (Scribe) on Aug 04, 2001 at 02:05 UTC | |
|
Re: refreshing a GTK widget
by stefan k (Curate) on Aug 06, 2001 at 12:19 UTC | |
|
Re: refreshing a GTK widget
by stefan k (Curate) on Aug 05, 2001 at 00:00 UTC |