[gtkada] Eeeeeeeeeeeeeek!

Chris Sparks mr_ada at cox.net
Mon Jul 29 15:32:41 CEST 2013


Actually I look for all events.  I see:

Visibility_Notify
Window_State
Visibility_Notify

I have tried to use "Add_Filter" (i.e. gdk_window_add_filter) which 
wasn't in the binding and
I can see all of the WM_DRAW messages but no drawing is going on.

I think that maybe the win32 version is broken.  I have tried to 
recompile all of the source
code myself and it won't compile on my system here for one reason or 
another.

I don't know in which order things should be compiled and I don't have 
enough background to
deal with the compilation issues.

chris.

>> I think you should redesign your application, it will not work otherwise.
>> Note that other relevant stuff was changed as well. Size request is gone.
>> The only workable way to capture widow being resized is again from draw
>> (checking allocated area of the widget).
> In fact, you are likely looking for the "size-allocate" event here, not the size
> request (which indeed is different now, using the Get_Preferred_Width and
> Get_Preferred_Height instead).
>
> Or perhaps the "configure-event".
>
> Emmanuel
> _______________________________________________
> gtkada mailing list
> gtkada at lists.adacore.com
> http://lists.adacore.com/mailman/listinfo/gtkada
>



More information about the gtkada mailing list