General wx code question (was HtmlWindow)

Which leads to a general question: Is it always preferable for Get___() and Set___() methods to come in pairs? This may not strictly apply to wx.

···

On Fri, May 18, 2012 at 9:45 AM, Tim Roberts timr@probo.com wrote:

cefull wrote:

I have a wx.html.HtmlWindow object, using SetPage to set the content.

h = wx.html.HtmlWindow()

h.SetPage(someHTML)

weirdly there is no GetPage() to get back the html content, is there

some method to get the html content back?

When in doubt, check the demo.

h.GetParser().GetSource()

Josh English
Joshua.R.English@gmail.com
http://www.joshuarenglish.com

Josh English wrote:

···
-- Tim Roberts, Providenza & Boekelheide, Inc.

timr@probo.com