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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Thu Aug 26 15:05:28 2004 UTC (20 years, 2 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +10 -10 lines
File MIME type: text/x-python
propagate arguments transparently to superclass-constructor

1 joko 1.1 #!/usr/bin/env python
2    
3 joko 1.2 # $Id: FraggleHtmlWindow.py,v 1.1 2004/08/25 22:45:51 joko Exp $
4     # $Log: FraggleHtmlWindow.py,v $
5     # Revision 1.1 2004/08/25 22:45:51 joko
6     # initial commit
7     #
8 joko 1.1
9     from wxPython.wx import *
10     from wxPython.html import *
11    
12     class FraggleHtmlWindow(wxHtmlWindow):
13     """Adds OnLinkClicked"""
14 joko 1.2 # learned from wxGlade:
15     # propagate arguments transparently to superclass-constructor
16     def __init__(self, *args, **kwds):
17     wxHtmlWindow.__init__(self, *args, **kwds)
18     self.urlOpener = None # must be assigned from main application!
19 joko 1.1 def OnLinkClicked(self, linkinfo):
20     self.urlOpener.open(linkinfo.GetHref())

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