parameters: (self)
return_statement: return True
docstring: Returns whether :class:`dockart` can be used (Windows XP / Vista / 7 only,
          requires Mark Hammonds's `pywin32 <http://sourceforge.net/projects/pywin32/>`_ package).
docstring_summary: Returns whether :class:`dockart` can be used (Windows XP / Vista / 7 only,
          requires Mark Hammonds's `pywin32 <http://sourceforge.net/projects/pywin32/>`_ package).
docstring_tokens: Returns whether : class : dockart can be used ( Windows XP / Vista / 7 only requires Mark Hammonds s pywin32 <http : // sourceforge . net / projects / pywin32 / > _ package ) .
function: def CanUseModernDockArt(self):
          """
          Returns whether :class:`dockart` can be used (Windows XP / Vista / 7 only,
          requires Mark Hammonds's `pywin32 <http://sourceforge.net/projects/pywin32/>`_ package).
          """
  
          if not _winxptheme:
              return False
  
          # Get the size of a small close button (themed)
          hwnd = self._frame.GetHandle()
          hTheme = winxptheme.OpenThemeData(hwnd, "Window")
  
          if not hTheme:
              return False
  
          return True
function_tokens: def CanUseModernDockArt ( self ) : if not _winxptheme : return False # Get the size of a small close button (themed) hwnd = self . _frame . GetHandle ( ) hTheme = winxptheme . OpenThemeData ( hwnd , "Window" ) if not hTheme : return False return True