The following free functions - functions that do not belong to any class - are defined in the e32 module:
) |
Yields to the active scheduler to have ready active objects with priority above
normal scheduled for running. This has the effect of flushing the eventual
pending UI events. Note that the UI callback code may be run in the context of
the thread that performs an ao_yield
. For information on active
scheduler, see S60 SDK documentation [4].
interval [, callback]) |
ao_sleep
returns immediately and the
callback gets called after interval. See
also Section 2.1.3, Ao_timer Type.
wrapped_callable) |
) |
'<driveletter>:'
target_name, source_name) |
) |
True
if running in an emulator, or False
if running on a
device.
time) |
time
(see Section
Example:
>>> import e32 >>> e32.pys60_version '1.9.3 svn2793' >>>
'final'
for the release tag signifies a
development release. The pys60_version_info
value corresponding
to the Python for S60 version 1.9.3 is (1, 9, 3, 'svn2793', 0)
.
Example:
>>> import e32 >>> e32.pys60_version_info (1, 9, 3, 'svn2793', 0) >>>
Example:
>>> import e32 >>> e32.s60_version_info (3, 0) >>>
) |
True
if the code that calls this function runs in the
context of the UI thread; otherwise returns False
.
filename, command [,wait]) |
0
for normal exit and 2
for abnormal exit.
filename) |
) |
) |
) |
>>> import e32 >>> e32.get_capabilities() ('ReadUserData','WriteUserData') >>>
capability_list) |
Examples:
>>> import e32 >>> e32.has_capabilities(['Location','ReadUserData']) False >>> e32.has_capabilities(['Location','SwEvent']) False >>> e32.has_capabilities(['WriteUserData','ReadUserData']) True >>>
See About this document... for information on suggesting changes.