You Are Here:

Community: Developer Discussion Boards

#1 Old APPUIFW.NOTE - 2006-07-06, 11:15

Join Date: Nov 2004
Posts: 105
rexwal
Offline
Regular Contributor
Hi guys!

I was wondering if python had an option to create an info/note message that doesn't disappear after 5 seconds .. like appuifw.note.

At the moment, im using appuifw.query(u"Press me to go away!", "query")
since appuifw.note disappears after 5 seconds (=

any way to do this?

Cheers,
rexwal
Reply With Quote

#2 Old Re: APPUIFW.NOTE - 2006-07-06, 13:48

Join Date: May 2006
Posts: 74
chetbox's Avatar
chetbox
Offline
Regular Contributor
Quote:
Originally Posted by rexwal
Hi guys!

I was wondering if python had an option to create an info/note message that doesn't disappear after 5 seconds .. like appuifw.note.

At the moment, im using appuifw.query(u"Press me to go away!", "query")
since appuifw.note disappears after 5 seconds (=

any way to do this?

Cheers,
rexwal
Hi, I'm doing the same thing at the moment.
A nicer way to do it would be to use an appuifw.Text() object and set the exit_key_handler to close the textbox. Text() objects also have nice things like font and colour settings


chetbox.googlepages.com
Reply With Quote

#3 Old Re: APPUIFW.NOTE - 2006-07-07, 12:01

Join Date: Nov 2004
Posts: 105
rexwal
Offline
Regular Contributor
Cheers chet many thanks
Reply With Quote

#4 Old Re: APPUIFW.NOTE - 2008-05-19, 18:25

Join Date: Jan 2008
Posts: 22
hyon
Offline
Registered User
Hi all,

I'm actually trying to do the opposite - having the query close after a few seconds.

I am reading data off the accelerometer on my Nokia5500, and prompting queries when a particular pattern is detected. But if the pattern was unintentional, I want to prompt to close after a few seconds. How do I do that?

Thanks!
Hyon
Reply With Quote

#5 Old Re: APPUIFW.NOTE - 2008-05-19, 18:45

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Quote:
Originally Posted by hyon View Post
Hi all,

I'm actually trying to do the opposite - having the query close after a few seconds.

I am reading data off the accelerometer on my Nokia5500, and prompting queries when a particular pattern is detected. But if the pattern was unintentional, I want to prompt to close after a few seconds. How do I do that?

Thanks!
Hyon
Hi Hyon,

I'm not sure if that's possible. If you can't find any other solution, you could use Cyke64's keypress module to simulate the user's pressing of Cancel (right softkey). See this thread.

Again, there may be a better solution that I'm not aware of. If you find it please post it here for others to learn in the future.
Reply With Quote

#6 Old Re: APPUIFW.NOTE - 2008-05-20, 06:00

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by hyon View Post
Hi all,

I'm actually trying to do the opposite - having the query close after a few seconds.

I am reading data off the accelerometer on my Nokia5500, and prompting queries when a particular pattern is detected. But if the pattern was unintentional, I want to prompt to close after a few seconds. How do I do that?

Thanks!
Hyon
You could utilise the Topwindow, on which you could add some text, then you could listen to a keypress and close the topwindow when the keypress is detected.

I hope thats what you wanted to do,

Best Regards,
Croozeus
Reply With Quote

#7 Old Re: APPUIFW.NOTE - 2008-05-20, 10:05

Join Date: Dec 2007
Posts: 50
Location: Kuopio, Finland
ilpo55
Offline
Regular Contributor
Quote:
Originally Posted by rexwal View Post
Hi guys!


At the moment, im using appuifw.query(u"Press me to go away!", "query")
since appuifw.note disappears after 5 seconds (=

any way to do this?

Cheers,
rexwal
Could you use appuifw.InfoPopup() as explained here

Ilpo
Last edited by ilpo55 : 2008-05-20 at 10:35.
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

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