X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f20a2e1f4066e4f0235698e6220f1eed91c73326..015fd9ef4833ec3d8b0043a1c7e448c8be4f734a:/wxPython/src/mac/html.py diff --git a/wxPython/src/mac/html.py b/wxPython/src/mac/html.py index d663dea0f7..c6ae9a3a18 100644 --- a/wxPython/src/mac/html.py +++ b/wxPython/src/mac/html.py @@ -1,6 +1,10 @@ # This file was created automatically by SWIG. # Don't modify this file, modify the SWIG interface instead. +""" +Classes for a simple HTML rendering window, HTML Help Window, etc. +""" + import _html import _windows @@ -1093,15 +1097,16 @@ class HtmlWindow(_windows.ScrolledWindow): """ GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes - 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 users system, especially if it uses themes. + 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 SetWindowVariant for more about this. + ignore under other platforms. Under Mac, it will change the size of + the returned font. See `wx.Window.SetWindowVariant` for more about + this. """ return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs) @@ -1128,15 +1133,16 @@ def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs): """ HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes - 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 users system, especially if it uses themes. + 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 SetWindowVariant for more about this. + ignore under other platforms. Under Mac, it will change the size of + the returned font. See `wx.Window.SetWindowVariant` for more about + this. """ return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)