Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 20:29, 6 March 2008.

Understanding panes in WRT widgets

From Forum Nokia Wiki


Compatibility: Web Runtime in S60 3rd Edition, Feature Pack 2

Panes are something that are normally visible for example in idle screen and application shell in S60 devices. Top pane displays clock, network and battery level information. On the bottom of the screen the is space to present softkey label information.

Developer has some flexibility to define behavior of system panes while widget is activated. By default panes are of and activated when

  • Left soft key is pressed. Menu is show and bottom softkey labels.
  • Dialog is shown. Softkey labels to interact with dialog are shown.
  • Text dialog is activated. Both _top and softkey label_ labels are activated.
  • showSoftkeys() - method is called from JavaScript.


Text dialogs require some special attention from developer. Best practice is to react onResize event and ensure that UI elements are correctly placed while top and softkey panes take some UI area.
It is also possible to hide softkey labels when text dialog is activated.

My secret: <input type='password' id='password' onClick="menu.hideSoftkeys();"/>
 
Powered by MediaWiki