/usr/include/Wt/Ext/ToolTipConfig is in libwtext-dev 3.1.10-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | // This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef EXT_TOOLTIP_CONFIG_H_
#define EXT_TOOLTIP_CONFIG_H_
#include <Wt/WObject>
namespace Wt {
namespace Ext {
class Menu;
/*! \class ToolTipConfig Wt/Ext/ToolTipConfig Wt/Ext/ToolTipConfig
* \brief A configuration object for tool tips.
*
* \sa AbstractButton::configureToolTip()
*
* \ingroup ext
*/
class ToolTipConfig : public WObject
{
public:
/*! \brief Create a default tool tip configuration object.
*/
ToolTipConfig(WObject *parent = 0);
/*! \brief Option to dismiss the tool tip automatically after a
* fixed period.
*
* The default value is <i>true</i>.
*/
bool autoDismiss;
/*! \brief Option to hide the tool tip when the mouse moves away.
*
* The default value is <i>true</i>.
*/
bool autoHide;
/*! \brief Delay (in milliseconds) to dismiss the tool tip.
*
* The default value is 5000.
*
* \sa autoDismiss
*/
int dismissDelay;
/*! \brief Delay (in milliseconds) to hide the tool tip.
*
* The default value is 200.
*
* \sa autoHide
*/
int hideDelay;
/*! \brief Delay (in milliseconds) to show the tool tip.
*
* The default value is 500.
*/
int showDelay;
/*! \brief Option to use animations.
*
* The default value is <i>false</i>.
*/
bool animate;
/*! \brief Option to hide when the user clicks anywhere.
*
* The default value is <i>true</i>.
*/
bool hideOnClick;
/*! \brief Maximum tool tip width (pixels).
*
* The default value is 300.
*/
int maxWidth;
/*! \brief Minimum tool tip width (pixels).
*
* The default value is 40.
*/
int minWidth;
/*! \brief Option to track the mouse.
*
* The default value is <i>false</i>
*/
bool trackMouse;
void createConfig(std::ostream& config);
};
}
}
#endif // EXT_TOOLTIP_CONFIG_H_
|