10 <!DOCTYPE concept |
10 <!DOCTYPE concept |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
12 <concept id="GUID-C4E728B4-3E84-49A4-83CB-DF146420D78A" xml:lang="en"><title>Stylus |
12 <concept id="GUID-C4E728B4-3E84-49A4-83CB-DF146420D78A" xml:lang="en"><title>Stylus |
13 pop-up menu</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
13 pop-up menu</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
14 <p>Stylus pop-up menu is the primary menu for showing item-specific options. |
14 <p>Stylus pop-up menu is the primary menu for showing item-specific options. |
15 Item-specific options are placed in the stylus pop-up menu that is activated |
15 Application only needs to tag items to be item-specific and the application |
16 with touch down and hold on an item. It can be attached to almost all the |
16 framework handles the remaining tasks. Item-specific options can |
17 items. </p> |
17 be attached to almost all the items. </p> |
18 <fig id="GUID-45264A92-D57F-41D5-8337-0701D90C84AE"> |
18 <fig id="GUID-45264A92-D57F-41D5-8337-0701D90C84AE"> |
19 <title>Stylus pop-up menu opened from a preview pop-up. A tap on any other |
19 <title>Stylus pop-up menu opened from a list.</title> |
20 name or even anywhere else on the screen closes the stylus pop-up menu without |
20 <image href="GUID-70E92884-004F-43B5-B740-B0C95E8E401C_d0e90989_href.png" placement="inline"/> |
21 moving the focus. </title> |
|
22 <image href="GUID-70E92884-004F-43B5-B740-B0C95E8E401C_d0e95828_href.png" placement="inline"/> |
|
23 </fig> |
21 </fig> |
24 <p>It is a separate pop-up mainly used when a view cannot offer dynamic functions, |
22 <p>Stylus pop-up is mainly used to offer dynamic functions, and the functions |
25 and the pop-up only offers tap-enabled functions. The stylus pop-up menu can |
23 supported by touch-enabled devices. The stylus pop-up menu can also be used |
26 also be used directly on top of applications. For example, on an image in |
24 directly on top of applications. For example, on an image in Browser, the |
27 Browser, the stylus pop-up menu can be used for offering <uicontrol>Save as…</uicontrol> and |
25 stylus pop-up menu can be used for offering <uicontrol>Save as…</uicontrol> and |
28 similar options.</p> |
26 similar options.</p> |
29 <p>Following are the guidelines to be followed while designing the menu:</p> |
27 <p>Following are the guidelines to be followed while designing the menu:</p> |
30 <ul> |
28 <ul> |
31 <li><p>Item-specific pop-up menu should not be used with buttons and multi-selection |
29 <li><p>Item-specific pop-up menu should not be used with buttons and multi-selection |
32 list or grid items.</p></li> |
30 list or grid items.</p></li> |
100 </row> |
98 </row> |
101 </tbody> |
99 </tbody> |
102 </tgroup> |
100 </tgroup> |
103 </table> |
101 </table> |
104 <section id="GUID-0F4419D9-0C2D-4718-8199-399412443B2C"><title>Using |
102 <section id="GUID-0F4419D9-0C2D-4718-8199-399412443B2C"><title>Using |
105 stylus pop-up menus in C++ applications</title><p>The API to use for creating |
103 stylus pop-up menus in applications</title><p>The API to use for creating |
106 a stylus pop-up menu is the <xref href="GUID-B8BCC4F0-7F55-4728-B7EA-3280CA822C91.dita">Stylus |
104 a stylus pop-up menu is the <xref href="GUID-B8BCC4F0-7F55-4728-B7EA-3280CA822C91.dita">Stylus |
107 pop-up menu API</xref>.</p><p>For implementation information, see <xref href="GUID-8F04D882-B846-4A0D-B858-15FDA85758FA.dita">Displaying |
105 pop-up menu API</xref>.</p><p>For implementation information, see <xref href="GUID-8F04D882-B846-4A0D-B858-15FDA85758FA.dita">Displaying |
108 commands in a context menu</xref>.</p></section> |
106 commands in a context menu</xref>.</p></section> |
109 </conbody></concept> |
107 </conbody></concept> |