2014-11-12 15:14 GMT+01:00 Clément Bera <bera.clement@gmail.com>:
Hello,

I would like for specific objects to change the default window size of the glamour inspector (Basically a bigger window will be opened by default for these objects). This is because I extended my inspectors to provide roassal visualization that are quite large.

How can I do it ?

For example I would like something like that:

MyObject>>#gtInitialWindowExtent
    < gtInitialWindowExtent >
    ^ 800@1000

Clement



I think this is not doable.
You can change the method with the inspector pragma to be called with the context (inspector instance)

gtInspectorItemsIn: composite inContext: aGTInspector
    <gtInspectorPresentationOrder: 30>

instead of

gtInspectorItemsIn: composite
    <gtInspectorPresentationOrder: 30>

this way you have access to the glamour inspector. Unfortunately it does not have any
window extent property.

Maybe we can move the initialExtent property from GLMBrowser up to GLMPresentation?
That way it would be accessible and usable for this aGTInspector argument.



Nicolai