On Friday, June 3, 2016 at 12:49:20 AM UTC-7, Jerome Legrand wrote:
> Le vendredi 27 mai 2016 21:53:25 UTC+2, Brad Lanam a écrit :
> > On Friday, May 27, 2016 at 9:07:23 AM UTC-7, Jerome Legrand wrote:
> > > Hi,
> > >
> > > I need to make snapshot of widget in order to fgenerate some documentation in my tool. After some research the Img::window package seems to be (almost) perfect.
> > >
> > > The problem is i mostly have incomplete image generation, even if the widget is visible.
> > >
> > > I "topmost" the toplevel window, i raise it, i raise the specific widget, i update before createing the photo. The first time, it works, but after that it does not :(
> > >
> > > Is there known bugs (i'm using the 1.4.3 version of Img package and tcl 8.5.18).
> > >
> > Wouldn't a standard system snapshot tool work out better? The linux flavors all have some sort of 'screenshot' tool, Windows has their snipping tool.
>
> It is a possibility but it would much more complex that the the simple code to grab the widget image and it would not have the same possibility : i switch between widget in order to produce image for an automatically generated documentation. I m not sure i can do the same with an external tool.
Right. For automatically generated documentation, an external tool would be difficult. Unfortunately, I'm not using that part of the Img package, so can't help with that. You'll have to see if anyone else is familiar with it.