Symbian3/SDK/Source/GUID-C4E728B4-3E84-49A4-83CB-DF146420D78A.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 21 Jan 2010 18:18:20 +0000
changeset 0 89d6a7a84779
permissions -rw-r--r--
Initial contribution of Documentation_content according to Feature bug 1266 bug 1268 bug 1269 bug 1270 bug 1372 bug 1374 bug 1375 bug 1379 bug 1380 bug 1381 bug 1382 bug 1383 bug 1385

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="GUID-C4E728B4-3E84-49A4-83CB-DF146420D78A" xml:lang="en"><title>Stylus
pop-up menu</title><prolog><metadata><keywords/></metadata></prolog><conbody>
<p>The stylus pop-up menu is a separate pop-up mainly used when a view cannot
offer dynamic functions, and the pop-up only offers tap-enabled functions.
The stylus pop-up menu can also be used directly on top of applications. For
example, on an image in Browser, the stylus pop-up menu can be used for offering <uicontrol>Save
as…</uicontrol> and similar options.</p>
<fig id="GUID-0C99C154-156D-4399-B8F5-811363D438E6">
<title>Stylus pop-up menu opened from a preview pop-up. A tap on any other
name or even anywhere else on the screen closes the stylus pop-up menu without
moving the focus. </title>
<image href="GUID-AA4FF598-36A0-4F3B-B440-14052C01EED8_d0e60459_href.png" scale="33" placement="inline"/>
</fig>
<p>Activation of the stylus pop-up menu can be done with a short or long tap,
which ever suits the given application and situation the best. Background
is not dimmed when the stylus pop-up menu is shown. The menu disappears automatically
after six seconds (or as soon as the user selects an item or taps outside
the pop-up area).</p>
<p>As the purpose of the component is only to offer some primary functions
(a maximum of six functions), the stylus pop-up menu is not a scrollable component.
Thus it has no focus.</p>
<section><title>Using stylus pop-up menus
in C++ applications</title><p>The API to use for creating a stylus pop-up
menu is the <xref href="GUID-B8BCC4F0-7F55-4728-B7EA-3280CA822C91.dita">Stylus
pop-up menu API</xref>.</p><p>For implementation information, see <xref href="GUID-8F04D882-B846-4A0D-B858-15FDA85758FA.dita">Displaying
commands in a context menu</xref>.</p></section>
</conbody></concept>