matthieu.dubuget at gmail.com
Fri Oct 27 17:08:07 CEST 2006
Jacques Garrigue a écrit :
>> Then, I tried to get one Gdk.window from my application window.
>> Unfortunately, I experienced a runtime crash.
>> let w = GWindow.window () in
>> (* let win = w#misc#window in *)
>> print_endline "Ciao";
>> exit 0
>> If I uncomment the commented line in the above program, I receive
>> "Fatal error: exception Gpointer.Null"
> That one is easy: you need to call w#misc#realize() befor accessing
> w#misc#window. It is done automatically if the window is already
Thanks a lot! I did not thought about this.
More information about the Lablgtk-list