You Are Here:

Community: Developer Discussion Boards

#1 Old [Announce] Customized Listbox on canvas for XM 5800 - 2009-04-30, 07:41

Join Date: Nov 2007
Posts: 318
Location: Sertaozinho/Brazil
Send a message via MSN to marcelobarrosalmeida Send a message via Skype™ to marcelobarrosalmeida
marcelobarrosalmeida's Avatar
marcelobarrosalmeida
Offline
Forum Nokia Champion
It is too late and I am too tired. But I think it is impossible to sleep before announcing the initial support for listbox on canvas for XM 5800. At this moment the listbox is ugly, scrollbars are far from desired and fonts need a lot of enhancements. But it is possible to use it like original listbox in your XM 5800, even with auto-rotation support.

Code is at wordmobi SVN. Two pics here.

To replace your listbox, just use _Listbox instead original Listbox (canvaslistbox module). set_list() will work as well. _Listbox is a wrapper for CanvasListBox, just for make this compatibility easier.

Next days I will improve the appearance and behavior, unfortunately my time has been really scarce in the last two weeks.

Marcelo Barros


Marcelo Barros
Nokia E71, N800, N95 and XM 5800
http://www.croozeus.com
http://wordmobi.wordpress.com
http://jedizone.wordpress.com
Reply With Quote

#2 Old Re: [Announce] Customized Listbox on canvas for XM 5800 - 2009-04-30, 08:39

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Hi Marcelo!

I'm happily using your previous canvaslistbox (with icons) in two applications and it works mostly well. (I may have one or two patches later, if you accept them. :-)

Quote:
Originally Posted by marcelobarrosalmeida View Post
It is too late and I am too tired. But I think it is impossible to sleep before announcing the initial support for listbox on canvas for XM 5800.
Would it be possible to consider support for non-touchscreen devices too? Then developers could use one canvaslistbox.py without thinking about is the target device touchscreen or not.


--
Aapo Rista
http://code.google.com/p/pys60gps/
http://opennetmap.org/
Reply With Quote

#3 Old Re: [Announce] Customized Listbox on canvas for XM 5800 - 2009-04-30, 13:18

Join Date: Nov 2007
Posts: 318
Location: Sertaozinho/Brazil
Send a message via MSN to marcelobarrosalmeida Send a message via Skype™ to marcelobarrosalmeida
marcelobarrosalmeida's Avatar
marcelobarrosalmeida
Offline
Forum Nokia Champion
Hi

Quote:
Originally Posted by aaaaapo View Post
I'm happily using your previous canvaslistbox (with icons) in two applications and it works mostly well. (I may have one or two patches later, if you accept them. :-)
Nice ! Send me the patch or, if you want, I may give you access to repository and you make a branch.

Quote:
Originally Posted by aaaaapo View Post
Would it be possible to consider support for non-touchscreen devices too? Then developers could use one canvaslistbox.py without thinking about is the target device touchscreen or not.
Yes, for sure. I want to solve some problems before, like fonts and appearance. But I will have only one code at the end.

Marcelo


Marcelo Barros
Nokia E71, N800, N95 and XM 5800
http://www.croozeus.com
http://wordmobi.wordpress.com
http://jedizone.wordpress.com
Reply With Quote

#4 Old Re: [Announce] Customized Listbox on canvas for XM 5800 - 2009-08-25, 10:27

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by marcelobarrosalmeida View Post
Code is at wordmobi SVN. Two pics here.
The link doesn't work any more, so got to check: is this the latest version (in wiki): http://wiki.forum.nokia.com/index.ph...images_support

Bit too long to make me feel comfortable using it, but I'm getting seriously frustrated with lack of functional built-in listbox with graphics support. I have applications to make, one way or another

Cheers,

--jouni who must have icons in listbox
Reply With Quote

#5 Old Re: [Announce] Customized Listbox on canvas for XM 5800 - 2009-08-25, 14:05

Join Date: Nov 2007
Posts: 318
Location: Sertaozinho/Brazil
Send a message via MSN to marcelobarrosalmeida Send a message via Skype™ to marcelobarrosalmeida
marcelobarrosalmeida's Avatar
marcelobarrosalmeida
Offline
Forum Nokia Champion
Quote:
Originally Posted by JOM View Post
--jouni who must have icons in listbox
I saw many problem when loading large images. If you start to load and resize large images, Python can not handle them properly.

I recommend pymgfetch. It was easy to integrate (use available zip) and simple to use.

http://croozeus.com/blogs/?p=1304


Marcelo Barros
Nokia E71, N800, N95 and XM 5800
http://www.croozeus.com
http://wordmobi.wordpress.com
http://jedizone.wordpress.com
Reply With Quote

#6 Old Re: [Announce] Customized Listbox on canvas for XM 5800 - 2009-08-25, 14:48

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by marcelobarrosalmeida View Post
I saw many problem when loading large images. If you start to load and resize large images, Python can not handle them properly.

I recommend pymgfetch. It was easy to integrate (use available zip) and simple to use.

http://croozeus.com/blogs/?p=1304
My images are 48x48, so just a little bit zooming. Should be ok, I guess. PymgFetch cannot be used in my Kredit Exchange, want to show current name, value etc. info. However you gave me a totally new idea: I could use pymgfetch as sample and try to connect to "real" S60 listbox(es) !!!!!

Thanx,

--jouni
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
[Announce] Customized Listbox on canvas marcelobarrosalmeida Python 6 2009-04-13 20:24
[Announce] Multi-Selection Listbox Test 1.00 (sample code) JOM Python 5 2009-04-04 13:00
how to display the Listbox arungupta_2jan General Symbian C++ 4 2009-03-03 22:10
How to create a listbox on canvas marcelobarrosalmeida Python 6 2009-03-01 10:06
Major problem with delegation to Canvas bartekn Mobile Java Media (Graphics & Sounds) 8 2003-10-08 18:46

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