How to make a tool-tip for button? (Solved)

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
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

How to make a tool-tip for button? (Solved)

#1 Post by oldyeller »

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, 19:40, edited 1 time in total.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#2 Post by RSH »

Tool Tip

Code: Select all

tooltip-text=\"Your tool tip here.\"
Example

Code: Select all

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

Code: Select all

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

Code: Select all

# check if file is available
if [ -f "$Your-Exe-Here" ]; then
	# run your app or script
fi
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#3 Post by oldyeller »

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

Post Reply