| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class HyperlinkCtrl |
|
object--+ |Object--+ |EvtHandler--+ |Window--+ |Control--+ | HyperlinkCtrl
A static text control that emulates a hyperlink. The link is displayed in an appropriate text style, derived from the control's normal font. When the mouse rolls over the link, the cursor changes to a hand and the link's color changes to the active color.
Clicking on the link does not launch a web browser; instead, a wx.HyperlinkEvent is fired. Use the wx.EVT_HYPERLINK to catch link events.
| Method Summary | |
|---|---|
| HyperlinkCtrl |
A static text control that emulates a hyperlink. |
| bool |
Do the 2nd phase and create the GUI control. |
| Colour | GetHoverColour(self)
|
| Colour | GetNormalColour(self)
|
| String | GetURL(self)
|
| bool | GetVisited(self)
|
| Colour | GetVisitedColour(self)
|
SetHoverColour(self,
colour)
| |
SetNormalColour(self,
colour)
| |
SetURL(self,
url)
| |
SetVisited(self,
visited)
| |
SetVisitedColour(self,
colour)
| |
| Property Summary | |
|---|---|
HoverColour: See GetHoverColour and SetHoverColour | |
NormalColour: See GetNormalColour and SetNormalColour | |
thisown: The membership flag | |
URL: See GetURL and SetURL | |
Visited: See GetVisited and SetVisited | |
VisitedColour: See GetVisitedColour and SetVisitedColour | |
| Instance Method Details |
|---|
__init__(self,
parent,
id,
label,
url,
pos=DefaultPosition,
size=DefaultSize,
style=HL_DEFAULT_STYLE,
name=HyperlinkCtrlNameStr)
|
Create(self, parent, id, label, url, pos=DefaultPosition, size=DefaultSize, style=HL_DEFAULT_STYLE, name=HyperlinkCtrlNameStr)Do the 2nd phase and create the GUI control.
|
| Property Details |
|---|
HoverColourSee
|
NormalColourSee
|
thisownThe membership flag |
URL |
VisitedSee
|
VisitedColourSee
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:10:56 2007 | http://epydoc.sf.net |