[Cuis-dev] ContentPack, import a small png file as a method

Juan Vuletich juan at jvuletich.org
Wed Jun 3 06:35:38 PDT 2020


Hi Hilaire,

Check #defaultForm. But first pull git repo and installd updates, as I 
just had to fix it.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich


On 6/3/2020 7:41 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> I need to import one tiny png file as a Form in a method.
>
> I tried with ContentPack, I can import but I did not find how to make 
> a method of it in one of my class.
>
> ContentPack import
>
> Then in the Transcriipt: a ContentPack('subMenu.png'->ColorForm(9x6x-2) )
>
> I can inspect the returned ContentPack instance and see the form but 
> is there a practical method to store it in a method?
>
> What am I missing?
>
> Thanks
>
> Hilaire
>
> PS: reported a related issue in github 
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/167
>
> -- 
> GNU Dr. Geo
> http://drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200603/b468aecc/attachment.htm>


More information about the Cuis-dev mailing list