dabo Commit
Revision 7071
Date: 2012-01-30 18:45:57 -0800 (Mon, 30 Jan 2012)
Author: Ed
Trac: http://trac.dabodev.com/changeset/7071
Changed:
U trunk/dabo/ui/uiwx/dHyperLink.py
Log:
Fixed some formatting issues. No logic changes.
Diff:
Modified: trunk/dabo/ui/uiwx/dHyperLink.py
===================================================================
--- trunk/dabo/ui/uiwx/dHyperLink.py 2012-01-31 02:37:02 UTC (rev 7070)
+++ trunk/dabo/ui/uiwx/dHyperLink.py 2012-01-31 02:45:57 UTC (rev 7071)
@@ -11,6 +11,8 @@
from dabo.ui import makeDynamicProperty
from alignmentMixin import AlignmentMixin
+
+
class dHyperLink(dcm.dControlMixin, AlignmentMixin, hyperlink.HyperLinkCtrl):
"""
Creates a hyperlink that, when clicked, launches the specified
@@ -27,17 +29,14 @@
# Make the rollover effect the default, unless it was specified
as False.
self.ShowHover = self.ShowHover
-
self.Bind(hyperlink.EVT_HYPERLINK_LEFT, self._onWxHit) ## only
called if ShowInBrowser False
self.DoPopup(False)
-
def refresh(self):
super(dHyperLink, self).refresh()
self.UpdateLink(True)
-
def _setColors(self):
"""Updated the link with the specified colors."""
@@ -223,6 +222,7 @@
self.bindEvent(dabo.dEvents.Hit, self._onHit)
#self.ShowInBrowser = False
+
if __name__ == "__main__":
import test
test.Test().runTest(_dHyperLink_test)
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]