⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (408 Bytes)
Bug #842
ยป TestToolTip.cpp
Max Quatember
, 05/30/2011 04:37 PM
namespace
{
class
TestToolTip
:
public
Wt
::
WApplication
{
public:
TestToolTip
(
const
Wt
::
WEnvironment
&
env
)
:
Wt
::
WApplication
(
env
)
{
Wt
::
WLabel
*
w
=
new
Wt
::
WLabel
(
"hover to show tip"
,
root
()
);
w
->
resize
(
500
,
500
);
std
::
string
s
;
for
(
int
i
=
0
;
i
<
50
;
++
i
)
s
+=
boost
::
lexical_cast
<
std
::
string
>
(
i
)
+
" xxx
\r\n
"
;
w
->
setToolTip
(
s
);
}
};
}
(1-1/1)
Loading...