Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 15:17
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
[Solved] Popup while crossing over button with cursor?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 1825
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Tue 27 Oct 2009, 19:00    Post subject:  [Solved] Popup while crossing over button with cursor?  

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, 08:10; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6428
Location: Auckland, New Zealand

PostPosted: Tue 27 Oct 2009, 22:54    Post subject:  

Tooltips in gtkdialog are explained here http://www.murga-linux.com/puppy/viewtopic.php?t=38608
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 1825
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Wed 28 Oct 2009, 04:37    Post subject:  

Thank you !
For those who are interested in the reply (found in the very useful page linked above) :
Quote:
Tooltips
>> Gtkdialog does support tooltips, even if it's not documented: Shocked
<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, 08:08; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6428
Location: Auckland, New Zealand

PostPosted: Wed 28 Oct 2009, 06:20    Post subject:  

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?
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 1825
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Wed 28 Oct 2009, 08:08    Post subject:  

Here is the solution :
Code:
<button tooltip-text=" Message d '\''erreur ">......</button>

Note : After \, 2 apostrophes or simple quotes and not double quotes !
Regards.
Back to top
View user's profile Send private message Visit poster's website 
steveljohn8

Joined: 19 Nov 2009
Posts: 1

PostPosted: Thu 19 Nov 2009, 04:56    Post subject:  

yes there bit i also got some problem with it.
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 2322
Location: New Zealand

PostPosted: Fri 08 Apr 2011, 21:09    Post subject:  

Argolance wrote:
Here is the solution :
Code:
<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

Quote:

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.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0668s ][ Queries: 11 (0.0168s) ][ GZIP on ]