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 23 Jul 2014, 12:31
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
How to make a tool-tip for button? (Solved)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
oldyeller


Joined: 15 Nov 2011
Posts: 772
Location: Mishawaka IN

PostPosted: Thu 08 Nov 2012, 16:41    Post subject:  How to make a tool-tip for button? (Solved)
Subject description: also a script to alert when a program is already installed
 

Hello Everyone

I would like to know how a tool-tip is done for a button and what is needed for a script to alert the user when a program is already been installed.

any help would be great thanks

Last edited by oldyeller on Sun 11 Nov 2012, 15:40; edited 1 time in total
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2282
Location: Germany

PostPosted: Thu 08 Nov 2012, 16:56    Post subject:  

Tool Tip

Code:
tooltip-text=\"Your tool tip here.\"


Example

Code:
<checkbox tooltip-text=\"Your tool tip here.\">
   <label>Your Label</label>
   <default>$YOURDEFAULTSET</default>
   <variable>YOURDEFAULTGET</variable>
</checkbox>


Check for File

Code:
# check if file is available
if [ -f "Your-Exe-Here" ]; then
   # run your app or script
fi


or also

Code:
# check if file is available
if [ -f "$Your-Exe-Here" ]; then
   # run your app or script
fi

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
oldyeller


Joined: 15 Nov 2011
Posts: 772
Location: Mishawaka IN

PostPosted: Sat 10 Nov 2012, 17:43    Post subject:  

Hi RSH,

It was just after I posted this that I found how to do the tooltip. Will the code for the alert next

Thanks

Cheers
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 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.0428s ][ Queries: 12 (0.0044s) ][ GZIP on ]