[Pharo-project] why (UIManager default newPluggableDialogWindow: 'Pharo is cool') openInWorld

Stéphane Ducasse stephane.ducasse at inria.fr
Sun Jun 19 07:53:47 EDT 2011


you are welcome :)

I think that I will log all the things I learn slowly and we will try to fix the inconsistency.

My first notes are in the basicWidgets chapter on pbe 

On Jun 19, 2011, at 12:36 PM, Benjamin wrote:

> Can I participate ?
> 
> 
> Ben
> 
> On Jun 19, 2011, at 8:53 AM, Stéphane Ducasse wrote:
> 
>> I'm starting to write one chapter on basic widgets
>> and I would like to understand and record it. And also modify the system to be consistent.
>> 
>> Stef
>> 
>> 
>> 
>> On Jun 18, 2011, at 9:56 PM, Alexandre Bergel wrote:
>> 
>>> Hi Stef,
>>> 
>>> I have no idea about the answers to your question. But looking into this is important.
>>> 
>>> Cheers,
>>> Alexandre
>>> 
>>> 
>>> On 18 Jun 2011, at 15:02, Stéphane Ducasse wrote:
>>> 
>>>> 
>>>> 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 at 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
>>> 
>>> -- 
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
> 





More information about the Pharo-dev mailing list