Labels
In a toolbar or menu button, you can use the @label modifier to set the button label dynamically using the evaluator.
As a very basic example, @label:=return "Hello!";
would set the label to "Hello!".
The original label is available as the original_label
variable.
The return value from the evaluation expression will be used as the label for the button.
最后更新于