language: Add Gtk.LevelBar offset syntax

Helps #8 along.
This commit is contained in:
Matthijs Velsink 2025-06-13 00:28:18 +02:00
parent 5c7fb03da7
commit c733b79683
8 changed files with 198 additions and 0 deletions

View file

@ -0,0 +1,9 @@
using Gtk 4.0;
LevelBar {
offsets [
offset ("low-class-name", 0.3),
offset ("medium-class-name", 0.5),
offset ("high-class-name", 0.7),
]
}

View file

@ -0,0 +1,16 @@
<?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="GtkLevelBar">
<offsets>
<offset name="low-class-name" value="0.3"/>
<offset name="medium-class-name" value="0.5"/>
<offset name="high-class-name" value="0.7"/>
</offsets>
</object>
</interface>