×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Question How to use the "wait" animation?

    I'm working on an app that updates data from the internet. I want give the user some feedback that update is in progress.

    How to use the default Maemo 5 "wait" animation? I have in mind that circle with lines.

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to use the progress indicator?

    You need to set atom _HILDON_WM_WINDOW_PROGRESS_INDICATOR of type XA_INTEGER with value 1 to your window to enable progress indicator. Then set 0 or remove atom to disable it.

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    272

    Re: How to use the progress indicator?

    Quote Originally Posted by divanov View Post
    You need to set atom _HILDON_WM_WINDOW_PROGRESS_INDICATOR of type XA_INTEGER with value 1 to your window to enable progress indicator. Then set 0 or remove atom to disable it.
    Thanks, but how can I do it? Would someone be so kind to point me to some sample code?

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to use the "wait" animation?

    You should use Xlib's XChangeProperty, there is an example in Maemo wiki.

  5. #5
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to use the "wait" animation?

    In case you are using Qt 4.6 there is a wrapper for that:
    Code:
    QWidget::setAttribute(Qt::WA_Maemo5ShowProgressIndicator, true);

Similar Threads

  1. Replies: 3
    Last Post: 2010-01-12, 20:54
  2. Problem in Bitmap Animation
    By aditighosal in forum Symbian
    Replies: 2
    Last Post: 2008-07-22, 07:45
  3. S60 options menu animation
    By comp_freak in forum Symbian User Interface
    Replies: 0
    Last Post: 2007-02-14, 10:39
  4. Http client api, animation delay
    By 1xuname1x in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-10-11, 07:40

Posting Permissions

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