Created
February 13, 2013 13:55
-
-
Save mlamina/4944759 to your computer and use it in GitHub Desktop.
Example usage of UITheme builder in Pharo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open | |
| builder content | | |
builder := UITheme builder. | |
content := builder | |
newColumn: | |
{(builder newText:('Packages of {1}' format: {project})). | |
(builder | |
newListFor: self | |
list: #dependencies | |
selected: #selectedDependency | |
changeSelected: #selectedDependency: | |
help: 'projects'). | |
(builder | |
newRow: | |
{(builder | |
newButtonFor: self | |
action: #save | |
label: '> Push to git repository' | |
help: '')})}. | |
(content openInWindowLabeled: ('Cellist - Project ')) extent: 400 @ 500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment