How to get tooltip displayed

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

singbol
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Sun Aug 23, 2009 04:44

How to get tooltip displayed

Postby singbol » Wed Sep 23, 2009 03:12

I've setDefaultToolTip("TaharezLook/Tooltip"),and in the CELayoutEditor, I filled the tooltip property with some text, but I can't get these text displayed when I put my mouse cursor on the window.What should I do? :)

Thanks in advance!

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: How to get tooltip displayed

Postby CrazyEddie » Wed Sep 23, 2009 08:53

I'm not sure if you mean in the editor in in your app. :) Presumably you mean in your app, though, so in this case you have to ensure you're correctly injecting time pulses via the System::injectTimePulse function.

CE.

singbol
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Sun Aug 23, 2009 04:44

Re: How to get tooltip displayed

Postby singbol » Wed Sep 23, 2009 08:57

:D
At last, one of my friend give me the right answer, just add CEGUI::System::getDefaultTooltip()->update(...)
Thanks to Eddie, too.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 10 guests