Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] GTK's tooltip.


Hello,
I've defined my own Control which sometimes show a tool tip using Control.setToolTipText() method.
It appears that on Linux suse, eclipse 3.0.2  GTK always show tooltip at the bottom of the widget, if this is good
for "small" control as button, TreeItem and other, this is not for my control (due to it bigger size).
Why does not GTK tooltip appear below the mouse as window's tooltip does ?

I have an other problem, when the mouse enter my widget, the followings call of setToolTipText( str )
with a not null str appear (at the bottom, but appear), when a setToolTipText(null) call is made,
the tooltip disappear (as javadoc said, good!), but for allnext call to setToolTipText( "text") I made
no tooltip are shown (except if I move the mouse outer my control, then move mouse cursor into control).

If there any body who know how to display control's tooltip below mouse cursor rather than at the bottom
of the control ?
And know how can do for made setToolTipText("text") always work, even if after a setToolTipText(null).

Any help is welcome,
Thanks.

Arnaud.

Back to the top