OpenSmock / Pyramid

Pyramid is a Graphical User-Interface (GUI) builder and editor for Bloc and Toplo.
MIT License
33 stars 6 forks source link

SimpleRene Integration #204

Open Nyan11 opened 2 months ago

Nyan11 commented 2 months ago

SimpleRene is a meta-description tool used to describe object in Pharo.

https://github.com/pharo-contributions/SimpleRene

The idea behind the SimpleRene integration is to describe Bloc and Toplo using SimpleRene and compute the equivalent PyramidProperty.

Example

For example:

With all of this informations, we can create 2 PyramidProperties for a BlElement:

This 2 properties can be used to create the Pyramid UI (one selection between 2 values and one input with 3 integers)

Pros and Cons

The pros

The cons

Nyan11 commented 2 months ago

There is an example here: https://github.com/OpenSmock/Pyramid/pull/189 Some code is missing (the simple rene description of the font size) but it was working.