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,5 +1,5 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Button {
|
||||
eaten-by-velociraptors => on_eaten_by_velociraptors();
|
||||
eaten-by-velociraptors => $on_eaten_by_velociraptors();
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Button {
|
||||
clicked => function(dinosaur);
|
||||
clicked => $function(dinosaur);
|
||||
}
|
|
@ -1 +1 @@
|
|||
4,25,8,Could not find object with ID 'dinosaur'
|
||||
4,26,8,Could not find object with ID 'dinosaur'
|
|
@ -2,4 +2,5 @@ using Gtk 4.0;
|
|||
|
||||
.MyClass {
|
||||
prop: typeof(.MyOtherClass);
|
||||
clicked => handler();
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
3,1,8,Use the '$' extern syntax introduced in blueprint 0.8.0
|
||||
4,16,13,Use the '$' extern syntax introduced in blueprint 0.8.0
|
||||
4,16,13,Use the '$' extern syntax introduced in blueprint 0.8.0
|
||||
5,14,7,Use the '$' extern syntax introduced in blueprint 0.8.0
|
Loading…
Add table
Add a link
Reference in a new issue