×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    16

    Post Simple UI Questions

    I have two small issues I can't seem to find the solution in the PyS60 documentation.

    1- How can I make a Text field non editable?
    <code>text = appuifw.Text(u'This text should be made editable')
    appuifw.app.body = text</code>

    2- How can I change the appuifw.app.menu text (which is by default 'Options') or set it to nothing?
    I can obviously change the content of the items by using:
    <code>appuifw.app.menu = [(u'Item1', item1_function), ...]</code>
    But I can't find a way to change the text.

  2. #2
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Helsinki
    Posts
    376

    Re: Simple UI Questions

    Quote Originally Posted by bmichel View Post
    I have two small issues I can't seem to find the solution in the PyS60 documentation.

    1- How can I make a Text field non editable?
    <code>text = appuifw.Text(u'This text should be made editable')
    appuifw.app.body = text</code>
    AFAIK no one has created such a component. But this might help:

    http://movz.googlecode.com/svn/trunk...extrenderer.py

    2- How can I change the appuifw.app.menu text (which is by default 'Options') or set it to nothing?
    I can obviously change the content of the items by using:
    <code>appuifw.app.menu = [(u'Item1', item1_function), ...]</code>
    But I can't find a way to change the text.
    http://code.google.com/p/uikludges/

    Uikludges has some API for it.
    Mikko Ohtamaa

    http://mfabrik.com
    http://blog.mfabrik.com

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    16

    Re: Simple UI Questions

    Quote Originally Posted by miohtama View Post
    AFAIK no one has created such a component. But this might help:

    http://movz.googlecode.com/svn/trunk...extrenderer.py
    Nice add-on but it doesn't exactly do what I need to.
    Note: you should update the examples in the header of the file. I believe they are outdated.

    Quote Originally Posted by miohtama View Post
    http://code.google.com/p/uikludges/

    Uikludges has some API for it.
    This library looks great. But I'm having problems installing it on the phone. Getting 'File Corrupted' message. I'm using a 2nd Edition FP2 phone.
    Last edited by bmichel; 2008-05-03 at 02:53.

Similar Threads

  1. Newbie questions on JavaCard application programming
    By faeder in forum Near Field Communication
    Replies: 3
    Last Post: 2008-05-13, 18:07
  2. Simple Questions
    By NokiaBrendon in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2005-07-13, 21:58
  3. Replies: 1
    Last Post: 2003-04-01, 08:10
  4. Simple UI Questions
    By freewebtool in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-07-25, 04:21
  5. Two simple questions!
    By bjajo780 in forum Mobile Java General
    Replies: 7
    Last Post: 2002-06-19, 06:11

Posting Permissions

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