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 Fri 24 Oct 2014, 09:48
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 Posts_count  
Author Message
oldyeller


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

PostPosted: Thu 08 Nov 2012, 16:41    Post_subject:  How to make a tool-tip for button? (Solved)
Sub_title: 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

Edited_time_total
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
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: 812
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:   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.0581s ][ Queries: 12 (0.0203s) ][ GZIP on ]