[Glade-users] images in gtk, and escape from gtk_main_loop
- From: f parzefall multitest de (f parzefall multitest de)
- Subject: [Glade-users] images in gtk, and escape from gtk_main_loop
- Date: Wed, 26 Sep 2001 07:55:52 +0200
Hi Yannis,
what works fine for me is:
Call a function that loops and grabs pictures and displays. To still
keep the rest operable call gtk_main_iteration() each time you'll
grabbed an image. Be sure about reentrancy issues however!
I display the images I grab with gdk_draw_gray_image() (draw raw image
onto a GdkPixmap) and gdk_draw_pixmap() (draw GdkPixmap onto a GtkImage
widget). For me this works fine without any flickering.
Hope this helps,
Franz
------------------------------------------------------------------
Franz Parzefall
Vision Systems
Multitest elektronische Systeme GmbH & Co. KG
Aeussere Oberaustr. 4
83026 Rosenheim
Germany
Tel: +49 (0)8031 406 473
Fax: +49 (0)8031 406 420
Email: f parzefall multitest de
Web: www.multitest.de
------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]