summaryrefslogtreecommitdiff
path: root/design/widgets/listbox.tex
diff options
context:
space:
mode:
authordeva <deva>2009-02-12 15:29:50 +0000
committerdeva <deva>2009-02-12 15:29:50 +0000
commit4137259fa6071d2790173f7935f06465df324264 (patch)
tree5de78862f2aac9a3b409a90e6f4688a1cf477e23 /design/widgets/listbox.tex
parent34d22d96cb464feef49bb126dafa59bdf8502d94 (diff)
Lots of changes in the widget documentation...
Diffstat (limited to 'design/widgets/listbox.tex')
-rw-r--r--design/widgets/listbox.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/design/widgets/listbox.tex b/design/widgets/listbox.tex
index dd9fe19..992cbde 100644
--- a/design/widgets/listbox.tex
+++ b/design/widgets/listbox.tex
@@ -24,3 +24,13 @@ Et listbox item har flg. attributter:
vises i overskriften.
\end{itemize}
Ved commit returneres listboxens navn med det valgte items value.
+
+\begin{lstlisting}[title={Et eksempel på et listbox tag med item tags indeni.}]
+<listbox name="foobar" value="option1" layout="vbox">
+ <item caption="Option 1" value="option1"/>
+ <item type="separator"/>
+ <item caption="Option 2" value="option2"/>
+ <item type="header" caption="En overskrift"/>
+ <item caption="Option 3" value="option3"/>
+</listbox>
+\end{lstlisting}