Re: [Newbies] Basic morphic Question

2010-12-21 Thread Peter H. Meadows
I had the same problem. Although it did allow me to save it as
'UnknowUI'. Then you can see the code in Widgets-Custom.

On Sat, Dec 18, 2010 at 6:17 AM, flebber  wrote:
>
> I have installed and running Morphic UI designer.
>
> I am following the directions on
> https://www.hpi.uni-potsdam.de/hirschfeld/trac/SqueakCommunityProjects/wiki/designer
> https://www.hpi.uni-potsdam.de/hirschfeld/trac/SqueakCommunityProjects/wiki/designer
>
> [IMG] http://forum.world.st/file/n3093457/Morphic.png [/IMG]
>
> However the problem I am having is how do I "save as" in the designer so I
> can choose the name of the project so I can follow on with the tutorial I
> was trying to save it as MyDialogUi
> --
> View this message in context: 
> http://forum.world.st/Basic-morphic-Question-tp3093457p3093457.html
> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
> ___
> Beginners mailing list
> Beginners@lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Explorer and MessageTally [was: remembering variables]

2008-06-05 Thread peter h meadows


I found something explaining the TracingMessagesBrowser and it works in 
the FunImage, but I still can't install it in any other image.


"When you browse Squeak code, one of the browsers you will invariably use 
VERY frequently is a Methods browser.  This browser appears whenever you 
browse "senders" or "implementors" of a method, or references to a class 
or variable, among other things.  It is a two-paned browser, methods list 
in the upper-pane, code in the lower-pane.


 So just keep exploring code normally, the next time you use senders or 
implementors (something any Smalltalker does about 1000 times per day) you 
will see the Tracing Messages Browser.


 These browsers look the same initially, but by having the "traceMessages" 
preference set, they take on enhanced behavior as you "trace" method 
calls.  The SqueakMap entry describes it well:


 "I look like a standard methods browser with methods in the upper pane, 
code in the lower. As you browse senders and implementors, the upper pane 
is built into a "stack" rather than opening new method browsers, reducing 
window profileration. Implementors are indented below the currently 
selected method, senders are outdented above. You end up with a flow of 
the execution of methods across multiple classes all in one place.  The 
stack is quickly customized by easy-removal of unwanted methods. First, 
the upper pane is multi-select, and can handle rapid, sweeping gestures of 
the mouse without dropping selections (shift+clicking is also supported). 
Once methods are selected, you can quickly remove them (just from the 
browser) with otherwise unused Command+f."


 I think this browser has saved me years of closing windows. "
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] Explorer and MessageTally [was: remembering variables]

2008-06-05 Thread peter h meadows


How do I use TracingMessagesBrowser?

If I try to install it with 'Squeak Map Package Loader' I get Error: No 
installer found for package. (this happens in every image that I've 
tried).


If I try to install it from MC I open the repo and click on the mcz and 
squeak hangs. when interrupted it says it was in 
HTTPSocket(OldSocket)>>waitForDataUntil:


I noticed TracingMessagesBrowser is in the FunSqueak image so I tried that 
but I don't see any way to open it.


So confusing. Thanks in advance for your help.

___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] remembering variables

2008-06-02 Thread peter h meadows


Ah. Well, more often than not the variables in my code stay as one 'type' 
of thing. And I thought that generally they would otherwise things would 
get really confusing!?


Sometimes when I try to understand how a program is working I get lost in 
the debugger. What I'd like is a kind of overview of what's going on. 
Something I can browse and focus in on the parts that seem interesting. In 
theory I can do this with the system browser but it doesn't tell me how 
everything fits together. I want to see an overview of how all the parts 
fit together.. Who uses what.. Which bits are connected.. The order in 
which things are done, etc.


Can I get the debugger to show a tree of message sends, that I can browse? 
Something like that?


Any ideas? thx.




"peter" == peter h meadows <[EMAIL PROTECTED]> writes:


peter> Oh. I'm still very new to smalltalk. It seemed like it would help me to
peter> understand what's going on. I wanted it to remember everything. E.g if
peter> the thing is an array it will tell me what has been stored in it. Also,
peter> wouldn't it help with code completion? If it knows what type of object
peter> it was in the past it can guess which messages I want to send to
peter> it. That would be useful.

But the problem is that a given type in the past is not any indication of
a type in the future.

You're not "thinking smalltalk" yet.  Stop worrying about types. :)

Oh, and they aren't types.  They're instances of classes.

If you want to see what's going on, learn to single step in the debugger.
It's quite informative.


___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] remembering variables

2008-06-02 Thread peter h meadows


Oh. I'm still very new to smalltalk. It seemed like it would help me to 
understand what's going on. I wanted it to remember everything. E.g if the 
thing is an array it will tell me what has been stored in it. Also, 
wouldn't it help with code completion? If it knows what type of object it 
was in the past it can guess which messages I want to send to it. That 
would be useful.





peter> Hummm. How much work would it be to add this ability to the browser? And
peter> roughly how would I go about it? Thanks.

Because it's not part of a normal development process with smalltalk?

I don't *care* what types things are, as long as they don't throw
a "does not understand" error when I call various methods with them.

What do you think you'll be doing with the knowledge of "the most recent class
a variable has been assigned"?  How will you use it in your development?


___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


Re: [Newbies] remembering variables

2008-06-02 Thread peter h meadows


Hummm. How much work would it be to add this ability to the browser? And 
roughly how would I go about it? Thanks.


On Mon, 2 Jun 2008, Randal L. Schwartz wrote:


Date: Mon, 02 Jun 2008 19:34:36 -0700
From: Randal L. Schwartz <[EMAIL PROTECTED]>
To: peter h meadows <[EMAIL PROTECTED]>
Cc: beginners@lists.squeakfoundation.org
Subject: Re: [Newbies] remembering variables


"peter" == peter h meadows <[EMAIL PROTECTED]> writes:


peter> Is there a way to make squeak remember what variables have been set to
peter> in the past? So as I'm browsing the source it will tell me which type
peter> of object a variable contained last time that bit of code was running?

Nope, but you can either record the type (maybe write something to Transcript)
or capture it in the debugger.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] remembering variables

2008-06-02 Thread peter h meadows


Is there a way to make squeak remember what variables have been set to in 
the past? So as I'm browsing the source it will tell me which type of 
object a variable contained last time that bit of code was running?



___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[Newbies] managing windows in squeak

2008-04-28 Thread peter h meadows
Hi. I'm new to smalltalk and squeak. I'd like to know how experienced 
users manage the windows when programming with squeak. I often have a lot 
of windows open and struggle to find the right one. Are there keyboard 
shortcuts for switching between windows? Is it possible to program without 
using the mouse at all? Does squeak have 'virtual desktops' or something 
like that?

___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners