mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
language: Use new extern syntax in signal handlers
This commit is contained in:
parent
0b402db4d5
commit
122b049ce9
8 changed files with 21 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Entry {
|
||||
activate => click(button);
|
||||
activate => $click(button);
|
||||
}
|
||||
|
||||
Button button {
|
||||
clicked => on_button_clicked() swapped;
|
||||
notify::visible => on_button_notify_visible();
|
||||
clicked => $on_button_clicked() swapped;
|
||||
notify::visible => $on_button_notify_visible();
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ using Gtk 4.0;
|
|||
|
||||
template TestTemplate : ApplicationWindow {
|
||||
test-property: "Hello, world";
|
||||
test-signal => on_test_signal();
|
||||
test-signal => $on_test_signal();
|
||||
}
|
||||
|
||||
Dialog {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue