[gtkada] Eeeeeeeeeeeeeek!

Chris Sparks mr_ada at cox.net
Sun Jul 21 10:10:49 CEST 2013


I use Gdk.Event.Handler_Set_User_Data which is suppose to give me access 
to the events.
Everything I am seeing in the GTK code indicates I should see it. If Gtk 
wants to mask it
then that is one thing but I wouldn't think it affects me.

I guess if I could find this "draw" stuff in Gtk (c code) then I'd see 
how they do things
but then again I see Expose events being handling in code.

Chris

> On Sun, 21 Jul 2013 00:29:47 -0700, you wrote:
>
>> I found it in Gtk-Widget.ads
>>
>> I don't use Gtk so I am not sure how I'd get the event so that I can
>> redraw my windows.
> I am not sure if Gdk_Window gets any events of that sort.
>
> A custom widget should be a descendant of Gtk_Drawing_Area or maybe
> Gtk_Event_Box.
>



More information about the gtkada mailing list