Phillip Watts wrote:
They also have help.
Is there a way to force the htmlhelpcontroller dialog to be
on top? the object doesn't have Raise().
Thanks
I think what you want is to call the dialog's ShowModal() method rather than Show().
I'm not sure its based on Dialog. Anyway, I don't know how to
use ShowModal.import wx import wx.html
class doc:
def __init__(s,page=''):
s.help = wx.html.HtmlHelpController()
s.help.AddBook('doc/pipos.hpp')
if page: s.display(page)def display(s,page):
s.help.Display(page)
s.help.ShowModal()File "/home/phil/pos/piposdoc.py", line 13, in display
s.help.ShowModal()
AttributeError: 'HtmlHelpController' object has no attribute 'ShowModal'
Hmmm...in doing some research, I stumbled across this thread:
http://lists.wxwidgets.org/pipermail/wxpython-mac/2007-May/002281.html
In it, Robin seems to say that it is neither a frame nor a dialog, but a controller or wrapper around a frame. Thus, I am not sure what to tell you. Hopefully Robin will weigh in soon with his nigh infinite wisdom regarding wx.
Mike