Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 258379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:10:32+00:00 2026-05-11T22:10:32+00:00

In the Squeak Smalltalk environment, I am trying to learn Morphic. There are many,

  • 0

In the Squeak Smalltalk environment, I am trying to learn Morphic. There are many, many Morphic classes and I cannot determine the most appropriate one(s) to use for my current application, and I prefer not to invent anything that already exists at this point. Links to relevant code/info would be appreciated. While Pharo might be nicer, I am stuck with Squeak atm.

My question is:
Using Squeak and Morphic, how do I create some sort of canvas, drop it into a movable, scrollable, resizable window, show it on the desktop, drop a circleMorph onto that canvas, and allow the user to grab the circle and move it around on the canvas?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:10:32+00:00Added an answer on May 11, 2026 at 10:10 pm

    Open a workspace and type:

    | window canvas circle |
    window := SystemWindow new.
    canvas := PasteUpMorph new.
    window addMorphBack: canvas.
    canvas bounds: window bounds.
    circle := CircleMorph new.
    canvas addMorphCentered: circle.
    window openAsIs.
    

    This will create a circle on your desktop that you can drag and drop. Browse the CircleMorph class to find other things you can do. Also, check out the Documentation section at http://www.squeak.org. There’s a lot of good tutorials there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So, I'm looking at using Smalltalk/Squeak for a couple of hobby/academic interest projects, and
I was going through (using Squeak) the Discovering Better Code: Bowling for Smalltalk Series
How can I write a GIU in Squeak? I'm a Smalltalk newbie and I'm
Smalltalk has the whileTrue:-Message implemented through recursion (in VisualWorks) or through compiler-inlining (in Squeak/Pharo).
I'm considering building a visual programming language , akin to Scratch , for use
How do I reference (i.e. program) a Morph created by direct manipulation, for instance
Please Note: Portable as in portableapps.com, not in the traditional sense of a language
The Problem: I'm looking for a way to create a program that visits an
How can I get a collection of all the (class) methods in a given
I dived into understanding the Ruby object model in the last weeks, and although

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.