| Reply | « Previous Thread | Next Thread » |
|
hi, I have big problem with a code... I have 2 questions: 1)how could I inserite 2 appuifw.text in one appuifw.body?(i mean that I cant put 2 static text in just one body...) 2)how can I use the canvas to put the text in a program? i did that code, if you can please help me to correct this: import appuifw appuifw.app.screen='large' appuifw.body=canvas=appuifw.Canvas() canvas.clear() canvas.text( (2,12), u'Text') canvas.text( (2,24), u'by luke14free') def alfa(): global a a='alfa' def write(): canvas.text( (2,36), a)#the global a into the canvas.text my phone is 6630; (s60,2nd generation symbian 8.0) thank yuo nokia python s60 comunity |
| luke14free |
| View Public Profile |
| Find all posts by luke14free |
|
Quote:
![]() Quote:
You can only use one widget (Text,List or Canvas ) in the application body. Look at the official doc ...Quote:
PS : Next time put your example code between code tag for keeping code indentation ![]() pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Count chars on appuifw.Text and show it like when you create SMS | adywicaksono | Python | 1 | 2006-05-25 03:51 |
| Formating color, style appuifw.Text not work | adywicaksono | Python | 3 | 2006-05-03 07:39 |
| appuifw.text font | pimol | Python | 5 | 2006-02-26 12:09 |
| Does appuifw.Text input support normal text? | bercobeute | Python | 2 | 2006-02-22 09:43 |
| appuifw.Text() bug ? | sznever | Python | 2 | 2005-07-05 15:31 |