From 4137259fa6071d2790173f7935f06465df324264 Mon Sep 17 00:00:00 2001
From: deva <deva>
Date: Thu, 12 Feb 2009 15:29:50 +0000
Subject: Lots of changes in the widget documentation...

---
 design/widgets/listbox.tex | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'design/widgets/listbox.tex')

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}
-- 
cgit v1.2.3

