[gtkada] how to get the Toplevel Window of a Menu_Item ?

Jeffrey Creem jeff at thecreems.com
Thu Sep 1 13:18:39 CEST 2005


> Thomas De Contes wrote:
>
>> hi :-)
>>
>> how to get the Toplevel Window of a Menu_Item ?
>>
>> for other Widgets i use Get_Toplevel,
>> but for Menu_Items, if i try sth like 
>> "myWindow(Get_Toplevel(Object))" i get "CONSTRAINT_ERROR : tag check 
>> failed"
>> (i need it to access fields that i have added to Gtk_Window via 
>> myWindow)
>>
>> _______________________________________________
>> gtkada mailing list
>> gtkada at lists.adacore.com
>> http://lists.adacore.com/mailman/listinfo/gtkada
>>
> It is a shame that the mail archives don't have a good search 
> capability. But with google and some site: keywords I found this old 
> thread
>
> http://lists.adacore.com/pipermail/gtkada/2005-January/003174.html
>
>
>




More information about the gtkada mailing list