Customized Listbox on canvas
by Marcelo Barros
Special needs require special programs. I was needing a special listbox, with variable number of lines per row. Even I have found some listboxes that accepted more than two lines per row, they didnยดt allow to mix rows with different number of lines.
So, I decided to create my own listbox, drawing it on canvas and using PyS60. If you are interested, see the following video and download the demo source code or sis. It may be a good starting point for other listboxes, for instance. The code was tested only in Nokia E71 and Python 1.4.5. It is not prepared yet for screen rotation.
Related posts:
- Customized Listbox on canvas – Now with graphics ! After the listbox on canvas with only texts, the next...
- Creating a listbox on canvas for XM 5800 Since Python 1.9.4 does not have scrollbars in listbox yet,...
Related posts brought to you by Yet Another Related Posts Plugin.
Fantastic!
Fine example of PyS60 versatility in UI, specially Listboxes. May be someone thinks to make his own phonebook now ๐
After seeing the code,
Such templates make other’s work easy and I am really think to use this template somewhere now… ๐
Canvas makes PyS60 more versatile – all we need is templates ๐
[…] Listbox on canvas – Now with graphics ! Add After the listbox on canvas with only texts, the next expected step is to add images support. Basic features remains the same, […]