On Thu, Dec 5, 2013 at 11:05 AM, Qas K <[email protected]> wrote:

> I would like to alter the value of *EntryMenuItem* inside the callback
> function (ie. the user types on the keyboard for that menu item). I try to
> alter it using self.the_menu_item.value = "What I want". But the problem is
> that this updated value is not drawn until the user changes it *again*.
>

Looking at the the code in EntryMenuItem seems that you need to
  1. Change the_entry_menu_item._value
  2. call the_entry_menu_item._calculate_value()

If that does not work, maybe you should post a brief runnable script
demoing the problem

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to