Le 18/7/16 à 14:12, Marion Noirbent a écrit :
Hi,

In the issue 18742 add class to manage focusorder, Peter Uhnák says:

"
The idiomatic way of creating icons should be either
#smallBackIcon asIcon (ideally)

or the long-form
(Smalltalk ui icons iconNamed: #smallBackIcon)
"


But there is a third way, ComposableModel defines iconNamed: like that

ComposableModel>>iconNamed: aSymbol
   ^ Smalltalk ui icons iconNamed: aSymbol

So it is possible to use self iconNamed: #smallBackIcon

So my question is: what way is really ideal ?

For now use

ComposableModel>>iconNamed: aSymbol

Stef





Reply via email to