Home

Awesome

license-badge PRs Welcome Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Description

This package provides widgets for Spec 1 (Pharo Smalltalk UI description framework).

NOTE: Currently since Pharo 10 only Spec 2 is supported. SpecUIAddOns is developed for Spec 1, hence it will NOT load correctly in Pharo versions >= 10.

Installation

Metacello new
  baseline: 'SpecUIAddOns';
  repository: 'github://hernanmd/SpecUIAddOns/repository';
  load.

Baseline String

If you want to add the ProjectFramework to your Metacello Baselines or Configurations, copy and paste the following expression:

	" ... "
	spec
		baseline: 'SpecUIAddOns'
		with: [ spec repository: 'github://hernanmd/SpecUIAddOns/repository' ];
	" ... "

Screenshots

Editable List

Provides a List with add, edit and remove items behavior. Add and edit buttons are automatically selected or deselected depending on current selection.

Operation buttons can be placed on top:

Screenshot 1

Operation buttons can be placed on bottom:

Screenshot 2

Widget with buttons on top and no items selected:

Screenshot 3

Widget with buttons on bottom and item selected:

Screenshot 4

Labeled TextArea

TextArea code:

Screenshot 5

TextArea widget:

Screenshot 6

Labeled TextField with Button

TextField with an action button code:

Screenshot 7

TextField with action button widget:

Screenshot 8

Double Selector List

Provides two lists, two list acting as master-detail and a third one with items associated to the detail list.

Screenshot 12

Toolbar with Buttons

Screenshot 13

Screenshot 14

Screenshot 15

TextField in Wizard

Screenshot 16

Screenshot 17

Radio Button in Wizard

Provides vertically aligned radio buttons:

Screenshot 18

Screenshot 19

TextField Selector

Screenshot 20

Screenshot 21

Screenshot 22

Screenshot 23

Searchable List

Screenshot 24

Screenshot 25

Screenshot 26

TextField with Browse Button

Screenshot 27

Screenshot 28

Screenshot 29

Growable search list

Screenshot 30

Screenshot 31

Screenshot 32

Usage notes

Contribute

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

If you have discovered a bug or have a feature suggestion, feel free to create an issue on Github.

If you'd like to make some changes yourself, see the following:

License

This software is licensed under the MIT License.

Copyright Hernán Morales Durand, 2018-2019.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Authors

Hernán Morales Durand