Re: [Newbies] Designing proportional layout with the mouse
> (chld topLeft - parent topLeft / parent extent) corner: > (chld bottomRight - parent topLeft / parent extent) The position is relative to the parent innerBounds ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Re: [Newbies] Re: Re: A do with ONLY index? (plus, . a style question)
Blake wrote: On Fri, 09 Feb 2007 02:54:14 -0800, Klaus D. Witzel <[EMAIL PROTECTED]> wrote: Why doesn't this: ^ self basicNew initialize cause a DNU? Object doesn't have an "initialize" method. Really ? :) It is inherited from ProtoObject ;-) Wow, don't know how I missed that. I guess maybe partly because the debugger doesn't go into the method (because it's blank, I suppose). Actually, the method isn't blank, it's actually "^ self", except that that part is added automatically and you don't see it. See here: http://users.ipa.net/~dwighth/smalltalk/bluebook/bluebook_chapter27.html#CompiledMethods27 One of the optimisations in Smalltalk is that a method that's just "^ self" actually doesn't have any bytecodes but just a special flag in the method header. Glossing over a few details, the Interpreter picks this up and skips over it. It's interesting to play with the right-most button on the Browser - click it and see the bytecodes or the "decompilation" of source. Michael. ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
[Newbies] Designing proportional layout with the mouse
I'm trying to design a Morphic layout using a minimum of code. I see that you can set the layout policy of a morph from the Yellow button menu. Unfortunately, I don't know how to add a sub morph using that policy. Currently I'm positioning one morph on top of another and evaluate this code: parent layoutPolicy: ProportionalLayout new. parent addMorph: chld fullFrame: ( LayoutFrame fractions: ( (chld topLeft - parent topLeft / parent extent) corner: (chld bottomRight - parent topLeft / parent extent) ) ) While that works I'd like to do this the eToy like way if possible. Alex ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
RE: [Newbies] Loading SSL
Cédrick, Yes that is the config file. What you need to do is browse the config file from the Monticello browser. That brings up the Monticello configuration browser. Then select update from repositories to get the latest code. Then load. This will update your image in the proper order for all of our cryptography code. If you have any questions about this please ask. Also remember you first need to load the patch in the bug: http://bugs.impara.de/view.php?id=5217 to get Monticello Configurations to work. If you can not get that to work you could load the packages manually. For it to work the packages should be loaded in the same order as the config file. http://www.squeaksource.com/Cryptography/Cryptography-Configuration.mcm Hope that helps, Ron Teitelbaum Squeak Cryptography Team Leader > -Original Message- > From: [EMAIL PROTECTED] [mailto:beginners- > [EMAIL PROTECTED] On Behalf Of cdrick > Sent: Saturday, February 10, 2007 8:24 AM > To: A friendly place to get answers to even the most basic questions > aboutSqueak. > Subject: Re: [Newbies] Loading SSL > > > Yes, I added the Cryptography repository and can see all the > > Cryptography categories but I'm not sure what I need to load and do in > > order to get SSL up and running. I don't see anything called > > Cryptography-Configuration.mcm, just .mcz files. > > > > Where do you see a configuration directory? In Monticello I just see > > Cryptography- (18 of them), Fortuna and > OpenPGP. > 2nd one > http://www.squeaksource.com/Cryptography/Cryptography-Configuration.mcm > > but I don't know if it's this one... > Cédrick ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Re: [Newbies] Loading SSL
Yes, I added the Cryptography repository and can see all the Cryptography categories but I'm not sure what I need to load and do in order to get SSL up and running. I don't see anything called Cryptography-Configuration.mcm, just .mcz files. Where do you see a configuration directory? In Monticello I just see Cryptography- (18 of them), Fortuna and OpenPGP. 2nd one http://www.squeaksource.com/Cryptography/Cryptography-Configuration.mcm but I don't know if it's this one... Cédrick ___ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners