OpenSmock / Pyramid

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

SimpleRene Integration #204

Open Nyan11 opened 1 month ago

Nyan11 commented 1 month 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 1 month 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.