I'm porting a little Morphic geometry program from Morphic to a Spec 2
application using GTK.
I need to draw a shape in an SpAthensPresenter but to draw it I need to know
the current dimensions (extent) of the presenter so it can still work OK
even when the window is resized.
The old Morphic version also used An Athens canvas but I had no problem then
as a morph has an extent method that provides this information. But now that
I can't use a morph I find that the extent method of an SpPresenter always
seems to answer nil.
Is that right? How d you get the current size of a presenter? Is it a bug?
I'm using a very recent Pharo 9 image and headless VM on Linux.
Do you know when the fix for the extent problem under Gtk will be in the
image? I downloaded the latest Pharo 9 image a couple of days ago and,
though the fix was in for the extent problem in Morphic, it still didn't
work in Gtk.