Closed waingt closed 3 years ago
@waingt This is really cool, I will implement it in a near future! Thank you for the suggestion ;-) However I will make a more generic implementation to avoid named parameters like "onclick". I suppose to accept a parameter like Button("my button", do={Button.onclick: my_onclick_handler, Button.onmouseover: my_onmouseover_handler}) .
This GUI library is so cool. But, when I create a button, I must assign a variable to it at first, then connect event and append it to container. (this takes 3 lines) I suppose it is cooler if this could be done in one line
for example:
usage: