SetTopMenuTitleCaching

Last Updated2015-10-30
Created At2014-05-09

Change the menu title caching behavior of the TopMenu. By default the titles are cached to reduce overhead. If you need dynamic menu titles, which can change everytime the menu is displayed to a user, set this to false.

native void SetTopMenuTitleCaching(Handle topmenu, bool cache_titles)

Parameters

Handle topmenu
TopMenu Handle.
bool cache_titles
Cache the menu titles and don't call the handler with TopMenuAction_DisplayTitle everytime the menu is drawn?

Return Value

void

Error

Invalid TopMenu Handle