Support array type

This commit is contained in:
Diego Augusto 2024-07-04 22:02:51 +00:00 committed by Sonny Piers
parent f1cf70b6eb
commit da5b9909fc
16 changed files with 133 additions and 4 deletions

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Label {
label: [1];
}

View file

@ -0,0 +1 @@
4,12,3,Cannot assign array to string

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
AboutDialog about {
valign: center;
authors: [1];
}

View file

@ -0,0 +1 @@
5,15,1,Cannot convert number to string

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
AboutDialog about {
valign: center;
authors: ["Olimar\n"];
}

View file

@ -0,0 +1 @@
5,15,10,String literals inside arrays can't contain newlines

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
AboutDialog about {
valign: center;
authors: ["Olimar\n", "Luie\nPresident"];
}

View file

@ -0,0 +1,2 @@
5,15,10,String literals inside arrays can't contain newlines
5,27,17,String literals inside arrays can't contain newlines

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
AboutDialog about {
valign: center;
authors: ["Jane doe <jane-doe@email.com>", "Jhonny D <jd@email.com>"];
}

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT EDIT!
This file was @generated by blueprint-compiler. Instead, edit the
corresponding .blp file and regenerate this file with blueprint-compiler.
-->
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkAboutDialog" id="about">
<property name="valign">3</property>
<property name="authors">Jane doe &lt;jane-doe@email.com&gt;
Jhonny D &lt;jd@email.com&gt;</property>
</object>
</interface>