[Solved] Popup while crossing over button with cursor?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

[Solved] Popup while crossing over button with cursor?

#1 Post by Argolance »

Hello,
Title exactly tells what I am looking for : Is there any gtkdialog script that shows how to get a popup while crossing over a button with the mouse cursor ?
Thank you for your attention.
Regards.
Last edited by Argolance on Wed 28 Oct 2009, 12:10, edited 1 time in total.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#2 Post by disciple »

Tooltips in gtkdialog are explained here http://www.murga-linux.com/puppy/viewtopic.php?t=38608
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#3 Post by Argolance »

Thank you !
For those who are interested in the reply (found in the very useful page linked above) :
Tooltips
>> Gtkdialog does support tooltips, even if it's not documented: :shock:
<button tooltip-text=" tooltips text ">......</button>
More : French language uses simple quotes, for example : l'Amour ! How could I insert simple quotes ['] in my tooltips without braking the code ?
Thank you !
Last edited by Argolance on Wed 28 Oct 2009, 12:08, edited 1 time in total.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#4 Post by disciple »

Hmmm. Sit Heel Speak was asking how to escape apostrophes too... I suspect no one knows if it is possible, but have you asked in that thread?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#5 Post by Argolance »

Here is the solution :

Code: Select all

<button tooltip-text=" Message d '\''erreur ">......</button>
Note : After \, 2 apostrophes or simple quotes and not double quotes !
Regards.

steveljohn8
Posts: 1
Joined: Thu 19 Nov 2009, 08:25

#6 Post by steveljohn8 »

yes there bit i also got some problem with it.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#7 Post by mcewanw »

Argolance wrote:Here is the solution :

Code: Select all

<button tooltip-text=" Message d '\''erreur ">......</button>
Note : After \, 2 apostrophes or simple quotes and not double quotes !
Regards.
Just came across this old post and thought others might find it useful to know that more details about quoting (including the above trick) are covered in the Advanced Bash User Guide here:

http://tldp.org/LDP/abs/html/quotingvar.html
Since even the escape character (\) gets a literal interpretation within single quotes, trying to enclose a single quote within single quotes will not yield the expected result.

echo "Why can't I write 's between single quotes"

echo

# The roundabout method.
echo 'Why can'\''t I write '"'"'s between single quotes'
# |-------| |----------| |-----------------------|
# Three single-quoted strings, with escaped and quoted single quotes between.

# This example courtesy of Stéphane Chazelas.
github mcewanw

Post Reply