Spec
Spec copied to clipboard
Spec is a framework in Pharo for describing user interfaces.
This change removes all the deprecated classes and methods to start clean for P13
This would allow to remove a dependency to `UIManager` in the `StDebugger`: ```Smalltalk requestProtocolIn: aClass | entryCompletion applicants choice | self class fastTDD ifTrue: [ ^ Protocol unclassified ]. applicants...
Given the following presenter ```smalltalk l := SpListPresenter new. l items: #(1 2 3). l contextMenu: (SpMenuPresenter new addItem: [ :item | item name: 'something'; action: [ :e | e...
Examples from a recent Pharo 12 image. ### Box layout without spacing Consider this code: ```smalltalk | mainLayout mainPresenter iconAndLabel tabBar application tab | application := SpApplication new addStyleSheetFromString: '.application...
Consider this code: ```smalltalk | mainLayout mainPresenter label | mainPresenter := SpPresenter new. label := mainPresenter newLabel label: 'Test'; displayColor: [ Color red ]; displayBackgroundColor: [ Color yellow ]. mainLayout...
SpDiffPresenter displays a **split view**. So I added a sub-class that displays a **unified view** called SpDiffUnifiedPresenter 
This example shows a very nice toolbar, blending in the theme, no color whatsoever. ```Smalltalk toolbar := SpToolbarPresenter new. toolbar addItem: (SpToolbarButtonPresenter new label: 'Button' ; color: Color blue; borderColor:...
Consider this code: ```smalltalk | application mainLayout mainPresenter tab selectedTab | application := SpApplication new addStyleSheetFromString: '.application [ Draw { #backgroundColor: #lightRed}, .tab [ Container { #borderWidth: 1, #borderColor: #FFFFFF...
Add SpMorphicScrollableAdapter>>scrollTo: Add example in class documentation.
More specifically, it does not seem to make the page closeable (i.e. having the small x button). To reproduce: ```smalltalk notebook := SpNotebookPresenter new. notebookPage := SpNotebookPage title: 'Uncloseable' provider:...