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 ma
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 that,
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.