You are not logged in.
Pages: 1
I would like to set the text of the tooltip (<tool></tool>) on 2 or more lines (not wrapped) ... the thing is, I can't see how I can achieve this as all my attempts failed.
I asked on the xfce chan yet no response ... mb you guys know?
Thanks
Offline
I imagine you could achieve this by putting "\n" or "\\n" at the spot where you want a new line.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Tried it ... doesn't work ...
Also tried <br> even though it's not part of the pango markup language ...
And simply pressing 'enter' breaks functionality.
Offline
It works on my system, though I am using the old 4.6 version. I use \n so for example my script that shows my current bandwidth for the day:
<txt>87 MB</txt>
<tool>86.92 MB\nThis is the second line</tool>
Ya, I put the second line there just to test it. You can also just put a normal 'enter' in there too. My code is in perl:
print "<tool>$exact
This is the second line";
Then the genmon adds a space. Just make sure your program is not taking the \n for itself, though that really shouldn't matter. Best of luck.
If you still have problems, post the complete *output* of the program.
Offline
Pages: 1