summaryrefslogtreecommitdiff
path: root/fluid/documentation/src/code.dox
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/documentation/src/code.dox')
-rw-r--r--fluid/documentation/src/code.dox19
1 files changed, 17 insertions, 2 deletions
diff --git a/fluid/documentation/src/code.dox b/fluid/documentation/src/code.dox
index d07420dce..cff61ea97 100644
--- a/fluid/documentation/src/code.dox
+++ b/fluid/documentation/src/code.dox
@@ -2,9 +2,9 @@
/**
- \page code Code Nodes
+\page codeNodes Code Nodes
- Overview of code nodes.
+Overview of code nodes.
\section function Functions and Methods
@@ -153,9 +153,24 @@ is no text after the keyword.
### Further Options ###
+Users can define a comment text in the *comment* field. The first line of the
+comment will be shown in the widget browser. The comment text will be generated
+in the source file ahead of thefunction.
+```
+// .cxx
+/*
+ My multilen comment
+ will be here
+ */
+Fl_Window* make_window() {
+```
+
Fluid recognizes default values in the argument list and geneartes them in the
declaration, but omits them in the implementation.
+A short function body can be appended in the *Name* field. With no child, this
+creates an inlined function in the header file.
+
<!-- ----------------------------------------------------------------------- -->
\section code C Source Code