Wt  3.7.1
Public Member Functions | Public Attributes | List of all members
Wt::Ext::ToolTipConfig Class Reference

A configuration object for tool tips. More...

#include <Wt/Ext/ToolTipConfig>

Inheritance diagram for Wt::Ext::ToolTipConfig:
Inheritance graph
[legend]

Public Member Functions

 ToolTipConfig (WObject *parent=0)
 Create a default tool tip configuration object.
 
- Public Member Functions inherited from Wt::WObject
 WObject (WObject *parent=0)
 Create a WObject with a given parent object. More...
 
virtual ~WObject ()
 Destructor. More...
 
virtual const std::string id () const
 Returns the (unique) identifier for this object. More...
 
virtual void setObjectName (const std::string &name)
 Sets an object name. More...
 
virtual std::string objectName () const
 Returns the object name. More...
 
void resetLearnedSlots ()
 Resets learned stateless slot implementations. More...
 
template<class T >
void resetLearnedSlot (void(T::*method)())
 Resets a learned stateless slot implementation. More...
 
template<class T >
WStatelessSlot * implementStateless (void(T::*method)())
 Declares a slot to be stateless and learn client-side behaviour on first invocation. More...
 
template<class T >
WStatelessSlot * implementStateless (void(T::*method)(), void(T::*undoMethod)())
 Declares a slot to be stateless and learn client-side behaviour in advance. More...
 
void isNotStateless ()
 Marks the current function as not stateless. More...
 
template<class T >
WStatelessSlot * implementJavaScript (void(T::*method)(), const std::string &jsCode)
 Provides a JavaScript implementation for a method. More...
 
void addChild (WObject *child)
 Adds a child object. More...
 
virtual void removeChild (WObject *child)
 Removes a child object. More...
 
const std::vector< WObject * > & children () const
 Returns the children.
 
WObjectparent () const
 Returns the parent object.
 

Public Attributes

bool autoDismiss
 Option to dismiss the tool tip automatically after a fixed period. More...
 
bool autoHide
 Option to hide the tool tip when the mouse moves away. More...
 
int dismissDelay
 Delay (in milliseconds) to dismiss the tool tip. More...
 
int hideDelay
 Delay (in milliseconds) to hide the tool tip. More...
 
int showDelay
 Delay (in milliseconds) to show the tool tip. More...
 
bool animate
 Option to use animations. More...
 
bool hideOnClick
 Option to hide when the user clicks anywhere. More...
 
int maxWidth
 Maximum tool tip width (pixels). More...
 
int minWidth
 Minimum tool tip width (pixels). More...
 
bool trackMouse
 Option to track the mouse. More...
 

Additional Inherited Members

- Public Types inherited from Wt::WObject
typedef void(WObject::* Method) ()
 Typedef for a WObject method without arguments.
 
- Protected Member Functions inherited from Wt::WObject
virtual WStatelessSlot * getStateless (Method method)
 On-demand stateless slot implementation. More...
 
- Static Protected Member Functions inherited from Wt::WObject
static WObjectsender ()
 Returns the sender of the current slot call. More...
 

Detailed Description

A configuration object for tool tips.

See also
AbstractButton::configureToolTip()

Member Data Documentation

◆ animate

bool Wt::Ext::ToolTipConfig::animate

Option to use animations.

The default value is false.

◆ autoDismiss

bool Wt::Ext::ToolTipConfig::autoDismiss

Option to dismiss the tool tip automatically after a fixed period.

The default value is true.

◆ autoHide

bool Wt::Ext::ToolTipConfig::autoHide

Option to hide the tool tip when the mouse moves away.

The default value is true.

◆ dismissDelay

int Wt::Ext::ToolTipConfig::dismissDelay

Delay (in milliseconds) to dismiss the tool tip.

The default value is 5000.

See also
autoDismiss

◆ hideDelay

int Wt::Ext::ToolTipConfig::hideDelay

Delay (in milliseconds) to hide the tool tip.

The default value is 200.

See also
autoHide

◆ hideOnClick

bool Wt::Ext::ToolTipConfig::hideOnClick

Option to hide when the user clicks anywhere.

The default value is true.

◆ maxWidth

int Wt::Ext::ToolTipConfig::maxWidth

Maximum tool tip width (pixels).

The default value is 300.

◆ minWidth

int Wt::Ext::ToolTipConfig::minWidth

Minimum tool tip width (pixels).

The default value is 40.

◆ showDelay

int Wt::Ext::ToolTipConfig::showDelay

Delay (in milliseconds) to show the tool tip.

The default value is 500.

◆ trackMouse

bool Wt::Ext::ToolTipConfig::trackMouse

Option to track the mouse.

The default value is false


Generated on Tue Dec 15 2020 for the C++ Web Toolkit (Wt) by doxygen 1.8.13