philippeback wrote
> Ideas?

I created a hook. You can load the slice for Issue 7529: [ENH]: Spec "About"
window text. Then override #aboutText in your ComposableModel subclass

Or, for now, this hack works, but I don't know if there are other
consequences...
    MyCoolUI class>>open

        | instance windowModel |
        instance := self new.
        windowModel := instance openWithSpec.
        windowModel
                extent: 500@300.
        windowModel window model: instance.
        ^ windowModel.

And then you would write the about text in MyCoolUI class comment...

HTH,
Sean



--
View this message in context: 
http://forum.world.st/Spec-question-how-to-set-the-About-contents-for-the-window-opened-with-openWithSpec-tp4670435p4670459.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to