# 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>)`
Sets the url to be opened when the links is activated. The way the label opens the url is defined in KVirc config dialog.
`$url()`
Returns the currently set url.
`$setAction(<text>)`
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.
`$action()`
Returns currently set action string.
`$setText(<text>)`
Sets the label's text. Reimplemented from internal reasons.
`$setCursorChange(<bool>)`
Tells the label wheather to change or not the shape of cursor, when it is above the widget. Default is false.
`$cursorChange()`
Returns true if the cursor changes over the label, false if not.
`$setUseSingleClick(<bool>)`
If <bool> is true, the label will react on single clicks, otherwise only double clicks will trigger the link.
`$useSingleClick()`
Returns true if the label reacts on single clicks, false if it reacts only on double clicks.

Index, Object Classes

KVIrc 3.2.0 Documentation
Generated by root at Thu Mar 9 08:43:54 2006