diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-09 21:06:04 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2021-12-09 21:51:37 +0100 |
| commit | c175d1276df0c3c96799e57ed20535e547416757 (patch) | |
| tree | b13f3d8f39c09b76dfb3d30ce961b977b37527bc /fluid/documentation | |
| parent | 0c1f78c1f2eadc464cca6861c07bd98818a79068 (diff) | |
STR 3210: fixing indentation of Fl_Menu_Item cnd Widget allbacks.
also added and fixed a few comments
STR 3210: fixed indenting of widget callbacks.
Also fixed what is considered a 'name' (could still be improved).
Also better formatting inlined functions in the header.
Diffstat (limited to 'fluid/documentation')
| -rw-r--r-- | fluid/documentation/src/code.dox | 19 |
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 |
