org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F18FD3A0-9CCC-4117-8CC4-4222842E8C59.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F18FD3A0-9CCC-4117-8CC4-4222842E8C59.html Fri Mar 05 19:11:15 2010 -0800
@@ -0,0 +1,18 @@
+
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="onshow"/><meta name="DC.Relation" scheme="URI" content="GUID-55F6778A-D1DA-4288-93B2-0863558D34B7"/><meta name="DC.Relation" scheme="URI" content="GUID-40BE0552-37F0-43C8-9ADC-2A488B032C0D"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-6CD2776F-A868-4280-967F-4EB426212556"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-F18FD3A0-9CCC-4117-8CC4-4222842E8C59"/><title>onshow </title><script type="text/javascript">
+ function initPage() {}
+ </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-F18FD3A0-9CCC-4117-8CC4-4222842E8C59">onshow</h1><div>
+<p><strong>Description:</strong></p>
+<p>The <code>onshow</code> property is an event handler for the event of when a widget is switching from the background to the foreground. In other words, when an opened widget gains focus, the assigned callback function will be called.</p>
+<p>This property is useful for <a href="GUID-EAE0823B-5914-49C2-9DBC-15B61DE49E60.html#GUID-EAE0823B-5914-49C2-9DBC-15B61DE49E60">managing the functionality of the widget</a> in relation to other applications on the device.</p>
+<p><strong>Syntax:</strong></p>
+<pre class="codeblock" id="GUID-4213395E-E29C-42B6-B249-9707A98928AF">[void] window.widget.onshow = function() { }</pre>
+<p>or</p>
+<pre class="codeblock" id="GUID-8D2BD0A3-DB49-4384-AA2A-04B38C80BAE9">[void] window.widget.onshow = toForeground;</pre>
+<pre class="codeblock" id="GUID-3502BC33-B7BC-4708-9AC3-90C18EDCAE39">function toForeground()
+{
+ // ...
+}</pre>
+</div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>
\ No newline at end of file