# encoding: utf-8
# module wx._html
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_html.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._core as __wx__core


from .HtmlWindowInterface import HtmlWindowInterface

class HtmlWindow(__wx__core.ScrolledWindow, HtmlWindowInterface):
    """
    HtmlWindow() -> None
    HtmlWindow(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=HW_DEFAULT_STYLE, name="htmlWindow") -> None
    
    wxHtmlWindow is probably the only class you will directly use unless
    you want to do something special (like adding new tag handlers or MIME
    filters).
    """
    def AcceptsFocus(self): # real signature unknown; restored from __doc__
        """ AcceptsFocus(self) -> bool """
        return False

    def AcceptsFocusFromKeyboard(self): # real signature unknown; restored from __doc__
        """ AcceptsFocusFromKeyboard(self) -> bool """
        return False

    def AcceptsFocusRecursively(self): # real signature unknown; restored from __doc__
        """ AcceptsFocusRecursively(self) -> bool """
        return False

    def AddChild(self, child, WindowBase=None): # real signature unknown; restored from __doc__
        """ AddChild(self, child: Optional[WindowBase]) """
        pass

    def AddFilter(self, filter): # real signature unknown; restored from __doc__
        """
        AddFilter(filter) -> None
        
        Adds an input filter to the static list of available filters.
        """
        pass

    def AppendToPage(self, source): # real signature unknown; restored from __doc__
        """
        AppendToPage(source) -> bool
        
        Appends HTML fragment to currently displayed text and refreshes the
        window.
        """
        return False

    def Destroy(self): # real signature unknown; restored from __doc__
        """ Destroy(self) -> bool """
        return False

    def DoEnable(self, enable): # real signature unknown; restored from __doc__
        """ DoEnable(self, enable: bool) """
        pass

    def DoFreeze(self): # real signature unknown; restored from __doc__
        """ DoFreeze(self) """
        pass

    def DoGetBestClientSize(self): # real signature unknown; restored from __doc__
        """ DoGetBestClientSize(self) -> Size """
        pass

    def DoGetBestSize(self): # real signature unknown; restored from __doc__
        """ DoGetBestSize(self) -> Size """
        pass

    def DoGetClientSize(self): # real signature unknown; restored from __doc__
        """ DoGetClientSize(self) -> (Optional[int], Optional[int]) """
        pass

    def DoGetPosition(self): # real signature unknown; restored from __doc__
        """ DoGetPosition(self) -> (Optional[int], Optional[int]) """
        pass

    def DoGetSize(self): # real signature unknown; restored from __doc__
        """ DoGetSize(self) -> (Optional[int], Optional[int]) """
        pass

    def DoMoveWindow(self, x, y, width, height): # real signature unknown; restored from __doc__
        """ DoMoveWindow(self, x: int, y: int, width: int, height: int) """
        pass

    def DoSetClientSize(self, width, height): # real signature unknown; restored from __doc__
        """ DoSetClientSize(self, width: int, height: int) """
        pass

    def DoSetSize(self, x, y, width, height, sizeFlags): # real signature unknown; restored from __doc__
        """ DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int) """
        pass

    def DoSetSizeHints(self, minW, minH, maxW, maxH, incW, incH): # real signature unknown; restored from __doc__
        """ DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int) """
        pass

    def DoSetWindowVariant(self, variant): # real signature unknown; restored from __doc__
        """ DoSetWindowVariant(self, variant: WindowVariant) """
        pass

    def DoThaw(self): # real signature unknown; restored from __doc__
        """ DoThaw(self) """
        pass

    def EnableVisibleFocus(self, enabled): # real signature unknown; restored from __doc__
        """ EnableVisibleFocus(self, enabled: bool) """
        pass

    def GetClassDefaultAttributes(self, variant=None): # real signature unknown; restored from __doc__
        """ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes """
        pass

    def GetClientAreaOrigin(self): # real signature unknown; restored from __doc__
        """ GetClientAreaOrigin(self) -> Point """
        pass

    def GetDefaultBorder(self): # real signature unknown; restored from __doc__
        """ GetDefaultBorder(self) -> Border """
        pass

    def GetDefaultBorderForControl(self): # real signature unknown; restored from __doc__
        """ GetDefaultBorderForControl(self) -> Border """
        pass

    def GetDefaultHTMLCursor(self, type): # real signature unknown; restored from __doc__
        """
        GetDefaultHTMLCursor(type) -> wx.Cursor
        
        Retrieves the default cursor for a given HTMLCursor type.
        """
        pass

    def GetHTMLBackgroundColour(self): # real signature unknown; restored from __doc__
        """ GetHTMLBackgroundColour(self) -> Optional[Colour] """
        pass

    def GetHTMLCursor(self, type): # real signature unknown; restored from __doc__
        """ GetHTMLCursor(self, type: HtmlWindowInterface.HTMLCursor) -> Cursor """
        pass

    def GetHTMLWindow(self): # real signature unknown; restored from __doc__
        """ GetHTMLWindow(self) -> Optional[Window] """
        pass

    def GetInternalRepresentation(self): # real signature unknown; restored from __doc__
        """
        GetInternalRepresentation() -> HtmlContainerCell
        
        Returns pointer to the top-level container.
        """
        return HtmlContainerCell

    def GetMainWindowOfCompositeControl(self): # real signature unknown; restored from __doc__
        """ GetMainWindowOfCompositeControl(self) -> Optional[Window] """
        pass

    def GetOpenedAnchor(self): # real signature unknown; restored from __doc__
        """
        GetOpenedAnchor() -> str
        
        Returns anchor within currently opened page (see
        wxHtmlWindow::GetOpenedPage).
        """
        return ""

    def GetOpenedPage(self): # real signature unknown; restored from __doc__
        """
        GetOpenedPage() -> str
        
        Returns full location of the opened page.
        """
        return ""

    def GetOpenedPageTitle(self): # real signature unknown; restored from __doc__
        """
        GetOpenedPageTitle() -> str
        
        Returns title of the opened page or wxEmptyString if the current page
        does not contain <TITLE> tag.
        """
        return ""

    def GetParser(self): # real signature unknown; restored from __doc__
        """
        GetParser() -> HtmlWinParser
        
        Returns a pointer to the current parser.
        """
        return HtmlWinParser

    def GetRelatedFrame(self): # real signature unknown; restored from __doc__
        """
        GetRelatedFrame() -> wx.Frame
        
        Returns the related frame.
        """
        pass

    def GetSizeAvailableForScrollTarget(self, *args, **kwargs): # real signature unknown
        pass

    def GetValidator(self): # real signature unknown; restored from __doc__
        """ GetValidator(self) -> Optional[Validator] """
        pass

    def HasTransparentBackground(self): # real signature unknown; restored from __doc__
        """ HasTransparentBackground(self) -> bool """
        return False

    def HistoryBack(self): # real signature unknown; restored from __doc__
        """
        HistoryBack() -> bool
        
        Moves back to the previous page.
        """
        return False

    def HistoryCanBack(self): # real signature unknown; restored from __doc__
        """
        HistoryCanBack() -> bool
        
        Returns true if it is possible to go back in the history i.e.
        """
        return False

    def HistoryCanForward(self): # real signature unknown; restored from __doc__
        """
        HistoryCanForward() -> bool
        
        Returns true if it is possible to go forward in the history i.e.
        """
        return False

    def HistoryClear(self): # real signature unknown; restored from __doc__
        """
        HistoryClear() -> None
        
        Clears history.
        """
        pass

    def HistoryForward(self): # real signature unknown; restored from __doc__
        """
        HistoryForward() -> bool
        
        Moves to next page in history.
        """
        return False

    def HTMLCoordsToWindow(self, cell, HtmlCell=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ HTMLCoordsToWindow(self, cell: Optional[HtmlCell], pos: Point) -> Point """
        pass

    def InformFirstDirection(self, direction, size, availableOtherDir): # real signature unknown; restored from __doc__
        """ InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool """
        return False

    def InheritAttributes(self): # real signature unknown; restored from __doc__
        """ InheritAttributes(self) """
        pass

    def InitDialog(self): # real signature unknown; restored from __doc__
        """ InitDialog(self) """
        pass

    def LoadFile(self, filename): # real signature unknown; restored from __doc__
        """
        LoadFile(filename) -> bool
        
        Loads an HTML page from a file and displays it.
        """
        return False

    def LoadPage(self, location): # real signature unknown; restored from __doc__
        """
        LoadPage(location) -> bool
        
        Unlike SetPage() this function first loads the HTML page from location
        and then displays it.
        """
        return False

    def OnCellClicked(self, cell, x, y, event): # real signature unknown; restored from __doc__
        """
        OnCellClicked(cell, x, y, event) -> bool
        
        This method is called when a mouse button is clicked inside
        wxHtmlWindow.
        """
        return False

    def OnCellMouseHover(self, cell, x, y): # real signature unknown; restored from __doc__
        """
        OnCellMouseHover(cell, x, y) -> None
        
        This method is called when a mouse moves over an HTML cell.
        """
        pass

    def OnHTMLLinkClicked(self, link): # real signature unknown; restored from __doc__
        """ OnHTMLLinkClicked(self, link: HtmlLinkInfo) """
        pass

    def OnHTMLOpeningURL(self, type, url): # real signature unknown; restored from __doc__
        """ OnHTMLOpeningURL(self, type: HtmlURLType, url: Any) -> (HtmlOpeningStatus, Optional[Any]) """
        pass

    def OnInternalIdle(self): # real signature unknown; restored from __doc__
        """ OnInternalIdle(self) """
        pass

    def OnLinkClicked(self, link): # real signature unknown; restored from __doc__
        """
        OnLinkClicked(link) -> None
        
        Called when user clicks on hypertext link.
        """
        pass

    def OnOpeningURL(self, type, url): # real signature unknown; restored from __doc__
        """
        OnOpeningURL(type, url) -> Tuple[HtmlOpeningStatus, str]
        
        Called when an URL is being opened (either when the user clicks on a
        link or an image is loaded).
        """
        pass

    def OnSetTitle(self, title): # real signature unknown; restored from __doc__
        """
        OnSetTitle(title) -> None
        
        Called on parsing <TITLE> tag.
        """
        pass

    def ProcessEvent(self, event): # real signature unknown; restored from __doc__
        """ ProcessEvent(self, event: Event) -> bool """
        return False

    def ReadCustomization(self, cfg, path=''): # real signature unknown; restored from __doc__
        """
        ReadCustomization(cfg, path='') -> None
        
        This reads custom settings from wxConfig.
        """
        pass

    def RemoveChild(self, child, WindowBase=None): # real signature unknown; restored from __doc__
        """ RemoveChild(self, child: Optional[WindowBase]) """
        pass

    def ScrollToAnchor(self, anchor): # real signature unknown; restored from __doc__
        """ ScrollToAnchor(anchor) -> bool """
        return False

    def SelectAll(self): # real signature unknown; restored from __doc__
        """
        SelectAll() -> None
        
        Selects all text in the window.
        """
        pass

    def SelectionToText(self): # real signature unknown; restored from __doc__
        """
        SelectionToText() -> str
        
        Returns the current selection as plain text.
        """
        return ""

    def SelectLine(self, pos): # real signature unknown; restored from __doc__
        """
        SelectLine(pos) -> None
        
        Selects the line of text that pos points at.
        """
        pass

    def SelectWord(self, pos): # real signature unknown; restored from __doc__
        """
        SelectWord(pos) -> None
        
        Selects the word at position pos.
        """
        pass

    def SendDestroyEvent(self, *args, **kwargs): # real signature unknown
        pass

    def SetBorders(self, b): # real signature unknown; restored from __doc__
        """
        SetBorders(b) -> None
        
        This function sets the space between border of window and HTML
        contents.
        """
        pass

    def SetCanFocus(self, canFocus): # real signature unknown; restored from __doc__
        """ SetCanFocus(self, canFocus: bool) """
        pass

    def SetDefaultHTMLCursor(self, type, cursor): # real signature unknown; restored from __doc__
        """
        SetDefaultHTMLCursor(type, cursor) -> None
        
        Sets the default cursor for a given HTMLCursor type.
        """
        pass

    def SetFonts(self, normal_face, fixed_face, sizes): # real signature unknown; restored from __doc__
        """
        SetFonts(normal_face, fixed_face, sizes) -> None
        
        This function sets font sizes and faces.
        """
        pass

    def SetHTMLBackgroundColour(self, clr, Colour=None): # real signature unknown; restored from __doc__
        """ SetHTMLBackgroundColour(self, clr: Optional[Colour]) """
        pass

    def SetHTMLBackgroundImage(self, bmpBg): # real signature unknown; restored from __doc__
        """ SetHTMLBackgroundImage(self, bmpBg: BitmapBundle) """
        pass

    def SetHTMLStatusText(self, text): # real signature unknown; restored from __doc__
        """ SetHTMLStatusText(self, text: Any) """
        pass

    def SetHTMLWindowTitle(self, title): # real signature unknown; restored from __doc__
        """ SetHTMLWindowTitle(self, title: Any) """
        pass

    def SetPage(self, source): # real signature unknown; restored from __doc__
        """
        SetPage(source) -> bool
        
        Sets the source of a page and displays it, for example:
        """
        return False

    def SetRelatedFrame(self, frame, format): # real signature unknown; restored from __doc__
        """
        SetRelatedFrame(frame, format) -> None
        
        Sets the frame in which page title will be displayed.
        """
        pass

    def SetRelatedStatusBar(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        SetRelatedStatusBar(index) -> None
        SetRelatedStatusBar(statusbar, index=0) -> None
        
        After calling SetRelatedFrame(), this sets statusbar slot where
        messages will be displayed.
        """
        pass

    def SetStandardFonts(self, size=-1, normal_face='', fixed_face=''): # real signature unknown; restored from __doc__
        """
        SetStandardFonts(size=-1, normal_face='', fixed_face='') -> None
        
        Sets default font sizes and/or default font size.
        """
        pass

    def SetValidator(self, validator): # real signature unknown; restored from __doc__
        """ SetValidator(self, validator: Validator) """
        pass

    def ShouldInheritColours(self): # real signature unknown; restored from __doc__
        """ ShouldInheritColours(self) -> bool """
        return False

    def ShouldScrollToChildOnFocus(self, *args, **kwargs): # real signature unknown
        pass

    def ToText(self): # real signature unknown; restored from __doc__
        """
        ToText() -> str
        
        Returns content of currently displayed page as plain text.
        """
        return ""

    def TransferDataFromWindow(self): # real signature unknown; restored from __doc__
        """ TransferDataFromWindow(self) -> bool """
        return False

    def TransferDataToWindow(self): # real signature unknown; restored from __doc__
        """ TransferDataToWindow(self) -> bool """
        return False

    def TryAfter(self, event): # real signature unknown; restored from __doc__
        """ TryAfter(self, event: Event) -> bool """
        return False

    def TryBefore(self, event): # real signature unknown; restored from __doc__
        """ TryBefore(self, event: Event) -> bool """
        return False

    def Validate(self): # real signature unknown; restored from __doc__
        """ Validate(self) -> bool """
        return False

    def WriteCustomization(self, cfg, path=''): # real signature unknown; restored from __doc__
        """
        WriteCustomization(cfg, path='') -> None
        
        Saves custom settings into wxConfig.
        """
        pass

    def __init__(self, parent=None, id=None, pos=None, size=None, style=None, name="htmlWindow"): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    InternalRepresentation = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetInternalRepresentation() -> HtmlContainerCell

Returns pointer to the top-level container."""

    OpenedAnchor = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetOpenedAnchor() -> str

Returns anchor within currently opened page (see
wxHtmlWindow::GetOpenedPage)."""

    OpenedPage = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetOpenedPage() -> str

Returns full location of the opened page."""

    OpenedPageTitle = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetOpenedPageTitle() -> str

Returns title of the opened page or wxEmptyString if the current page
does not contain <TITLE> tag."""

    Parser = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetParser() -> HtmlWinParser

Returns a pointer to the current parser."""

    RelatedFrame = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetRelatedFrame() -> wx.Frame

Returns the related frame."""



