(newbee) Action on startup and world window handling
Ken Causey
ken at kencausey.com
Thu Oct 13 19:58:48 UTC 2005
See Behavior class>>startUp: and Behaviour class>>startUp. Implement
these on the class side of the relevant class. Then once in the image
(perhaps in a class side initialize method) call SystemDictionary
addToStartupList: <the class with the startUp or startUp: method>. And
of course save the image.
Ken
On Thu, 2005-10-13 at 20:14 +0200, Marcus Pedersén wrote:
> Hello!
> I want to read in from a file first thing when an image starts up but
> how do I get hold of that action?
> Second thought is if there are some methods for main World window to
> be able to set max and min size. So when user drags in a corner with
> the mouse the window does not become larger/smaller then specified.
>
> Many thanks in advance!
>
> Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20051013/9b7e5eee/attachment.pgp
More information about the Squeak-dev
mailing list
|