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 Sun 21 Dec 2014, 09:47
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 Posts_count  
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 1851
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.

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
disciple

Joined: 20 May 2006
Posts: 6464
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: 1851
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 !

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
disciple

Joined: 20 May 2006
Posts: 6464
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: 1851
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_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: 2350
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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