Skip to main content

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


I've found an existing bug for first problem (tooltip placement): https://bugs.eclipse.org/bugs/show_bug.cgi?id=73390
But none for second one ( tooltip appear no more after a setToolTipText(null) until mouse exit/enter again control ).
And be sure that is exaclty the same code running on Windows (where tooltip works fine) and Linux/GTK.

Arnaud.



Steve Northover <Steve_Northover@xxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

02/11/2005 04:33 PM

Please respond to
platform-swt-dev

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
Re: [platform-swt-dev] GTK's tooltip.






GTK puts the tooltip there and we can't stop it.  Please verify that the code you are writing works on another platform (say Windows) and not on GTK and enter a bug report as necessary.  Sorry I can't be more helpful.



Arnaud De Muyser <ademuyser@xxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

02/11/2005 04:34 AM

Please respond to
platform-swt-dev

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[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