summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-06-05 17:51:20 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-06-08 20:53:41 -0300
commit4647b2de0c4362e414079c5498a0e412e6d132b7 (patch)
tree349d63149270d1124f55adc5f8b76eaadbc98888 /tests
parenta3b4c45dc390b169925b65134eef73cc4fdca2b0 (diff)
downloadglade-4647b2de0c4362e414079c5498a0e412e6d132b7.tar.gz
Plugins: add documentation for GJS plugin
Add an example on how to use JavaScript objects with Glade Improve python example
Diffstat (limited to 'tests')
-rw-r--r--tests/catalogs/gjsplugin.xml7
-rw-r--r--tests/catalogs/pythonplugin.xml8
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/catalogs/gjsplugin.xml b/tests/catalogs/gjsplugin.xml
new file mode 100644
index 00000000..aa426a75
--- /dev/null
+++ b/tests/catalogs/gjsplugin.xml
@@ -0,0 +1,7 @@
+<glade-catalog name="gjsplugin" library="gladegjs" domain="glade-3" depends="gtk+">
+ <init-function>glade_gjs_init</init-function>
+
+ <glade-widget-classes>
+ <glade-widget-class title="MyJSGrid" name="MyJSGrid" generic-name="MyJSGrid"/>
+ </glade-widget-classes>
+</glade-catalog>
diff --git a/tests/catalogs/pythonplugin.xml b/tests/catalogs/pythonplugin.xml
new file mode 100644
index 00000000..973fe997
--- /dev/null
+++ b/tests/catalogs/pythonplugin.xml
@@ -0,0 +1,8 @@
+<glade-catalog name="pythonplugin" library="gladepython"
+domain="glade-3" depends="gtk+">
+ <init-function>glade_python_init</init-function>
+
+ <glade-widget-classes>
+ <glade-widget-class title="MyPythonBox" name="MyPythonBox" generic-name="MyPythonBox"/>
+ </glade-widget-classes>
+</glade-catalog>