glade-rnc

RELAX NG schemas for Glade files
git clone https://logand.com/git/glade-rnc.git/
Log | Files | Refs | README

gtkinterface.rnc (1211B)


      1 # RELAX NG schema for the ancient glade file format.
      2 # Written by Tomas Hlavaty <tom at logand.com>
      3 # TODO remove unused attributes and verify completenes
      4 start = element GTK-Interface {
      5    attribute domain { text }?,
      6    element project {
      7       element name { text },
      8       element program_name { text },
      9       element directory { text },
     10       element source_directory { text },
     11       element pixmaps_directory { text },
     12       element language { text },
     13       element gnome_support { text },
     14       element gettext_support { text },
     15       element output_main_file { text },
     16       element output_support_files { text },
     17       element output_build_files { text }
     18    },
     19    widget*
     20 }
     21 widget = element widget {
     22    element class { text },
     23    element name { text },
     24    element can_focus { text }?,
     25    element signal {
     26       element name { text },
     27       element handler { text },
     28       element last_modification_time { text }
     29    }*,
     30    element title { text }?,
     31    element type { text }?,
     32    element position { text }?,
     33    element modal { text }?,
     34    element allow_shrink { text }?,
     35    element allow_grow { text }?,
     36    element auto_shrink { text }?,
     37    element label { text }?,
     38    element relief { text }?,
     39    widget*
     40 }