You Are Here:

Community: Developer Discussion Boards

#1 Old Switch from first window to second window - 2007-11-30, 09:09

Join Date: Sep 2007
Posts: 27
Location: Palermo,Italy
Send a message via MSN to akus
akus
Offline
Registered User
Hello,
In my application i have two scripts call Main.py and Seconda.py when the application start the first window is open but i open also the second window i can't return in my first window.
The scripts that i use are here:

Main.py
Code:
import appuifw,e32
import Seconda


def Exit():
Lock.signal()

def Second():
Seconda.start()


Lock=e32.Ao_lock()
appuifw.app.exit_handler=Exit
appuifw.app.title=u"First Window"
appuifw.app.menu=[(u"Second Window",Second),(u"Exit",Exit)]
Lock.wait()
Seconda.py
Code:
import appuifw,e32


def start():
def Esci():
L.signal()

L=e32.Ao_lock()
appuifw.app.exit_handler=Esci
appuifw.app.title=u"Seconda Finestra"
appuifw.app.menu=[(u"Esci",Esci)]
L.wait()
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
关于exe形式编程的一点心得,希望对大家有所帮助 allyfeng Symbian 30 2008-11-14 01:58
error PRJ0019 error while creating sis file mrshine General Symbian C++ 3 2008-10-17 18:16
Problem Creating Window Using RWindow and putting More controls on it er_gps212 Symbian User Interface 0 2005-10-28 07:22
About window views thodime_guru Symbian User Interface 1 2004-06-17 19:00
Application window "moves" with menu colinward General Symbian C++ 1 2002-11-11 15:18

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia