Let's say I have a new Morph: How do I close / delete the Morph off? ...
Let's say I have a new Morph: How do I close / delete the Morph off? ...
It can't get the Pen to work properly in a Morph. I arrived at the snippet below but I don't understand how to update the view of the Morph after I ...
I am exploring Squeak, release 5.2 in MacOS. I am drawing lines (PolygonMorph) inside a RectangleMorph 'r'. When I translate 'r' the lines translate ...
I have a morph. This morph is designed to hold a row of submorphs, which I use a TableLayout layout policy for and it works well. However, I want thi ...
For instance, in the Lessphic Tutorial (page 6), the following is written: What does “@” mean? Is it a point with x and y coordinates? This notatio ...
In many languages you can do something like the following: while this is far from optimal it should suffice for simple games. How do you do this i ...
I need to draw lines in a Morph, or at least I think I do. I managed to draw colored lines in a Form, so putting the Form inside a Morph should be fin ...
I have a rectangle in smalltalk like this I'm trying to add an image to each rectangle like this: It's not working how can I add an image? Than ...
For example, Pharo and Squeak are different implementations of Smalltalk. Are there specific bindings in the smalltalk VM for each platform? ...
If I have a Morph how can I open it in a dialog with yes/no or accept/cancel buttons? I know that spec provides a nice api to specify a dialog window ...
Basically I am having 2 problems, I am trying to code a simple GUI using Pharo 4.0 Smalltalk. I am not able to change font size/style in pharo for my ...
I am working on creating a Smalltalk application with Pharo 4.0 for Checkers and was trying to see which GUI library could work for my application. ...
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 t ...
I have read that in Pharo it's possible to switch between windows using Alt-Tab. But I've never been able to test this, because both OSes I commonly u ...
I have built a game GUI made of morphs, all of them embeded into a rectangle morph. I want to wrap this rectangle morph into a window. How can i do th ...
I have contribute a progress bar in PharoLauncher so that the user get information of the progress of the download of an image with this code So th ...
If I have a morph that contains submorphs, and I delete it, what messages get sent to the submorphs? delete is not being sent. Here is the situation. ...
I want to handle mouse click on a morph in an easy way. Can I do something like: ? ...
I would like to know whether a Transcript window is visible, and if not to open one. Since the model behind a Transcript is a PluggableTextMorph I t ...
How can I change the default white window background color in Squeak or Pharo ? I am new to smalltalk and Morphic, i looked at the morphic classes but ...