[gtkada] Delaying screen updates for drawing area

Nash, D. LTC EECS dd9875 at exmail.usma.army.mil
Thu Apr 5 13:16:55 CEST 2001


Here's a version of the double-buffer demo that works on Win32 systems.  It
was crashing for me on Solaris too, though -- can't remember exactly what
the fix was, but it had something to do with the ordering of the
Threads.Init call.


David A. Nash
LTC, Field Artillery
Computer Support Group
Assistant Professor, Electrical Engineering and Computer Science
Thayer 1115, (845) 938-5575, fax: 938-5956, DSN: 688
e-mail:  david-nash at usma.edu



> -----Original Message-----
> From: Emmanuel Briot [mailto:briot at gnat.com]
> Sent: Wednesday, April 04, 2001 10:35 AM
> To: gtkada at gtkada.eu.org
> Subject: Re: [gtkada] Delaying screen updates for drawing area
> 
> 
> Kay M writes:
>  > I am in a windows system, double buffer demo crashes as 
> soon as loaded, so i 
>  > cant do anything with it ?...
> 
> Right, sorry, I forgot that you had mentionned that fact.
> OK, the demo probably needs to be fixed, but I don't have a 
> windows machine
> around for now.
> 
> However, the double-buffer technics also works on windows. 
> GVD uses a similar
> approach, although it doesn't use the Gtk_Double_Buffer demo directly.
> You might want to look into the 
> Gtkada.Canvas.Interactive_Canvas widget, which
> does its own buffering and works perfectly fine on windows. 
> But it is a more
> complex example :-)
> 
> Cheers,
> Emmanuel
> 
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: anim.adb
Type: application/octet-stream
Size: 196 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010405/eba85541/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anim_task.adb
Type: application/octet-stream
Size: 5385 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010405/eba85541/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anim_task.ads
Type: application/octet-stream
Size: 55 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010405/eba85541/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: double_buffer.adb
Type: application/octet-stream
Size: 13811 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010405/eba85541/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: double_buffer.ads
Type: application/octet-stream
Size: 6580 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010405/eba85541/attachment-0004.obj 


More information about the gtkada mailing list