squeak Questions

2

In Squeak, is it possible for a GUI program to have multiple windows? For example, if I am making a painting application, is it possible for the "paint palette" and the "canvas"...
Neptunian asked 10/7, 2022 at 7:10

3

I was just wondering if there is a way to work with multiple screens in Pharo or Squeak. I am just switching from VisualWorks to Pharo and am really missing this feature. I am used to having my wor...
Unhand asked 20/12, 2012 at 23:12

2

I am new with Squeak Smalltalk. How I can catch a button click event and execute some code when the button is clicked. I tried this code but it doesn't work! I created a new Button Class: Simple...
Nigrify asked 12/12, 2015 at 19:46

6

Solved

How can you invoke shell commands from Squeak and Pharo? Do these environments have anything in them like the system() function in certain unix languages to run external shell commands, or the back...
Maccarthy asked 13/9, 2009 at 1:40

1

Solved

I know that the implementation signals a MessageNotUnderstood exception, but how does that end up opening a debugger?
Twiddle asked 16/7, 2018 at 13:43

4

Solved

i want to do something like this: Transcript show: '\n'. how?
Switchback asked 19/5, 2009 at 8:58

3

In many languages you can do something like the following: while true: handle events like keyboard input update game world draw screen (optional: delay execution) while this is far from opti...
Delaunay asked 11/5, 2017 at 16:29

2

Solved

Writing a bit of documentation for beginners and I've come against a problem. Knowing what binary messages do, doesn't mean you know what they're called! Some obvious ones, and their respect...
Haematocryal asked 19/1, 2017 at 18:45

3

Solved

I'm writing an FFI interface for an existing library (written in C). The library uses a good number of opaque structures, so I defined a few ExternalStructures (with no fields) to use as void*. N...
Crepuscule asked 19/12, 2016 at 1:12

1

Solved

I'm new using Pharo and I'm trying to iterate over an OrderedCollection, but starting from the end. For example: | c | c := OrderedCollection new. c add: (1). c add: (2). c add: (3). c do: [ :eac...
Repeat asked 7/1, 2016 at 21:12

1

Solved

I'm quite new to Smalltalk and I've been searching a whole day how I could write a GUI. I've found loads of information on how to work with Morphs and what Halos are, but I don't seem to be able to...
Rickart asked 22/12, 2015 at 19:58

2

Solved

In Smalltalk, there are two terms often found within a method body: self and yourself. What is the difference between them?
Frazil asked 22/11, 2015 at 0:9

2

Solved

Some style-guides and idioms suggest that you should not mutate literal arrays, like in this case: MyClass>>incrementedNumbers | numbers | numbers := #( 1 2 3 4 5 6 7 8 ). 1 to: numbers ...
Baler asked 30/4, 2015 at 9:45

1

Solved

How can I add a new item - Workspace openLabel: 'Workspace' - to the World-menu of Pharo 4.0 ? (What can I say... I prefer Workspace over the new what's-it-called. :-) I've looked at several menu-...
Dort asked 23/6, 2015 at 17:1

2

Solved

I have a simple morph in squeak smalltalk. I want to move it from x1,y1 to x2,y2 (animation) with 5 seconds (or 10 seconds) is there a build in way to create animation in squeak smalltalk ?
Loutitia asked 7/6, 2015 at 18:32

2

Solved

Consider the following method in the Juicer class: Juicer >> juiceOf: aString | fruit juice | fruit := self gather: aString. juice := self extractJuiceFrom: fruit. ^juice withoutSeeds ...
Oneiromancy asked 20/1, 2015 at 11:43

4

Solved

Lots of languages have microframeworks for writing very tiny websites or web services, such as Flask for Python, or Sinatra for Ruby. On Squeak, there doesn't seem to be any equivalent; Iliad, Seas...
Epifocal asked 22/12, 2010 at 20:18

1

I posted this to the Squeak Beginners list too - I'll be sure to make sure any answers from there get here :) I'm using Squeak 4.2 and working on the smalltalk end of a named pipe connection, whic...
Renfroe asked 9/1, 2014 at 15:23

2

Solved

How can I send a block and its argument to a method ? so the method receive the block and the block receives the argument and I run the block in the method iteslf...
Kozak asked 12/11, 2014 at 14:22

1

How do you undo in squeak more than one time? I am using coglinux-VM, Squeak-Image 4.5 with Squeak source version 41. I wrote some test code in my workspace window and want to undo more steps, but...
Unlearn asked 10/9, 2014 at 15:32

1

Solved

While i have already played with Athens (see PharoBoids) and liked it, i still miss the exact point about what it is. I came up with these two diagrams (see below) by myself. Are they correct? And...
Woodring asked 24/3, 2014 at 14:28

5

In Smalltalk (and specifically Pharo/Squeak) I want to know if it is OK to leave out the "[" and "]" for the argument to messages like at:ifAbsent: if you don't need a block, like this; ^ bookTitl...
Optics asked 1/2, 2014 at 10:38

2

Is there any current data visualization or 2-d plot package for smalltalk (squeak or pharo) platform? something similar to d3js or processing.org, or maybe sdl support to draw lines/dots on the sc...
Decomposition asked 24/1, 2014 at 1:59

0

I am trying to understand the uses of both. Already I have seen stuff on the SmalltalkHub doesn't often build on Squeak but always seems to work with Pharo. What are the advantages now in 201...
Janetjaneta asked 27/1, 2014 at 8:3

5

All the tools that i searched are 2005 or 2006 and so i dont even dare to try those. I understand that morphic is ok , but i am looking for something like Morphic Designer. http://www.youtube.com/...
Baptiste asked 22/12, 2013 at 16:46

© 2022 - 2024 — McMap. All rights reserved.