dlal66 has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks: I am using Tk:GraphViz to display a graph and all is working fine. I would like to create a background image on the "Canvas" (GraphViz is derived from Canvas) but it is not working (image does not appear on canvas; Also no error messages) I can set a background color when creating the GraphViz widget though.
. . $gv = $frame->Scrolled( 'GraphViz', -width=>600, -height=>600, -scrollbars => 'sw', -background => 'lightblue', )->pack(qw/-expand 1 -fill both -padx 10 -pady 5/); my $img = $poe_main_window->Photo( -file => './test.png'); $gv->createImage(0,0,-image=>$img,-anchor=>'nw', -tags=>['img'],);
Any pointers greatly appreciated. THanks

Replies are listed 'Best First'.
Re: Tk::GraphViz and Canvas
by Anonymous Monk on Jun 01, 2016 at 23:34 UTC
    zindex/raise