> Hi,
>
> Thanks to all for helping me download the Xlt library ! However I am trying
Thanks for showing interest.
> to use the XltBubbleButton widget to create buttons with tooltips and am
> having the following problem. I try to set XltNbubbleString after creating
> the widget, and when I query this resource I get the correct value. But
> when the tooltip pops up, it displays the name of the widget, which is the
> default value of this resource.
Ooopps, looks like I have never added the set_values support for that. The main
reason is that I think it is a bad idea, in most cases, to set things like
labels, and bubbles, with set_values. If the end user would prefer a different
string it is not possible when set with set_values, much better in the
resources. But that said, it's an easy addition that should be there.
>
> Moreover the tooltips are huge, almost the size of the top-level window, I
> think.
Not sure about this one......
>
> I also want to change the background color and put a border around the
> tooltip. Any ideas how I can accomplish these and solve the above problems
> ?
The bubble is a standard XmLabel, inside a transientShell which is a child of
the button. So...
Button.BubbleShell.BubbleLabel.background: red
should make the background red. Any resource applicable to an XmLabel should be
available this way, including the labelString resource. The best sources of
information are still the sources, unfortunatly. This includes the
tests/BubbleButton apps.
>
> I would appreciate any help or suggestions.
>
> Thanks in advance
>
> Regards
>
> Zakia
>
>
>
>