Polymorph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Polymorph

Brenda Larcom
Hi all,

tl;dr: Is there a modern version of Polymorph for Squeak, or some information on what happened to it?  If not, where are people getting their widgets these days? 

I'm (still) trying to import my very old code into a current Squeak so I can revive it.  The UI was based on Polymorph, the latest version of which (outside Pharo) I see here:


This version looks extremely incompatible with current Squeak.  I stubbed out the missing MultiNewParagraph class, but now I am hitting conflicts in several basic class definitions, e.g. DialogWindow.  Unsurprisingly, I am getting an emergency debugger.  So far it's nothing I can't debug, but I'd love to hear that someone else has already done so, or that there is a more recent repository for Polymorph, or that it was integrated into the base Squeak a while back & I'd do better trying to remove the dependency from my package, or that these days everyone uses FubarWidgets instead.  Does anyone have any advice?

I admit I considered switching to Pharo, since nearly all of my dependencies are now part of Pharo's stock image, but it froze twice and crashed once in my first 10 minutes of use (just trying to learn the UI differences, not doing anything I think ought to be weird), so that's out.

Brenda


Reply | Threaded
Open this post in threaded view
|

Re: Polymorph

marcel.taeumel
Hi Brenda,

there is Widgets [1]. Yet, you would have to re-implement the UI stuff for your project with it. If you need help with that, I could provide more implicit documentation about its use. :-D

Other than that, you can "ToolBuilderSpec browseHierarchy" to explore what's in Squeak to build tools. However, biggest missing (or incomplete) things in Squeak's widgets include:

- actual table widgets
- tree widgets with more than 2 columns
- drop-down lists (or combo boxes)
- configurable selection modes in item widgets (list, table, tree,...)

If you need some of those, try Widgets [1].

Best,
Marcel

Am 12.06.2019 20:13:06 schrieb Brenda Larcom <[hidden email]>:

Hi all,

tl;dr: Is there a modern version of Polymorph for Squeak, or some information on what happened to it?  If not, where are people getting their widgets these days? 

I'm (still) trying to import my very old code into a current Squeak so I can revive it.  The UI was based on Polymorph, the latest version of which (outside Pharo) I see here:


This version looks extremely incompatible with current Squeak.  I stubbed out the missing MultiNewParagraph class, but now I am hitting conflicts in several basic class definitions, e.g. DialogWindow.  Unsurprisingly, I am getting an emergency debugger.  So far it's nothing I can't debug, but I'd love to hear that someone else has already done so, or that there is a more recent repository for Polymorph, or that it was integrated into the base Squeak a while back & I'd do better trying to remove the dependency from my package, or that these days everyone uses FubarWidgets instead.  Does anyone have any advice?

I admit I considered switching to Pharo, since nearly all of my dependencies are now part of Pharo's stock image, but it froze twice and crashed once in my first 10 minutes of use (just trying to learn the UI differences, not doing anything I think ought to be weird), so that's out.

Brenda