[gtkada] Cairo Context 0x0
    Dmitry A. Kazakov 
    mailbox at dmitry-kazakov.de
       
    Fri Jul 22 09:16:51 CEST 2016
    
    
  
On 2016-07-22 09:11, bertus.dries at planet.nl wrote:
> I have been searching further and found in the comment of cairo.ads that
> I must connect to the "expose-event". That gave again problems until  on
> the internet I found that expose-event did not exist anymore and was
> replaced by your "draw" event. The question that remains is how to
> create a "draw" event so that I can retrieve the context to create lines
> with the functions that need the Context?
Queue draw:
https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-queue-draw
[ Which is not needed anyway, unless the widget must be updated 
periodically, e.g. an oscilloscope, clock widget ]
-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
    
    
More information about the gtkada
mailing list