Skip to content

Commit 1f8dd15

Browse files
Added method comment for #iconName:from:
1 parent d97e834 commit 1f8dd15

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Commander2-UI/CmUICommand.class.st

+4-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ CmUICommand >> iconName: aSymbol [
8686
]
8787

8888
{ #category : #configuring }
89-
CmUICommand >> iconName: aString from: anIconProvider [
89+
CmUICommand >> iconName: aString from: anIconProvider [
90+
"This methods is just some syntax sugar to allow one to set both the icon name and icon provider in a single message.
91+
It is totally equivalent to set the icon name and provider separately.
92+
"
9093
self iconProvider: anIconProvider.
9194
self iconName: aString.
9295
]

0 commit comments

Comments
 (0)