Re: [Pharo-users] Spec - Display an ICON without dropping to Morphic

2016-09-12 Thread Brad Selfridge
Whew Thank you for the quick response. I'm starting to get my arms around Spec. Thanks for your help. - Brad Selfridge -- View this message in context: http://forum.world.st/Spec-Display-an-ICON-without-dropping-to-Morphic-tp4915253p4915259.html Sent from the Pharo Smalltalk Users

Re: [Pharo-users] Spec - Display an ICON without dropping to Morphic

2016-09-12 Thread Johan Fabry
Hi Brad, all forms can be shown as part of a Spec UI. There’s the ImageModel for that. For example, supposing you have an ‘icon’ instance variable in your UI, add to initializeWidgets: icon := self newImage. icon image: (#thumbsUp asIcon). HTH -- Does this mail seem too brief? Sorry for

[Pharo-users] Spec - Display an ICON without dropping to Morphic

2016-09-12 Thread Brad Selfridge
I want to create a MessagePrompter widget that will display either and error, warning, or information message. I want to display a different icon associated with each message type. Is there a way to do this in Spec without having to drop down into Morphic? I do NOT want to have to learn Morphic.