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

Hilaire Fernandes hilaire at drgeo.eu
Wed Jun 3 03:41:08 PDT 2020


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/53ea1cc9/attachment.htm>


More information about the Cuis-dev mailing list