[glade] dtd: Add several new elements



commit 7d85967339cd040c233326ac83d1f576dcedc084
Author: Guido Günther <agx sigxcpu org>
Date:   Thu Sep 27 23:54:18 2018 +0200

    dtd: Add several new elements
    
    This allows us to validate the libhandy dtd again:
    
        https://source.puri.sm/Librem5/libhandy/merge_requests/135/diffs

 plugins/glade-catalog.dtd | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/plugins/glade-catalog.dtd b/plugins/glade-catalog.dtd
index 8721aa2f..2d6b6e0a 100644
--- a/plugins/glade-catalog.dtd
+++ b/plugins/glade-catalog.dtd
@@ -17,6 +17,9 @@
 <!ELEMENT glade-widget-class (post-create-function?,
                              get-internal-child-function?,
                              child-property-applies-function?,
+                             read-widget-function?,
+                             write-widget-function?,
+                             set-property-function?,
                              properties?,
                              children?,
                              packing-defaults?)>
@@ -39,6 +42,7 @@
 
 <!ELEMENT property (spec?, 
                    type?,
+                   parameter-spec?,
                    tooltip?, 
                    parameters?,
                    set-function?,
@@ -74,6 +78,8 @@
                    construct-only   CDATA #IMPLIED
                   translatable     CDATA #IMPLIED>
 
+<!ELEMENT parameter-spec (type?,
+                         value-type?)>
 <!ELEMENT set-function (#PCDATA)>
 <!ELEMENT get-function (#PCDATA)>
 <!ELEMENT spec (#PCDATA)>
@@ -87,6 +93,10 @@
 <!ATTLIST parameter key   CDATA #REQUIRED
                     value CDATA #REQUIRED>
 
+<!ELEMENT paremter-spec (type,
+                        value-type)>
+<!ELEMENT value-type (#PCDATA)>
+
 <!ELEMENT children (child+)>
 
 <!ELEMENT child (type, 
@@ -114,6 +124,10 @@
 <!ELEMENT get-internal-child-function (#PCDATA)>
 <!ELEMENT child-property-applies-function (#PCDATA)>
 
+<!ELEMENT read-widget-function (#PCDATA)>
+<!ELEMENT write-widget-function (#PCDATA)>
+<!ELEMENT set-property-function (#PCDATA)>
+
 <!ELEMENT glade-widget-group (default-palette-state?, 
                              glade-widget-class-ref+)>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]