Tooltip does not Display

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Ben811
Just popping in
Just popping in
Posts: 14
Joined: Wed Nov 23, 2005 09:33

Tooltip does not Display

Postby Ben811 » Thu Jan 12, 2006 17:01

Hi there,

I'm using Ogre under Linux.
Looking at the forum I found that I have to do a few major things for Tooltips:

Inject the time pulse: CEGUI::System::injectTimePulse(). Already did that for AutoRepeat Buttons.

Setting a default Tooltip:
CEGUI::System::getSingleton().setTooltip( (CEGUI::utf8*)"RealTVLook/Tooltip");

and assigning Text to a window:

Either by:

pkWin->setTooltipText( (CEGUI::utf8*)"Hello" );
pkWin->setTooltipType( (CEGUI::utf8*)"RealTVLook/Tooltip" );

or in the layout file:

<Property Name="Tooltip" Value="Quit the application" />
<Property Name="CustomTooltipType" Value="RealTVLook/Tooltip" />


But no tooltips are shown???

Can someone help me right here?

Thanks,

Ben :hammer:

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Tooltip does not Display

Postby lindquist » Thu Jan 12, 2006 19:46

What you've listed should be enough to get it working. There is'nt anything else you can do.

Have you tried with a TaharezLook/WindowsLook tooltip to check if it's your look'n'feel ?

And you only have to set the custom tool type if it's different from the default.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests