parameters: (*args, **kwargs)
return_statement: return _core_.Window_InheritAttributes(*args, **kwargs)
docstring: InheritAttributes(self)
  
          This function is (or should be, in case of custom controls) called
          during window creation to intelligently set up the window visual
          attributes, that is the font and the foreground and background
          colours.
  
          By 'intelligently' the following is meant: by default, all windows use
          their own default attributes. However if some of the parent's
          attributes are explicitly changed (that is, using SetFont and not
          SetOwnFont) and if the corresponding attribute hadn't been
          explicitly set for this window itself, then this window takes the same
          value as used by the parent. In addition, if the window overrides
          ShouldInheritColours to return false, the colours will not be changed
          no matter what and only the font might.
  
          This rather complicated logic is necessary in order to accommodate the
          different usage scenarios. The most common one is when all default
          attributes are used and in this case, nothing should be inherited as
          in modern GUIs different controls use different fonts (and colours)
          than their siblings so they can't inherit the same value from the
          parent. However it was also deemed desirable to allow to simply change
          the attributes of all children at once by just changing the font or
          colour of their common parent, hence in this case we do inherit the
          parents attributes.
docstring_summary: InheritAttributes(self)
docstring_tokens: InheritAttributes ( self )
function: def InheritAttributes(*args, **kwargs):
          """
          InheritAttributes(self)
  
          This function is (or should be, in case of custom controls) called
          during window creation to intelligently set up the window visual
          attributes, that is the font and the foreground and background
          colours.
  
          By 'intelligently' the following is meant: by default, all windows use
          their own default attributes. However if some of the parent's
          attributes are explicitly changed (that is, using SetFont and not
          SetOwnFont) and if the corresponding attribute hadn't been
          explicitly set for this window itself, then this window takes the same
          value as used by the parent. In addition, if the window overrides
          ShouldInheritColours to return false, the colours will not be changed
          no matter what and only the font might.
  
          This rather complicated logic is necessary in order to accommodate the
          different usage scenarios. The most common one is when all default
          attributes are used and in this case, nothing should be inherited as
          in modern GUIs different controls use different fonts (and colours)
          than their siblings so they can't inherit the same value from the
          parent. However it was also deemed desirable to allow to simply change
          the attributes of all children at once by just changing the font or
          colour of their common parent, hence in this case we do inherit the
          parents attributes.
  
          """
          return _core_.Window_InheritAttributes(*args, **kwargs)
function_tokens: def InheritAttributes ( * args , * * kwargs ) : return _core_ . Window_InheritAttributes ( * args , * * kwargs )