hi, Joseph

you can refer to the setToolTip() :
Wt::WAbstractArea<file:///home/cx/software/wt-2.99.1/doc/reference/html/classWt_1_1WAbstractArea.html#310e8e1d6360d22bf8bf0e484a52b8f9>,
Wt::WStandardItem<file:///home/cx/software/wt-2.99.1/doc/reference/html/classWt_1_1WStandardItem.html#76442b01365d83b068da168e08b63290>,
Wt::WCompositeWidget<file:///home/cx/software/wt-2.99.1/doc/reference/html/classWt_1_1WCompositeWidget.html#a18741866255b277604b97a04730b86b>,
Wt::WWebWidget<file:///home/cx/software/wt-2.99.1/doc/reference/html/classWt_1_1WWebWidget.html#4d676bbb5d54bd5bf5ba1edff996800d>,
Wt::WWidget<file:///home/cx/software/wt-2.99.1/doc/reference/html/classWt_1_1WWidget.html#7a7d40a35444c397b17d831996720557>

2009/7/9 Joseph VanAndel <[email protected]>

> What's the best way of showing a tooltip (or other transient window)
> when a user positions the cursor over a particular text widget?
>
> I want to show a tiny transient window displaying 2 lines of about 30
> characters when the cursor hovers over a particular text widget.
> I don't want the user to have to explicitly dismiss a dialog box.
>
> I found documentation for Wt::Ext::ToolTipConfig, which is used by
> Wt::Ext::AbstractButton, but I can't find an example of configuring
> the actual tooltip that is displayed, and this is only implmented for
> Ext::Button and Ext::MenuItem
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to