Package wx :: Module html :: Class HtmlWindow
[frames | no frames]

Type HtmlWindow

object --+                    
         |                    
    Object --+                
             |                
    EvtHandler --+            
                 |            
            Window --+        
                     |        
                 Panel --+    
                         |    
            ScrolledWindow --+
                             |
                            HtmlWindow

Known Subclasses:
PyClickableHtmlWindow

Proxy of C++ HtmlWindow class
Method Summary
Window __init__(self, parent, id, pos, size, style, name)
Construct and show a generic Window.
  __repr__(self)
  AddFilter(filter)
(Static method)
bool AppendToPage(self, source)
  base_OnCellClicked(self, cell, x, y, event)
  base_OnCellMouseHover(self, cell, x, y)
  base_OnLinkClicked(self, link)
  base_OnSetTitle(self, title)
bool Create(self, parent, id, pos, size, style, name)
Create the GUI part of the Window for 2-phase creation mode.
VisualAttributes GetClassDefaultAttributes(variant)
Get the default attributes for this class. (Static method)
HtmlContainerCell GetInternalRepresentation(self)
String GetOpenedAnchor(self)
String GetOpenedPage(self)
String GetOpenedPageTitle(self)
HtmlWinParser GetParser(self)
Frame GetRelatedFrame(self)
bool HasAnchor(self, anchor)
bool HistoryBack(self)
bool HistoryCanBack(self)
bool HistoryCanForward(self)
  HistoryClear(self)
bool HistoryForward(self)
bool LoadFile(self, filename)
bool LoadPage(self, location)
  ReadCustomization(self, cfg, path)
bool ScrollToAnchor(self, anchor)
  SelectAll(self)
String SelectionToText(self)
  SelectLine(self, pos)
  SelectWord(self, pos)
  SetBackgroundImage(self, bmpBg)
  SetBorders(self, b)
  SetFonts(self, normal_face, fixed_face, sizes)
bool SetPage(self, source)
  SetRelatedFrame(self, frame, format)
  SetRelatedStatusBar(self, bar)
  SetStandardFonts(self, size, normal_face, fixed_face)
  SetTitle(self, title)
Sets the window's title.
String ToText(self)
  WriteCustomization(self, cfg, path)

Instance Method Details

__init__(self, parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=HW_DEFAULT_STYLE, name=HtmlWindowNameStr)
(Constructor)

Construct and show a generic Window.
Parameters:
parent
           (type=Window)
id
           (type=int)
pos
           (type=Point)
size
           (type=Size)
style
           (type=long)
name
           (type=String)
Returns:
Window
Overrides:
wx.ScrolledWindow.__init__ (inherited documentation)

Create(self, parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=HW_SCROLLBAR_AUTO, name=HtmlWindowNameStr)

Create the GUI part of the Window for 2-phase creation mode.
Parameters:
parent
           (type=Window)
id
           (type=int)
pos
           (type=Point)
size
           (type=Size)
style
           (type=long)
name
           (type=String)
Returns:
bool
Overrides:
wx.ScrolledWindow.Create (inherited documentation)

SetTitle(self, title)

Sets the window's title. Applicable only to frames and dialogs.
Parameters:
title
           (type=String)
Overrides:
wx.Window.SetTitle (inherited documentation)

Static Method Details

GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)

Get the default attributes for this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes.

The variant parameter is only relevant under Mac currently and is ignore under other platforms. Under Mac, it will change the size of the returned font. See wx.Window.SetWindowVariant for more about this.

Parameters:
variant
           (type=int)
Returns:
VisualAttributes

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:13 2005 http://epydoc.sf.net