The Button.connect syntax in Genie
I want to apply a certain behaviour to a label. When a lateral button is clicked, the corresponding label should rotate 90 degrees. It can be easily done in vala, but I can't discover the particular syntax on genie. The vala code I am trying to reproduce comes from elementary OS getting started guide : hello_button.clicked.connect(() => { hello_label.label = "Hello World!"; hello_button.sensitive = false; }); rotate_button.clicked.connect(() => { rotate_label.angle = 90; rotate_label.label = "Verbal"; rotate_button.sensitive = false; }); I actually managed to reproduce almost entirely the code