Page 1 of 1

Tooltip does not Display

Posted: Thu Jan 12, 2006 17:01
by Ben811
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:

Re: Tooltip does not Display

Posted: Thu Jan 12, 2006 19:46
by lindquist
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.