[gtkada] gtkada Digest, Vol 37, Issue 4
Hervé Guillaume
nherveg at gmail.com
Fri Apr 20 13:45:14 CEST 2007
Dmitry :
I have tried your proposition : Queue_Draw on the Gtk_Image or on Window. It
doesn't work.
I use Gtk_Image. It seems to me that using Gtk_Drawing_Area +
Gdk.RGB.Draw_Rgb_Image is slower, isn't it ?
Nico :
I'm not very good in Gtkada. I don't know how use Invalidate_Rect
(Gdk_Window) on a Gtk_Window
Hervé
2007/4/20, gtkada-request at lists.adacore.com <
gtkada-request at lists.adacore.com>:
>
> Send gtkada mailing list submissions to
> gtkada at lists.adacore.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.adacore.com/mailman/listinfo/gtkada
> or, via email, send a message with subject or body 'help' to
> gtkada-request at lists.adacore.com
>
> You can reach the person managing the list at
> gtkada-owner at lists.adacore.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gtkada digest..."
>
> Today's Topics:
>
> 1. Display images from video camera. Problem to refresh images
> ( Herv? Guillaume )
> 2. Re: Display images from video camera. Problem to refresh
> images (Dmitry A. Kazakov)
> 3. Re: Display images from video camera. Problem to refresh
> images (Nicolas Setton)
> 4. Re: Display images from video camera. Problem to refresh
> images (Dmitry A. Kazakov)
>
>
> ---------- Message transféré ----------
> From: "Hervé Guillaume" <nherveg at gmail.com>
> To: gtkada at lists.adacore.com
> Date: Thu, 19 Apr 2007 19:07:09 +0200
> Subject: [gtkada] Display images from video camera. Problem to refresh
> images
> Hello,
> I have a litlle problem to display images from a camera. I have used
> tasking for that. And it works almost. Images are displayed automaticaly
> (like a video or a diaporama) ... but only when I move the mouse on the main
> window ! If I don' touch the mouse or if I move the mouse but outside of the
> area drawn by the main window the image stay the same in spite of the
> process continue. As soon as I put the mouse in the main window and move the
> cursor the lastest images are displayed. I have tried to force the display
> with procedure like "show", "show_now" or "show_all" on the gtk_image or on
> the main window but it doesn't work. Anybody has a solution ? Thank you.
> Hervé Guillaume
>
>
> ---------- Message transféré ----------
> From: "Dmitry A. Kazakov" <mailbox at dmitry-kazakov.de>
> To: gtkada <gtkada at lists.adacore.com>
> Date: Fri, 20 Apr 2007 09:18:41 +0200
> Subject: Re: [gtkada] Display images from video camera. Problem to refresh
> images
> On Thu, 19 Apr 2007 19:07:09 +0200, you wrote:
>
> > I have a litlle problem to display images from a camera. I have used
> tasking
> > for that. And it works almost. Images are displayed automaticaly (like a
> > video or a diaporama) ... but only when I move the mouse on the main
> window
> > ! If I don' touch the mouse or if I move the mouse but outside of the
> area
> > drawn by the main window the image stay the same in spite of the
> process
> > continue. As soon as I put the mouse in the main window and move the
> cursor
> > the lastest images are displayed. I have tried to force the display with
> > procedure like "show", "show_now" or "show_all" on the gtk_image or on
> the
> > main window but it doesn't work. Anybody has a solution ?
>
> Queue_Draw?
>
> --
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de
>
>
>
> ---------- Message transféré ----------
> From: Nicolas Setton <setton at adacore.com>
> To: mailbox at dmitry-kazakov.de
> Date: Fri, 20 Apr 2007 10:27:05 +0200
> Subject: Re: [gtkada] Display images from video camera. Problem to refresh
> images
>
> On Apr 20, 2007, at 09:18 , Dmitry A. Kazakov wrote:
>
> > On Thu, 19 Apr 2007 19:07:09 +0200, you wrote:
> >
> >> I have a litlle problem to display images from a camera. I have
> >> used tasking
> >> for that. And it works almost. Images are displayed automaticaly
> >> (like a
> >> video or a diaporama) ... but only when I move the mouse on the
> >> main window
> >> ! If I don' touch the mouse or if I move the mouse but outside of
> >> the area
> >> drawn by the main window the image stay the same in spite of the
> >> process
> >> continue. As soon as I put the mouse in the main window and move
> >> the cursor
> >> the lastest images are displayed. I have tried to force the
> >> display with
> >> procedure like "show", "show_now" or "show_all" on the gtk_image
> >> or on the
> >> main window but it doesn't work. Anybody has a solution ?
> >
> > Queue_Draw?
>
> Invalidate_Rect on the main window?
>
> Nico
>
>
>
>
> ---------- Message transféré ----------
> From: "Dmitry A. Kazakov" <mailbox at dmitry-kazakov.de>
> To: gtkada <gtkada at lists.adacore.com>
> Date: Fri, 20 Apr 2007 11:05:50 +0200
> Subject: Re: [gtkada] Display images from video camera. Problem to refresh
> images
> On Fri, 20 Apr 2007 10:27:05 +0200, you wrote:
>
> > On Apr 20, 2007, at 09:18 , Dmitry A. Kazakov wrote:
> >
> >> Queue_Draw?
> >
> > Invalidate_Rect on the main window?
>
> On the widget that shows the image. Is it Gtk_Image? (I don't know if
> Gtk_Image is a non-window widget.)
>
> BTW, I would use Gtk_Drawing_Area + Gdk.RGB.Draw_Rgb_Image, it looks more
> straightforward to me, when the image comes from outside.
>
> --
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de
>
>
> _______________________________________________
> gtkada mailing list
> gtkada at lists.adacore.com
> http://lists.adacore.com/mailman/listinfo/gtkada
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20070420/47593612/attachment.htm
More information about the gtkada
mailing list