On Mon, May 11, 2009 at 08:21:53AM +0000, jyoti wrote:
> 
> hi
> 
> I need to load a surface on a checkbutton when it is clicked.
> I used AG_WidgetBlit in the click event of the widget but that is not 
> working. 
> But the surface is getting loaded in the draw operation of the checkbox.
> How to do it when an event occurs on checkbutton . Pls send ur suggestions as
> soon as possible.

As documented in the manual page, you cannot use the AG_WidgetBlit*()
functions outside of rendering context. What would be the purpose of
blitting a surface on a checkbox?

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to