2010/1/13 Mariano Martinez Peck <[email protected]>:
> Ok...I am lazy to open a new thread...My understandings of Morphic are not
> even nil.
>
> I need to programatically open a workspace and set a size to it. For
> example:
>
>
>     Workspace new
>     acceptContents: 'This is the content';
>     openLabel: 'This is a label'.
>
> I saw the message extent:   but is in Morphs, and this is not morph.
>
> I would like to do something like this:
>
>
>     Workspace new
>     acceptContents: 'This is the content';
>     openLabel: 'This is a label';
>     extent: 500 @ 400.
>
>
> Any tips ?
>
> And of course, if I can choose WHERE (x and y) would be greate also.
>

Morph new openInWorld position: 1...@100 ; width: 200; height: 500

> Thanks!
>
> Mariano
>
> 2010/1/13 Gary Chambers <[email protected]>
>>
>> Well, still many loose ends around as we refactor, that's for sure!
>> As for understanding Morphic, there's so much that none can know all...
>> hence trying to simplify with Pharo. Some good stuff, some bad and even when
>> you think you know, there's always something that comes up ,either too easy
>> or next to impossible...
>> Regards, Gary
>>
>> ----- Original Message -----
>> From: Cédrick Béler
>> To: [email protected]
>> Sent: Wednesday, January 13, 2010 4:31 PM
>> Subject: Re: [Pharo-project] How can I remove a picture from background ?
>> 2010/1/13 Gary Chambers <[email protected]>
>>>
>>> All about getting to know how Morphic works... or sometimes doesn't, as
>>> you explore further down the rabbit hole!
>>
>> quite scaring actually :)
>> For instance, for background, I had a quick look at PasteUpMorph and there
>> is backgroundMorph which might be more appropriate but I find no hooks...
>> Anyway... now I know I still don't want to understand morphic :)
>>
>>>
>>> Regards, Gary
>>>
>>> ----- Original Message -----
>>> From: Mariano Martinez Peck
>>> To: [email protected]
>>> Sent: Wednesday, January 13, 2010 3:56 PM
>>> Subject: Re: [Pharo-project] How can I remove a picture from background ?
>>> hahahahha why everybody had the same idea and I didn't ?  hahah
>>>
>>> I seems I ask something very stupid...
>>>
>>> Thanks anyway Cédrick
>>>
>>> 2010/1/13 Cédrick Béler <[email protected]>
>>>>
>>>> something like (not sure though):
>>>> World color: Color white
>>>>
>>>> 2010/1/13 Mariano Martinez Peck <[email protected]>
>>>>>
>>>>> Hi:  I do something like this:
>>>>>
>>>>> Form setBackgroundFromImageFileNamed: '/Users/mariano/Pharo/body.png'
>>>>>
>>>>> And the picture is set as background, but then I don't know how to
>>>>> remove it. I look for a while but I didn't find anything.
>>>>>
>>>>> Thanks for the help,
>>>>>
>>>>> Mariano
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [email protected]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>>
>>>> --
>>>> Cédrick
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [email protected]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>> ________________________________
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>>
>> --
>> Cédrick
>>
>> ________________________________
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



-- 
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to