Project

General

Profile

Need help in creating a info popup dialog

Added by Giri Prasad N over 3 years ago

Hi,

I am new to Wt. I had a button in my UI. I need to add a pop-up dialog when the mouse moves over the button. This dialog describes the functionality of the button in a short sentence. This dialog should disappear once the mouse moves out of the button. Please suggest a widget or an example code where I can find my requirement.

Thanks & Regards,

Giri Prasad


Replies (4)

RE: Need help in creating a info popup dialog - Added by Marcelo Antunes over 3 years ago

The pushbutton has a method called settooltip that you may use, ain it also allows insertinh HTML inside tooltip

RE: Need help in creating a info popup dialog - Added by Giri Prasad N over 3 years ago

Thanks Marcelo. This helped me.

RE: Need help in creating a info popup dialog - Added by Giri Prasad N over 3 years ago

Marcelo Antunes wrote:

The pushbutton has a method called settooltip that you may use, ain it also allows insertinh HTML inside tooltip

How can I do the same for Menu items?

RE: Need help in creating a info popup dialog - Added by Marcelo Antunes over 3 years ago

The method settooltip is from class wwebwidget, so everything that extends wwebwidget can have it.

    (1-4/4)