diff options
author | deva <deva> | 2009-02-12 15:29:50 +0000 |
---|---|---|
committer | deva <deva> | 2009-02-12 15:29:50 +0000 |
commit | 4137259fa6071d2790173f7935f06465df324264 (patch) | |
tree | 5de78862f2aac9a3b409a90e6f4688a1cf477e23 /design/widgets/combobox.tex | |
parent | 34d22d96cb464feef49bb126dafa59bdf8502d94 (diff) |
Lots of changes in the widget documentation...
Diffstat (limited to 'design/widgets/combobox.tex')
-rw-r--r-- | design/widgets/combobox.tex | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/design/widgets/combobox.tex b/design/widgets/combobox.tex index 2793bbe..feef168 100644 --- a/design/widgets/combobox.tex +++ b/design/widgets/combobox.tex @@ -1,5 +1,6 @@ % -*- coding: utf-8 -*- \subsubsection{\texttt{combobox} elementet} +\label{combobox} En combobox gruppe bruges til at vælge et element ud af en gruppe.\\ En combobox har flg. attributter: \begin{itemize} @@ -34,3 +35,11 @@ Et combobox item har flg. attributter: af gruppen hvis den er valgt ved commit. \end{itemize} Ved commit returneres comboboxens navn med det valgte items value. + +\begin{lstlisting}[title={Et eksempel på et combobox tag med item tags indeni.}] +<combobox name="foobar" value="option1" layout="vbox"> + <item caption="Option 1" value="option1"/> + <item caption="Option 2" value="option2"/> + <item caption="Option 3" value="option3"/> +</combobox> +\end{lstlisting} |