Home | Trees | Index | Help |
|
---|
Module HyperLinksCtrl :: Class HyperLinksCtrl |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |Control
--+ |PyControl
--+ |GenStaticText
--+ | HyperLinksCtrl
Method Summary | |
---|---|
Default Class Constructor. | |
Automatically Browse To URL When Clicked. | |
Displays An Error Message (Accordingly To bReportErrors Variable) In A MessageBox. | |
Sets Wether To Show Popup Menu On Right Click Or Not. | |
Enable/Disable Rollover. | |
Returns Wether The HyperLink Has Text In Bold Or Not. | |
Returns The Browser Path. | |
Gets The Colours For The Link, The Visited Link And The Mouse Rollover. | |
Gets The Link Cursor. | |
Returns If Link Is UnderLined, If The Mouse Rollover Is Underlined And If The Visited Link Is Underlined. | |
Retrieve The URL Associated To The HyperLink. | |
Returns Wether A Link Has Been Visited Or Not. | |
Goto The Specified URL. | |
Captures Mouse Events For Cursor, Link Colors And Underlines. | |
Copy Data From The HyperLink To The ClipBoard. | |
Open Multiple URL In The Same Window (If Possible). | |
Set Wether To Report Browser Errors Or Not. | |
Sets The HyperLink In Bold Text. | |
Sets The Browser Path. | |
Sets The Colours For The Link, The Visited Link And The Mouse Rollover. | |
Sets Link Cursor Properties. | |
Underlines Properties. | |
Sets The HyperLink Text To The Specified URL. | |
Sets A Link As Visited. | |
Updates The Link. | |
Inherited from GenStaticText | |
Overridden base class virtual. | |
Overridden base class virtual. | |
Overridden base class virtual. | |
| |
| |
Sets the static text font and updates the control's size to exactly fit the label unless the control has wx.ST_NO_AUTORESIZE flag. | |
Sets the static text label and updates the control's size to exactly fit the label unless the control has wx.ST_NO_AUTORESIZE flag. | |
Overridden base class virtual. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
Inherited from GenStaticText | |
int |
labelDelta = 1 |
Instance Method Details |
---|
__init__(self,
parent,
id=-1,
label='',
pos=wx.Point(-1, -1),
size=wx.Size(-1, -1),
style=0,
name='staticText',
szURL='')
|
AutoBrowse(self, bBrowse=True)Automatically Browse To URL When Clicked. Set To False To Receive EVT_LINK_CLICKED() Event. |
DisplayError(self, szError, bReportErrors=True)Displays An Error Message (Accordingly To bReportErrors Variable) In A MessageBox. |
DoPopup(self, bPopup=True)Sets Wether To Show Popup Menu On Right Click Or Not. |
EnableRollover(self, bEnable=False)Enable/Disable Rollover. |
GetBold(self)Returns Wether The HyperLink Has Text In Bold Or Not. |
GetBrowserPath(self)Returns The Browser Path. |
GetColours(self)Gets The Colours For The Link, The Visited Link And The Mouse Rollover. |
GetLinkCursor(self)Gets The Link Cursor. |
GetUnderlines(self)Returns If Link Is UnderLined, If The Mouse Rollover Is Underlined And If The Visited Link Is Underlined. |
GetURL(self)Retrieve The URL Associated To The HyperLink. |
GetVisited(self)Returns Wether A Link Has Been Visited Or Not. |
GotoURL(self, szUrl, szBrowser='', bReportErrors=True, bSameWinIfPossible=False)Goto The Specified URL. The Input Values Are:
|
OnMouseEvent(self, event)Captures Mouse Events For Cursor, Link Colors And Underlines. |
OnPopUpCopy(self, event)Copy Data From The HyperLink To The ClipBoard. |
OpenInSameWindow(self, bIfPossible=False)Open Multiple URL In The Same Window (If Possible). |
ReportErrors(self, bReport=True)Set Wether To Report Browser Errors Or Not. |
SetBold(self, bBold=False)Sets The HyperLink In Bold Text. |
SetBrowserPath(self, browser='')Sets The Browser Path. Set To Empty String To Use The System Default Browser |
SetColours(self, link=wx.Colour(0, 0, 255), visited=wx.Colour(79, 47, 79), rollover=wx.Colour(0, 0, 255))Sets The Colours For The Link, The Visited Link And The Mouse Rollover. Defaults Are:
|
SetLinkCursor(self, cur=6)Sets Link Cursor Properties. |
SetUnderlines(self, link=True, visited=True, rollover=True)Underlines Properties. |
SetURL(self, szURL)Sets The HyperLink Text To The Specified URL. |
SetVisited(self, bVisited=False)Sets A Link As Visited. |
UpdateLink(self, bRefresh=True)Updates The Link. Changing Text Properties If:
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 28 23:21:57 2005 | http://epydoc.sf.net |