urllabel class

Displays an URI allowing to perform actions on click
Inherits
object widget label
Description
This widget allows you to bind specific action on click. It can open an url, or execute any KVI++ code. The text color reacts on cursor movements and clicks.
Functions
$setUrl(<text:string>)
Sets the url to be opened when the links is activated. The way the label opens the url is defined in KVirc config dialog.
<string> $url()
Returns the currently set url.
$setAction(<text:string>)
Sets the action to be performed when the link is triggered. It can be any valid KVI++ code. Note that all KVirc commands must be prefixed with a '/', just as if you typed them in the input widget.
<string> $action()
Returns currently set action string.
$setText(<text>)
Sets the label's text. Reimplemented from internal reasons.
$setCursorChange(<bEnabled:boolean>)
Tells the label wheather to change or not the shape of cursor, when it is above the widget. Default is false.
<boolean> $cursorChange()
Returns true if the cursor changes over the label, false if not.
$setUseSingleClick(<bEnabled:boolean>)
If <bEnabled> is true, the label will react on single clicks, otherwise only double clicks will trigger the link.
<boolean> $useSingleClick()
Returns true if the label reacts on single clicks, false if it reacts only on double clicks.

Index, Object Classes
KVIrc 3.9.99 Documentation
Generated by root at Wed Oct 17 19:34:06 2007