How do I programatically:
- Find an existing Transcript window, or create a new one
- View it (if it was previously docked or minimized)
Thanks
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
Chris Kassopulo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try Omnibrowser. It can have multiple code panes. Here's a blog that talks
about it in an entry called Better Code Browsing in Squeak.
http://tinyurl.com/555de6
Wow. Grouping, multi-code panes, and back button. Thank
Ramon Leon [EMAIL PROTECTED] wrote
I need to get some unique identity string for my objects,
and subsequently
to find that object from that string. How can I do this?
Thanks - Sophie
UUID new asString36
In a Seaside app when do you find it useful to generate these for some of
your domain
Is it considered bad practice to use #respondsTo:? If so, why?
Lint flags it as a questionable message.
Thanks - Sophie
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
I have some methods that currently refer to iVars, called from other methods
of the same class. I need similar functionality in other classes, not
related by inheritance, and want to keep it DRY.
If I move the iVar references into explicit method args they can be easily
re-located and shared.
Marcin Tustin [EMAIL PROTECTED] wrote in message
What's wrong with keeping them instance-side?
I need similar functionality in other classes, not related by inheritance
(unless I push things really high where they do not below). MI or traits
might be options.
Sophie
Ramon Leon [EMAIL PROTECTED] wrote
Like a class? Classes are singletons, what do you have against using them
as such?
That's my feeling too, in general.
Is my specific usage style OK -- many instance methods from many classes
calling shared state-less methods from a common class? Or does it
Diogenes Moreira [EMAIL PROTECTED] wrote in message
You can package your images like Lukas Reggie do in
Seaside One lick.
Can this be made to run headless? Presumably I have to compile from some
source ... where might I find more info?
Thanks - Sophie
#become: apparently (effectively) swaps object ids.
Is there anything like
x oneWayBecome: y
that would pass this test:
testOneWayBecome: x to: y
| a b |
a := x.
b := y.
x oneWayBecome: y.
self assert: [x == y].
self assert: [a == y].
self assert: [b == y].
(Not
Herbert König [EMAIL PROTECTED] wrote in message
Here's what to do:...
Thank you, Herbert.
What I really hate to loose are the gazillion of workspaces or Morphs
where I illustrate my ideas
How do you illustrate your ideas in workspaces and Morphs? Code snippets?
Drawing? Browsers on
What is/are the recommended way/s to retaining my image customizations
(mostly MC packages loaded, but ideally other environment customizations
like preferences, keyboard shortcuts, preferred browsers, etc.) when I
replace my image?
I am currently thinking of having a MC package with
I can't seem to resize Omnibrowser columns, is it something subtle?
- Sophie
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Ah, thanks. Yes, I do have UIEnhancements.
Matthew Fulmer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Mon, Dec 03, 2007 at 09:08:36PM -0600, itsme213 wrote:
The shift-click does not seem to do anything on 3.9 on XP (for me,
anyway).
Could it be some other magic keys on XP
What does it do? When does it appear?
Thanks - Sophie
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
How do I search all method bodies for a text string?
Thanks!
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Matthew Fulmer [EMAIL PROTECTED] wrote in message
What are you trying to do, exactly?
Currently just experimenting to decide some architectural choices, one of
which would define some of my classes in an aspect-oriented style: different
aspects of overlapping classes -- including i-vars --
I understand how Monticello deals with me adding (in my package) some
methods to an existing class like Object (from other package).
How does it deal with me adding an instance variable?
Thanks!
___
Beginners mailing list
Can method names be re-mapped when I apply a trait? How?
Also, if yes, can the same trait be used multiple times to the came class
(with different mappings)?
Thanks - Sophie
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
Ron Teitelbaum [EMAIL PROTECTED] wrote
I see that you have been asked already but, could you please give us a
name
we can use besides itsme213?
But of course ... I had not realized my signature was broken.
Thanks ... Sophie.
___
Beginners
I want the title of my Inspector window to use #printOn: on the target
object (like the Explorer window does), rather than just show the name of
the class. I've poked around and cannot figure out what I should change. Any
clues / hints appreciated :-)
Also, is printOn: the right one to
That sounded a lot like a complaint ... it was not meant to be one! Is there
someplace (current or in the works) for standard rudimentary online help?
itsme213 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Is there some reason why the myriad tools in Squeak don't have even
What are the options to get kids (7-10) using Squeak? I have see eToys,
Scratch, Alice. Are there others?
Any recommendations on which to choose? I want something that they can start
with easily, but that will grow with them at least for a while.
Thanks.
From: stephane ducasse [EMAIL PROTECTED]
http://smallwiki.unibe.ch/botsinc
but more for 9 or 10
Thanks Stef. We are already using BotsInc and liked it a lot!
I am looking to move towards building things with richer models and hoping
(ideally :-) it can be done with a kid-friendly toolkit
From: Ramon Leon [EMAIL PROTECTED]
I'm trying to load into Squeak 3.8 the latest Tsunami from
Monticello (after successfully loading
PackageInfo-Base-avi.20). I get:
Error: key not found
(apparently from SystemDictionary not containing
#MCPostscriptDefinition)
Any idea what I may be doing
I'm trying to load into Squeak 3.8 the latest Tsnuami from Monticello (after
successfully loading PackageInfo-Base-avi.20). I get:
Error: key not found
(apparently from SystemDictionary not containing #MCPostscriptDefinition)
Any idea what I may be doing wrong?
Thanks!
Thank you so much for this write-up, Ron!
I've used Monticello a few times just to get other people's published
packages, yet everytime I need to get into it I get a bit of a sinking
feeling :-( I really like what the tool does under the covers, but don't
find the UI intuitive (for an
So this style doesn't really suit Smalltalk.
I was referring to the image-based equivalent I had outlined ...
Since you are in an image-based world with Squeak, a solution closer to
Ruby
would be to extend Class with methods like
add_attribute: name rw: aBoolean
remove_attribute:
One important difference: in Ruby you are using a mini-DSL. Remove or rename
the attr... and the getters and setters follow. In Squeak once you generate
the accessors you deal with them individually. So if you remove the instance
variable, you have to manually remove the accessors.
Since you
Thanks Damien. Couple of follow-ups below.
From: Damien Cassou [EMAIL PROTECTED]
itsme213 wrote:
I have tried to install some packages from SqueakMap and get errors about
some pre-requisite dependencies. Is there a loader / packager that is
aware of such dependencies and will automatically
to shuffle around
bits of text or jump from one window frame to another using familiar
keyboard commands - well for me it's like coming to the surface of the
water and being able to breathe again ;)
This sounds like manna from heaven ...
I tried loading SVI and got:
This package depends on the
The class browser is a view onto the live class object, even though it
appears to be a categorizing text editor. It's not.
This is starting to sink in :-) Quite a nice change, and not too difficult,
except for a wide-scale re-training of muscle memory on keyboard shortcuts.
How can I easily create getters/setters for my instanceu variables?
And where can I find refactoring tools?
Thanks.
___
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Is there an easy way, within squeak itself, to open a text editor on an
entire class and simply edit the file and save the entire file
(equivalently, file-in the string-buffer). I find I am quicker with this
than all the mousing around, specially when making a new class.
I know I can file-out
I miss my Ruby macros (1st day in Squeak and I love it ... dislike the
camelCase tho'). Would this be the correct way to go about it?
RUBY:
class Class
def has_many symbol
...generate getter/setter with Collection.new
end
end
class House
has_many :doors # just remove this line to Undo
34 matches
Mail list logo