summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2008-06-03 19:47:08 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-06-03 19:47:08 +0000
commit07bbc1a6966ed19e6eb37438add78c0d83999f31 (patch)
tree2615c5ff8073939eca05925c12a68caa00c719ac /doc
parent85428dd0e6fdabf28fdf985025e81c5bba61ae4e (diff)
downloadvala-07bbc1a6966ed19e6eb37438add78c0d83999f31.tar.gz
Document delegate syntax, based on patch by Phil Housley
2008-06-03 Jürg Billeter <j@bitron.ch> * doc/vala/delegates.xml: Document delegate syntax, based on patch by Phil Housley svn path=/trunk/; revision=1555
Diffstat (limited to 'doc')
-rw-r--r--doc/vala/delegates.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/vala/delegates.xml b/doc/vala/delegates.xml
index 4734e00c0..1eac49664 100644
--- a/doc/vala/delegates.xml
+++ b/doc/vala/delegates.xml
@@ -3,7 +3,11 @@
<h>Delegates</h>
<section id="declaration">
<h>Delegate declarations</h>
- <p>Documentation</p>
+ <p>A delegate represents a callback supplied by the programmer.</p>
+ <blockquote>
+delegate-declaration:
+ [ access-modifier ] <l>delegate</l> return-type qualified-identifier <l>(</l> parameter-list <l>)</l> <l>;</l>
+ </blockquote>
</section>
</section>