Merge branch 'wip/velsinki/levelbar-support-offsets' into 'main'

language: Add Gtk.LevelBar offset syntax

See merge request GNOME/blueprint-compiler!247
This commit is contained in:
Matthijs Velsink 2025-06-15 09:52:52 +00:00
commit 7ce140e7b1
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>