BuildingUIWithSpec
BuildingUIWithSpec copied to clipboard
Mention how to create Morphs without a Window or Dialog around them
Sample:
((ButtonModel new
action: [ Smalltalk garbageCollect. ];
icon: UITheme current icons smallUpdate;
label: 'GC';
buildWithSpec)
extent: 75@30;
yourself) openInHand
buildWithSpec is mentioned for gtPresentation and in initializePresenter but nowhere is it mentioned that you can actually get a morph out of that. Which is actually cool for Spec as we can extend all kinds of existing UIs with spec parts much more easily than it would take to do it in another way.