BuildingUIWithSpec icon indicating copy to clipboard operation
BuildingUIWithSpec copied to clipboard

Mention how to create Morphs without a Window or Dialog around them

Open philippeback opened this issue 8 years ago • 0 comments

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.

philippeback avatar Jan 18 '17 19:01 philippeback