Symbian3/SDK/Source/GUID-C29FE12C-C412-40A8-A067-27C63A519D71.dita
changeset 0 89d6a7a84779
equal deleted inserted replaced
-1:000000000000 0:89d6a7a84779
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7 	Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->  <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"><concept id="GUID-C29FE12C-C412-40A8-A067-27C63A519D71" xml:lang="en"><title>Choice
       
    10 list API</title><shortdesc>The Choice list API is used for providing a vertical list of selectable
       
    11 items. </shortdesc><prolog><metadata><keywords></keywords></metadata></prolog><conbody>
       
    12 <fig id="GUID-00782901-3982-4482-82E0-EE5E527A82D7">
       
    13 <title>Choice list</title>
       
    14 <image href="GUID-FD52DFC5-03CD-4C7A-B118-0D5C90D99F1A_d0e50171_href.png" scale="40" placement="inline"></image>
       
    15 </fig>
       
    16 <p>You can use the Choice list API in all GUI applications. It is a library
       
    17 API that provides an interface for constructing and using the choice list
       
    18 UI component.</p>
       
    19 <p>You can use the choice list in two ways, with or without the current selection. </p>
       
    20 <p>If the current selection is displayed, there is an label showing the currently
       
    21 selected item and an arrow button indicating that a list is available. </p>
       
    22 <p>If without current selection, the choice list must be created with providing
       
    23 a generic button to the list. This button will be used to open the list for
       
    24 selection. The label of the button is defined by the client application when
       
    25 creating the button and will not be changed by the choice list.</p>
       
    26 <p>For implementation information, see <xref href="GUID-845F3021-E3ED-4676-916A-75740886DCBD.dita">Providing
       
    27 a vertical list of selectable items</xref>.</p>
       
    28 <p>For the Choice list API classes and header files, see Classes and definitions.</p>
       
    29 <section><title>Error handling</title><p>The leave mechanism of the Symbian
       
    30 OS environment is used to handle memory exhaustion.</p></section>
       
    31 </conbody><related-links>
       
    32 <linklist><title>Related APIs</title>
       
    33 <link href="GUID-F3EE1000-71A6-4D48-A30B-3D2357BF20FB.dita"><linktext>Generic button
       
    34 API</linktext></link>
       
    35 </linklist>
       
    36 </related-links></concept>