/[cvs]/nfo/projects/netfraggle/bin/FraggleHtmlWindow.py
ViewVC logotype

Contents of /nfo/projects/netfraggle/bin/FraggleHtmlWindow.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Wed Aug 25 22:45:51 2004 UTC (19 years, 10 months ago) by joko
Branch: MAIN
File MIME type: text/x-python
initial commit

1 #!/usr/bin/env python
2
3 # generated by wxGlade 0.3.3 on Wed Aug 25 15:12:49 2004
4 # code ripped from Pears: http://project5.freezope.org/pears/
5
6 # $Id$
7 # $Log$
8
9 #import wx
10 from wxPython.wx import *
11 from wxPython.html import *
12
13 class FraggleHtmlWindow(wxHtmlWindow):
14 """Adds OnLinkClicked"""
15 def __init__(self, parent, id):
16 wxHtmlWindow.__init__(self, parent, id, style=wxNO_FULL_REPAINT_ON_RESIZE)
17 self.urlOpener=None # must be assigned from pearsapp!
18 def OnLinkClicked(self, linkinfo):
19 self.urlOpener.open(linkinfo.GetHref())
20

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed