[Pharo-project] A question about UIManager
stephane.ducasse at inria.fr
Mon Apr 11 22:44:23 CEST 2011
"Answer the current theme for the receiver."
(self valueOfProperty: #theme) ifNotNil: [:t | ^ t].
^(self window ifNil: [self class]) theme
"Set the current theme for the receiver."
self theme = aUITheme ifFalse: [
self setProperty: #theme toValue: aUITheme.
and theme is defined on the Morph class so this means that we can change the UITheme current by self theme :)
More information about the Pharo-project