mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-06-22 23:19:25 -04:00
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:
commit
7ce140e7b1
8 changed files with 198 additions and 0 deletions
|
@ -374,6 +374,12 @@ class XmlOutput(OutputFormat):
|
|||
xml.end_tag()
|
||||
xml.end_tag()
|
||||
|
||||
elif isinstance(extension, ExtLevelBarOffsets):
|
||||
xml.start_tag("offsets")
|
||||
for offset in extension.offsets:
|
||||
xml.put_self_closing("offset", name=offset.name, value=offset.value)
|
||||
xml.end_tag()
|
||||
|
||||
elif isinstance(extension, ExtScaleMarks):
|
||||
xml.start_tag("marks")
|
||||
for mark in extension.marks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue