Just the parenthesis placement... (UITheme builder newPluggableDialogWindow: 'Pharo is cool' for: (RectangleMorph new)) beUnresizeable; openInWorld Regards, Gary ----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Saturday, June 18, 2011 8:02 PM Subject: Re: [Pharo-project] why (UIManager defaultnewPluggableDialogWindow: 'Pharo is cool') openInWorld On Jun 18, 2011, at 7:58 PM, stephane ducasse wrote:
why
(UIManager default newPluggableDialogWindow: 'Pharo is cool') openInWorld
does not work? Apparently MorphicUIManager is missing something? Stef
(ExampleBuilderMorph new newPluggableDialogWindow: 'Pharo is cool') openInWorld is working because ExampleBuilderMorph inherits from Morph and not from Object (UITheme builder newPluggableDialogWindow: 'Pharo is cool'; minimumExtent: 200@300) openInWorld similarly. Now there is something that I do not understand. What is the use of the builder since I cannot pass it specific setting (UITheme builder newPluggableDialogWindow: 'Pharo is cool' for: (RectangleMorph new); beUnresizeable <<< does not work because the builder (a ComposableMorph does not pass such setting to the PluggableDialogWindow. ) openInWorld I would really like to have a nice kernel that support well such approach. In fact I imagine that we should not use UITheme builder that way. Stef