Hello Alain,
can you post a sample program so i can
test the addition of the requested method(s) ?
I think we need an extension of the HTAB class, the attribute cToolTip is not existing.
Also the Method StartPage( <cname> ) must be extended to
StartPage( <cname> , cTooltip)</cname></cname>
xcommand BEGIN PAGE <cname> OF <otab> ;</otab></cname>
=> ;
<oTab>:StartPage( <cname> )
Also i must check, if this is possible in GTK and WinAPI rules.
With regards
MNI TNX, 73 es 55 de
DF7BE, Wilfried
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Alain,
with commit r3183 i added the tooltip feature to the HTAB class.
The recent code runs with GTK2 and GTK3.
I used a trick:
The tooltip text can only be set for the whole notebook,
so the method onEvent() changes the tooltip text
when changing the tab.
The tooltips text's are stored in a new array "aTooltips".
I'll do the port to WinAPI during the next few days.
Please check code and give feedback.
With regards
MNI TNX, 73 es 55 de
DF7BE, Wilfried
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A see that it works, but with an ennoying problem : whatever the position of the mouse on the titles of tabs, the tooltip is always that of the active tab ...
Which is not really satisfactory ...
Is there anyway to match the tooltip and the tab where is located the mouse?
Thanks
A+
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Alain,
can you post a sample program so i can
test the addition of the requested method(s) ?
I think we need an extension of the HTAB class, the attribute cToolTip is not existing.
Also the Method StartPage( <cname> ) must be extended to
StartPage( <cname> , cTooltip)</cname></cname>
xcommand BEGIN PAGE <cname> OF <otab> ;</otab></cname>
Also i must check, if this is possible in GTK and WinAPI rules.
With regards
MNI TNX, 73 es 55 de
DF7BE, Wilfried
Hi,
I have not understood the content of your post
Here is a very simple test. I commented Tooltips for tabs, as it doesn't build for now.
Thanks
A+
Hello Alain,
with commit r3183 i added the tooltip feature to the HTAB class.
The recent code runs with GTK2 and GTK3.
I used a trick:
The tooltip text can only be set for the whole notebook,
so the method onEvent() changes the tooltip text
when changing the tab.
The tooltips text's are stored in a new array "aTooltips".
I'll do the port to WinAPI during the next few days.
Please check code and give feedback.
With regards
MNI TNX, 73 es 55 de
DF7BE, Wilfried
Hi Wilfried,
A see that it works, but with an ennoying problem : whatever the position of the mouse on the titles of tabs, the tooltip is always that of the active tab ...
Which is not really satisfactory ...
Is there anyway to match the tooltip and the tab where is located the mouse?
Thanks
A+
No trick ?
A+