py2docfx 0.1.15rc2025477__py3-none-any.whl → 0.1.16.dev2051338__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py2docfx/docfx_yaml/process_doctree.py +21 -34
- py2docfx/docfx_yaml/tests/test_method_arguments.py +1 -7
- py2docfx/docfx_yaml/tests/test_process_doctree.py +120 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_database.py +22 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +82 -35
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/builder.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/containers.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/decoder.py +62 -115
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_edition_defaults.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_message.py +15 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/testing_refleaks.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/type_checkers.py +5 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/well_known_types.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/json_format.py +25 -9
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message.py +26 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message_factory.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto.py +38 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto_text.py +129 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/reflection.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/symbol_database.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/text_format.py +8 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/unknown_fields.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/application.py +51 -17
- py2docfx/venv/venv1/Lib/site-packages/msal/broker.py +18 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/cloudshell.py +5 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/managed_identity.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/sku.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/msal/token_cache.py +31 -10
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/__init__.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/cache_lock.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/filelock.py +62 -0
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/libsecret.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/token_cache.py +7 -1
- py2docfx/venv/venv1/Lib/site-packages/pyasn1_modules/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/venv1/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/typing_extensions.py +999 -74
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/RECORD +141 -596
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +0 -283
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +0 -1153
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +0 -723
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_read.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_write.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/schema_table.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +0 -1547
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +0 -879
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/tryconnection.py +0 -30
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/_parameterized.py +0 -420
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/service.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/isapi/__init__.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +0 -809
- py2docfx/venv/venv1/Lib/site-packages/isapi/isapicon.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/advanced.py +0 -218
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +0 -116
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +0 -162
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +0 -191
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__about__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__init__.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__main__.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/portalocker/constants.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/portalocker/exceptions.py +0 -27
- py2docfx/venv/venv1/Lib/site-packages/portalocker/portalocker.py +0 -154
- py2docfx/venv/venv1/Lib/site-packages/portalocker/redis.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/portalocker/utils.py +0 -569
- py2docfx/venv/venv1/Lib/site-packages/pythoncom.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +0 -258
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +0 -183
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +0 -415
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +0 -189
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/__init__.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -31
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +0 -1097
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +0 -146
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/status.py +0 -242
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -676
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +0 -411
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +0 -168
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +0 -646
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +0 -299
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -379
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +0 -173
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +0 -995
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +0 -552
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +0 -684
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +0 -749
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/window.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/winout.py +0 -589
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +0 -536
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +0 -216
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +0 -87
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +0 -585
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +0 -501
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/docview.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/object.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/thread.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/window.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +0 -593
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +0 -180
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +0 -363
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/control.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +0 -312
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/find.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +0 -704
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +0 -190
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +0 -3083
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +0 -841
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +0 -323
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +0 -494
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +0 -353
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regedit.py +0 -382
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regpy.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CopyFileEx.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +0 -28
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +0 -32
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/FileSecurityTest.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +0 -43
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +0 -127
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegRestoreKey.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/SystemParametersInfo.py +0 -210
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +0 -42
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/desktopmanager.py +0 -246
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/eventLogDemo.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +0 -33
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/mmapfile_demo.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/cat.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/print_desktop.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -170
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsaregevent.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsastore.py +0 -12
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsave_sa.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsecurity.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sa_inherit.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/security_enums.py +0 -336
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -102
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +0 -199
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/serviceEvents.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/timer_demo.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +0 -117
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32cred_demo.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32fileDemo.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_demo.py +0 -177
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_dialog.py +0 -445
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +0 -464
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32rcparser_demo.py +0 -86
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32servicedemo.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +0 -123
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/winprocess.py +0 -230
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +0 -164
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/afxres.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +0 -1551
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/mmsystem.py +0 -956
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +0 -293
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/ntsecuritycon.py +0 -731
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +0 -124
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/rasutil.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regcheck.py +0 -161
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +0 -395
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +0 -413
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspicon.py +0 -477
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +0 -5064
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +0 -1922
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +0 -225
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +0 -957
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32inetcon.py +0 -1086
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32netcon.py +0 -627
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +0 -570
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +0 -674
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +0 -1073
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +0 -1201
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32traceutil.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +0 -7362
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winioctlcon.py +0 -1079
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winnt.py +0 -1347
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winperf.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/ControlService.py +0 -594
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +0 -97
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +0 -156
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +0 -201
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/backupEventLog.py +0 -46
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +0 -194
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/killProcName.py +0 -62
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/rasutil.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +0 -607
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +0 -175
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_exceptions.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_odbc.py +0 -264
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_pywintypes.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_security.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +0 -273
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -91
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +0 -144
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32event.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +0 -1096
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +0 -333
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +0 -108
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32pipe.py +0 -148
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32print.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32profile.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32rcparser.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32timezone.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32trace.py +0 -366
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32wnet.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/test/testall.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32com/__init__.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +0 -717
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +0 -771
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +0 -604
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/connect.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +0 -699
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +0 -825
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +0 -1350
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +0 -453
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +0 -182
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/tlbrowse.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/connect.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +0 -92
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +0 -434
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -214
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +0 -368
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/trybag.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +0 -618
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +0 -331
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +0 -1017
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +0 -239
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/factory.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/localserver.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +0 -803
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +0 -677
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/util.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/PythonTools.py +0 -47
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/perfmon.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -181
- py2docfx/venv/venv1/Lib/site-packages/win32com/storagecon.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/daodump.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/policySemantics.py +0 -115
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +0 -44
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAccess.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testArrays.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testClipboard.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testCollections.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testConversionErrors.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDCOM.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDates.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExplorer.py +0 -139
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGIT.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +0 -149
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +0 -140
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMarshal.py +0 -160
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +0 -918
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testROT.py +0 -29
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testShell.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStorage.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStreams.py +0 -147
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testWMI.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +0 -320
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvbscript_regexp.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testxslt.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +0 -224
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/__init__.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/adsicon.py +0 -340
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/test.py +0 -274
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -219
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axcontrol/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +0 -467
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +0 -238
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/gateways.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/stackframe.py +0 -178
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/asputil.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +0 -1291
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +0 -438
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost.py +0 -240
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_record.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_test.py +0 -402
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +0 -300
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/ifiltercon.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/inetcon.py +0 -261
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/__init__.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +0 -875
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +0 -1023
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +0 -211
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/pscon.py +0 -838
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +0 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +0 -179
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +0 -67
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +0 -93
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +0 -56
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +0 -45
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/create_link.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/dump_link.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -125
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +0 -84
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +0 -866
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +0 -81
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +0 -971
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/viewstate.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/shellcon.py +0 -1615
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +0 -75
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellFolder.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellItem.py +0 -69
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +0 -3
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +0 -120
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/top_level.txt +0 -0
@@ -1,415 +0,0 @@
|
|
1
|
-
# Ported from the win32 and MFC OpenGL Samples.
|
2
|
-
|
3
|
-
import sys
|
4
|
-
|
5
|
-
try:
|
6
|
-
from OpenGL.GL import (
|
7
|
-
GL_COLOR_BUFFER_BIT,
|
8
|
-
GL_DEPTH_BUFFER_BIT,
|
9
|
-
GL_DEPTH_TEST,
|
10
|
-
GL_MODELVIEW,
|
11
|
-
GL_PROJECTION,
|
12
|
-
GL_QUAD_STRIP,
|
13
|
-
GL_QUADS,
|
14
|
-
GL_TRIANGLE_FAN,
|
15
|
-
glBegin,
|
16
|
-
glClear,
|
17
|
-
glClearColor,
|
18
|
-
glClearDepth,
|
19
|
-
glColor3f,
|
20
|
-
glEnable,
|
21
|
-
glEnd,
|
22
|
-
glFinish,
|
23
|
-
glLoadIdentity,
|
24
|
-
glMatrixMode,
|
25
|
-
glPopMatrix,
|
26
|
-
glPushMatrix,
|
27
|
-
glRotatef,
|
28
|
-
glTranslatef,
|
29
|
-
glVertex3f,
|
30
|
-
glViewport,
|
31
|
-
)
|
32
|
-
from OpenGL.GLU import (
|
33
|
-
GLU_FILL,
|
34
|
-
GLU_SMOOTH,
|
35
|
-
gluCylinder,
|
36
|
-
gluNewQuadric,
|
37
|
-
gluPerspective,
|
38
|
-
gluQuadricDrawStyle,
|
39
|
-
gluQuadricNormals,
|
40
|
-
)
|
41
|
-
from OpenGL.WGL import (
|
42
|
-
PIXELFORMATDESCRIPTOR,
|
43
|
-
ChoosePixelFormat,
|
44
|
-
DescribePixelFormat,
|
45
|
-
GetPixelFormat,
|
46
|
-
SetPixelFormat,
|
47
|
-
SwapBuffers,
|
48
|
-
wglCreateContext,
|
49
|
-
wglDeleteContext,
|
50
|
-
wglGetCurrentContext,
|
51
|
-
wglGetCurrentDC,
|
52
|
-
wglMakeCurrent,
|
53
|
-
)
|
54
|
-
except ImportError:
|
55
|
-
print("The OpenGL extensions do not appear to be installed.")
|
56
|
-
print("This Pythonwin demo can not run")
|
57
|
-
sys.exit(1)
|
58
|
-
|
59
|
-
import timer
|
60
|
-
import win32api
|
61
|
-
import win32con
|
62
|
-
import win32ui
|
63
|
-
from pywin.mfc import docview
|
64
|
-
|
65
|
-
PFD_TYPE_RGBA = 0
|
66
|
-
PFD_TYPE_COLORINDEX = 1
|
67
|
-
PFD_MAIN_PLANE = 0
|
68
|
-
PFD_OVERLAY_PLANE = 1
|
69
|
-
PFD_UNDERLAY_PLANE = -1
|
70
|
-
PFD_DOUBLEBUFFER = 0x00000001
|
71
|
-
PFD_STEREO = 0x00000002
|
72
|
-
PFD_DRAW_TO_WINDOW = 0x00000004
|
73
|
-
PFD_DRAW_TO_BITMAP = 0x00000008
|
74
|
-
PFD_SUPPORT_GDI = 0x00000010
|
75
|
-
PFD_SUPPORT_OPENGL = 0x00000020
|
76
|
-
PFD_GENERIC_FORMAT = 0x00000040
|
77
|
-
PFD_NEED_PALETTE = 0x00000080
|
78
|
-
PFD_NEED_SYSTEM_PALETTE = 0x00000100
|
79
|
-
PFD_SWAP_EXCHANGE = 0x00000200
|
80
|
-
PFD_SWAP_COPY = 0x00000400
|
81
|
-
PFD_SWAP_LAYER_BUFFERS = 0x00000800
|
82
|
-
PFD_GENERIC_ACCELERATED = 0x00001000
|
83
|
-
PFD_DEPTH_DONTCARE = 0x20000000
|
84
|
-
PFD_DOUBLEBUFFER_DONTCARE = 0x40000000
|
85
|
-
PFD_STEREO_DONTCARE = 0x80000000
|
86
|
-
|
87
|
-
|
88
|
-
# threeto8 = [0, 0o111>>1, 0o222>>1, 0o333>>1, 0o444>>1, 0o555>>1, 0o666>>1, 0o377]
|
89
|
-
threeto8 = [0, 73 >> 1, 146 >> 1, 219 >> 1, 292 >> 1, 365 >> 1, 438 >> 1, 255]
|
90
|
-
twoto8 = [0, 0x55, 0xAA, 0xFF]
|
91
|
-
oneto8 = [0, 255]
|
92
|
-
|
93
|
-
|
94
|
-
def ComponentFromIndex(i, nbits, shift):
|
95
|
-
# val = (unsigned char) (i >> shift);
|
96
|
-
val = (i >> shift) & 0xF
|
97
|
-
if nbits == 1:
|
98
|
-
val &= 0x1
|
99
|
-
return oneto8[val]
|
100
|
-
elif nbits == 2:
|
101
|
-
val &= 0x3
|
102
|
-
return twoto8[val]
|
103
|
-
elif nbits == 3:
|
104
|
-
val &= 0x7
|
105
|
-
return threeto8[val]
|
106
|
-
else:
|
107
|
-
return 0
|
108
|
-
|
109
|
-
|
110
|
-
OpenGLViewParent = docview.ScrollView
|
111
|
-
|
112
|
-
|
113
|
-
class OpenGLView(OpenGLViewParent):
|
114
|
-
def PreCreateWindow(self, cc):
|
115
|
-
self.HookMessage(self.OnSize, win32con.WM_SIZE)
|
116
|
-
# An OpenGL window must be created with the following flags and must not
|
117
|
-
# include CS_PARENTDC for the class style. Refer to SetPixelFormat
|
118
|
-
# documentation in the "Comments" section for further information.
|
119
|
-
style = cc[5]
|
120
|
-
style |= win32con.WS_CLIPSIBLINGS | win32con.WS_CLIPCHILDREN
|
121
|
-
cc = cc[0], cc[1], cc[2], cc[3], cc[4], style, cc[6], cc[7], cc[8]
|
122
|
-
cc = self._obj_.PreCreateWindow(cc)
|
123
|
-
return cc
|
124
|
-
|
125
|
-
def OnSize(self, params):
|
126
|
-
lParam = params[3]
|
127
|
-
cx = win32api.LOWORD(lParam)
|
128
|
-
cy = win32api.HIWORD(lParam)
|
129
|
-
glViewport(0, 0, cx, cy)
|
130
|
-
|
131
|
-
if self.oldrect[2] > cx or self.oldrect[3] > cy:
|
132
|
-
self.RedrawWindow()
|
133
|
-
|
134
|
-
self.OnSizeChange(cx, cy)
|
135
|
-
|
136
|
-
self.oldrect = self.oldrect[0], self.oldrect[1], cx, cy
|
137
|
-
|
138
|
-
def OnInitialUpdate(self):
|
139
|
-
self.SetScaleToFitSize(
|
140
|
-
(100, 100)
|
141
|
-
) # or SetScrollSizes() - A Pythonwin requirement
|
142
|
-
return self._obj_.OnInitialUpdate()
|
143
|
-
|
144
|
-
# return rc
|
145
|
-
|
146
|
-
def OnCreate(self, cs):
|
147
|
-
self.oldrect = self.GetClientRect()
|
148
|
-
self._InitContexts()
|
149
|
-
self.Init()
|
150
|
-
|
151
|
-
def OnDestroy(self, msg):
|
152
|
-
self.Term()
|
153
|
-
self._DestroyContexts()
|
154
|
-
return OpenGLViewParent.OnDestroy(self, msg)
|
155
|
-
|
156
|
-
def OnDraw(self, dc):
|
157
|
-
self.DrawScene()
|
158
|
-
|
159
|
-
def OnEraseBkgnd(self, dc):
|
160
|
-
return 1
|
161
|
-
|
162
|
-
# The OpenGL helpers
|
163
|
-
def _SetupPixelFormat(self):
|
164
|
-
dc = self.dc.GetSafeHdc()
|
165
|
-
pfd = PIXELFORMATDESCRIPTOR()
|
166
|
-
pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER
|
167
|
-
pfd.iPixelType = PFD_TYPE_RGBA
|
168
|
-
pfd.cColorBits = 24
|
169
|
-
pfd.cDepthBits = 32
|
170
|
-
pfd.iLayerType = PFD_MAIN_PLANE
|
171
|
-
pixelformat = ChoosePixelFormat(dc, pfd)
|
172
|
-
SetPixelFormat(dc, pixelformat, pfd)
|
173
|
-
self._CreateRGBPalette(pfd)
|
174
|
-
|
175
|
-
def _CreateRGBPalette(self, pfd):
|
176
|
-
hdc = self.dc.GetSafeHdc()
|
177
|
-
iPixelFormat = GetPixelFormat(hdc)
|
178
|
-
DescribePixelFormat(hdc, iPixelFormat, pfd.nSize, pfd)
|
179
|
-
if pfd.dwFlags & PFD_NEED_PALETTE:
|
180
|
-
iPixelFormat = 1 << pfd.cColorBits
|
181
|
-
pal = []
|
182
|
-
for i in range(iPixelFormat):
|
183
|
-
this = (
|
184
|
-
ComponentFromIndex(i, pfd.cRedBits, pfd.cRedShift),
|
185
|
-
ComponentFromIndex(i, pfd.cGreenBits, pfd.cGreenShift),
|
186
|
-
ComponentFromIndex(i, pfd.cBlueBits, pfd.cBlueShift),
|
187
|
-
0,
|
188
|
-
)
|
189
|
-
pal.append(this)
|
190
|
-
hpal = win32ui.CreatePalette(pal)
|
191
|
-
self.dc.SelectPalette(hpal, 0)
|
192
|
-
self.dc.RealizePalette()
|
193
|
-
|
194
|
-
def _InitContexts(self):
|
195
|
-
self.dc = self.GetDC()
|
196
|
-
self._SetupPixelFormat()
|
197
|
-
hrc = wglCreateContext(self.dc.GetSafeHdc())
|
198
|
-
wglMakeCurrent(self.dc.GetSafeHdc(), hrc)
|
199
|
-
|
200
|
-
def _DestroyContexts(self):
|
201
|
-
hrc = wglGetCurrentContext()
|
202
|
-
wglMakeCurrent(0, 0)
|
203
|
-
if hrc:
|
204
|
-
wglDeleteContext(hrc)
|
205
|
-
|
206
|
-
# The methods to support OpenGL
|
207
|
-
def DrawScene(self):
|
208
|
-
raise NotImplementedError("You must override this method")
|
209
|
-
|
210
|
-
def Init(self):
|
211
|
-
raise NotImplementedError("You must override this method")
|
212
|
-
|
213
|
-
def OnSizeChange(self, cx, cy):
|
214
|
-
pass
|
215
|
-
|
216
|
-
def Term(self):
|
217
|
-
pass
|
218
|
-
|
219
|
-
|
220
|
-
class TestView(OpenGLView):
|
221
|
-
def OnSizeChange(self, right, bottom):
|
222
|
-
glClearColor(0.0, 0.0, 0.0, 1.0)
|
223
|
-
glClearDepth(1.0)
|
224
|
-
glEnable(GL_DEPTH_TEST)
|
225
|
-
|
226
|
-
glMatrixMode(GL_PROJECTION)
|
227
|
-
if bottom:
|
228
|
-
aspect = right / bottom
|
229
|
-
else:
|
230
|
-
aspect = 0 # When window created!
|
231
|
-
glLoadIdentity()
|
232
|
-
gluPerspective(45.0, aspect, 3.0, 7.0)
|
233
|
-
glMatrixMode(GL_MODELVIEW)
|
234
|
-
|
235
|
-
near_plane = 3.0
|
236
|
-
far_plane = 7.0
|
237
|
-
maxObjectSize = 3.0
|
238
|
-
self.radius = near_plane + maxObjectSize / 2.0
|
239
|
-
|
240
|
-
def Init(self):
|
241
|
-
pass
|
242
|
-
|
243
|
-
def DrawScene(self):
|
244
|
-
glClearColor(0.0, 0.0, 0.0, 1.0)
|
245
|
-
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
|
246
|
-
|
247
|
-
glPushMatrix()
|
248
|
-
glTranslatef(0.0, 0.0, -self.radius)
|
249
|
-
|
250
|
-
self._DrawCone()
|
251
|
-
|
252
|
-
self._DrawPyramid()
|
253
|
-
|
254
|
-
glPopMatrix()
|
255
|
-
glFinish()
|
256
|
-
|
257
|
-
SwapBuffers(wglGetCurrentDC())
|
258
|
-
|
259
|
-
def _DrawCone(self):
|
260
|
-
glColor3f(0.0, 1.0, 0.0)
|
261
|
-
|
262
|
-
glPushMatrix()
|
263
|
-
glTranslatef(-1.0, 0.0, 0.0)
|
264
|
-
quadObj = gluNewQuadric()
|
265
|
-
gluQuadricDrawStyle(quadObj, GLU_FILL)
|
266
|
-
gluQuadricNormals(quadObj, GLU_SMOOTH)
|
267
|
-
gluCylinder(quadObj, 1.0, 0.0, 1.0, 20, 10)
|
268
|
-
# gluDeleteQuadric(quadObj);
|
269
|
-
glPopMatrix()
|
270
|
-
|
271
|
-
def _DrawPyramid(self):
|
272
|
-
glPushMatrix()
|
273
|
-
glTranslatef(1.0, 0.0, 0.0)
|
274
|
-
glBegin(GL_TRIANGLE_FAN)
|
275
|
-
glColor3f(1.0, 0.0, 0.0)
|
276
|
-
glVertex3f(0.0, 1.0, 0.0)
|
277
|
-
glColor3f(0.0, 1.0, 0.0)
|
278
|
-
glVertex3f(-1.0, 0.0, 0.0)
|
279
|
-
glColor3f(0.0, 0.0, 1.0)
|
280
|
-
glVertex3f(0.0, 0.0, 1.0)
|
281
|
-
glColor3f(0.0, 1.0, 0.0)
|
282
|
-
glVertex3f(1.0, 0.0, 0.0)
|
283
|
-
glEnd()
|
284
|
-
glPopMatrix()
|
285
|
-
|
286
|
-
|
287
|
-
class CubeView(OpenGLView):
|
288
|
-
def OnSizeChange(self, right, bottom):
|
289
|
-
glClearColor(0.0, 0.0, 0.0, 1.0)
|
290
|
-
glClearDepth(1.0)
|
291
|
-
glEnable(GL_DEPTH_TEST)
|
292
|
-
|
293
|
-
glMatrixMode(GL_PROJECTION)
|
294
|
-
if bottom:
|
295
|
-
aspect = right / bottom
|
296
|
-
else:
|
297
|
-
aspect = 0 # When window created!
|
298
|
-
glLoadIdentity()
|
299
|
-
gluPerspective(45.0, aspect, 3.0, 7.0)
|
300
|
-
glMatrixMode(GL_MODELVIEW)
|
301
|
-
|
302
|
-
near_plane = 3.0
|
303
|
-
far_plane = 7.0
|
304
|
-
maxObjectSize = 3.0
|
305
|
-
self.radius = near_plane + maxObjectSize / 2.0
|
306
|
-
|
307
|
-
def Init(self):
|
308
|
-
self.busy = 0
|
309
|
-
self.wAngleY = 10.0
|
310
|
-
self.wAngleX = 1.0
|
311
|
-
self.wAngleZ = 5.0
|
312
|
-
self.timerid = timer.set_timer(150, self.OnTimer)
|
313
|
-
|
314
|
-
def OnTimer(self, id, timeVal):
|
315
|
-
self.DrawScene()
|
316
|
-
|
317
|
-
def Term(self):
|
318
|
-
timer.kill_timer(self.timerid)
|
319
|
-
|
320
|
-
def DrawScene(self):
|
321
|
-
if self.busy:
|
322
|
-
return
|
323
|
-
self.busy = 1
|
324
|
-
|
325
|
-
glClearColor(0.0, 0.0, 0.0, 1.0)
|
326
|
-
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
|
327
|
-
|
328
|
-
glPushMatrix()
|
329
|
-
|
330
|
-
glTranslatef(0.0, 0.0, -self.radius)
|
331
|
-
glRotatef(self.wAngleX, 1.0, 0.0, 0.0)
|
332
|
-
glRotatef(self.wAngleY, 0.0, 1.0, 0.0)
|
333
|
-
glRotatef(self.wAngleZ, 0.0, 0.0, 1.0)
|
334
|
-
|
335
|
-
self.wAngleX += 1.0
|
336
|
-
self.wAngleY += 10.0
|
337
|
-
self.wAngleZ += 5.0
|
338
|
-
|
339
|
-
glBegin(GL_QUAD_STRIP)
|
340
|
-
glColor3f(1.0, 0.0, 1.0)
|
341
|
-
glVertex3f(-0.5, 0.5, 0.5)
|
342
|
-
|
343
|
-
glColor3f(1.0, 0.0, 0.0)
|
344
|
-
glVertex3f(-0.5, -0.5, 0.5)
|
345
|
-
|
346
|
-
glColor3f(1.0, 1.0, 1.0)
|
347
|
-
glVertex3f(0.5, 0.5, 0.5)
|
348
|
-
|
349
|
-
glColor3f(1.0, 1.0, 0.0)
|
350
|
-
glVertex3f(0.5, -0.5, 0.5)
|
351
|
-
|
352
|
-
glColor3f(0.0, 1.0, 1.0)
|
353
|
-
glVertex3f(0.5, 0.5, -0.5)
|
354
|
-
|
355
|
-
glColor3f(0.0, 1.0, 0.0)
|
356
|
-
glVertex3f(0.5, -0.5, -0.5)
|
357
|
-
|
358
|
-
glColor3f(0.0, 0.0, 1.0)
|
359
|
-
glVertex3f(-0.5, 0.5, -0.5)
|
360
|
-
|
361
|
-
glColor3f(0.0, 0.0, 0.0)
|
362
|
-
glVertex3f(-0.5, -0.5, -0.5)
|
363
|
-
|
364
|
-
glColor3f(1.0, 0.0, 1.0)
|
365
|
-
glVertex3f(-0.5, 0.5, 0.5)
|
366
|
-
|
367
|
-
glColor3f(1.0, 0.0, 0.0)
|
368
|
-
glVertex3f(-0.5, -0.5, 0.5)
|
369
|
-
|
370
|
-
glEnd()
|
371
|
-
|
372
|
-
glBegin(GL_QUADS)
|
373
|
-
glColor3f(1.0, 0.0, 1.0)
|
374
|
-
glVertex3f(-0.5, 0.5, 0.5)
|
375
|
-
|
376
|
-
glColor3f(1.0, 1.0, 1.0)
|
377
|
-
glVertex3f(0.5, 0.5, 0.5)
|
378
|
-
|
379
|
-
glColor3f(0.0, 1.0, 1.0)
|
380
|
-
glVertex3f(0.5, 0.5, -0.5)
|
381
|
-
|
382
|
-
glColor3f(0.0, 0.0, 1.0)
|
383
|
-
glVertex3f(-0.5, 0.5, -0.5)
|
384
|
-
glEnd()
|
385
|
-
|
386
|
-
glBegin(GL_QUADS)
|
387
|
-
glColor3f(1.0, 0.0, 0.0)
|
388
|
-
glVertex3f(-0.5, -0.5, 0.5)
|
389
|
-
|
390
|
-
glColor3f(1.0, 1.0, 0.0)
|
391
|
-
glVertex3f(0.5, -0.5, 0.5)
|
392
|
-
|
393
|
-
glColor3f(0.0, 1.0, 0.0)
|
394
|
-
glVertex3f(0.5, -0.5, -0.5)
|
395
|
-
|
396
|
-
glColor3f(0.0, 0.0, 0.0)
|
397
|
-
glVertex3f(-0.5, -0.5, -0.5)
|
398
|
-
glEnd()
|
399
|
-
|
400
|
-
glPopMatrix()
|
401
|
-
|
402
|
-
glFinish()
|
403
|
-
SwapBuffers(wglGetCurrentDC())
|
404
|
-
|
405
|
-
self.busy = 0
|
406
|
-
|
407
|
-
|
408
|
-
def test():
|
409
|
-
template = docview.DocTemplate(None, None, None, CubeView)
|
410
|
-
# template = docview.DocTemplate(None, None, None, TestView )
|
411
|
-
template.OpenDocumentFile(None)
|
412
|
-
|
413
|
-
|
414
|
-
if __name__ == "__main__":
|
415
|
-
test()
|
@@ -1,105 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Progress bar control example
|
3
|
-
#
|
4
|
-
# PyCProgressCtrl encapsulates the MFC CProgressCtrl class. To use it,
|
5
|
-
# you:
|
6
|
-
#
|
7
|
-
# - Create the control with win32ui.CreateProgressCtrl()
|
8
|
-
# - Create the control window with PyCProgressCtrl.CreateWindow()
|
9
|
-
# - Initialize the range if you want it to be other than (0, 100) using
|
10
|
-
# PyCProgressCtrl.SetRange()
|
11
|
-
# - Either:
|
12
|
-
# - Set the step size with PyCProgressCtrl.SetStep(), and
|
13
|
-
# - Increment using PyCProgressCtrl.StepIt()
|
14
|
-
# or:
|
15
|
-
# - Set the amount completed using PyCProgressCtrl.SetPos()
|
16
|
-
#
|
17
|
-
# Example and progress bar code courtesy of KDL Technologies, Ltd., Hong Kong SAR, China.
|
18
|
-
#
|
19
|
-
|
20
|
-
import win32con
|
21
|
-
import win32ui
|
22
|
-
from pywin.mfc import dialog
|
23
|
-
|
24
|
-
|
25
|
-
def MakeDlgTemplate():
|
26
|
-
style = (
|
27
|
-
win32con.DS_MODALFRAME
|
28
|
-
| win32con.WS_POPUP
|
29
|
-
| win32con.WS_VISIBLE
|
30
|
-
| win32con.WS_CAPTION
|
31
|
-
| win32con.WS_SYSMENU
|
32
|
-
| win32con.DS_SETFONT
|
33
|
-
)
|
34
|
-
cs = win32con.WS_CHILD | win32con.WS_VISIBLE
|
35
|
-
|
36
|
-
w = 215
|
37
|
-
h = 36
|
38
|
-
|
39
|
-
dlg = [
|
40
|
-
[
|
41
|
-
"Progress bar control example",
|
42
|
-
(0, 0, w, h),
|
43
|
-
style,
|
44
|
-
None,
|
45
|
-
(8, "MS Sans Serif"),
|
46
|
-
],
|
47
|
-
]
|
48
|
-
|
49
|
-
s = win32con.WS_TABSTOP | cs
|
50
|
-
|
51
|
-
dlg.append(
|
52
|
-
[
|
53
|
-
128,
|
54
|
-
"Tick",
|
55
|
-
win32con.IDOK,
|
56
|
-
(10, h - 18, 50, 14),
|
57
|
-
s | win32con.BS_DEFPUSHBUTTON,
|
58
|
-
]
|
59
|
-
)
|
60
|
-
|
61
|
-
dlg.append(
|
62
|
-
[
|
63
|
-
128,
|
64
|
-
"Cancel",
|
65
|
-
win32con.IDCANCEL,
|
66
|
-
(w - 60, h - 18, 50, 14),
|
67
|
-
s | win32con.BS_PUSHBUTTON,
|
68
|
-
]
|
69
|
-
)
|
70
|
-
|
71
|
-
return dlg
|
72
|
-
|
73
|
-
|
74
|
-
class TestDialog(dialog.Dialog):
|
75
|
-
def OnInitDialog(self):
|
76
|
-
rc = dialog.Dialog.OnInitDialog(self)
|
77
|
-
self.pbar = win32ui.CreateProgressCtrl()
|
78
|
-
self.pbar.CreateWindow(
|
79
|
-
win32con.WS_CHILD | win32con.WS_VISIBLE, (10, 10, 310, 24), self, 1001
|
80
|
-
)
|
81
|
-
# self.pbar.SetStep (5)
|
82
|
-
self.progress = 0
|
83
|
-
self.pincr = 5
|
84
|
-
return rc
|
85
|
-
|
86
|
-
def OnOK(self):
|
87
|
-
# NB: StepIt wraps at the end if you increment past the upper limit!
|
88
|
-
# self.pbar.StepIt()
|
89
|
-
self.progress += self.pincr
|
90
|
-
if self.progress > 100:
|
91
|
-
self.progress = 100
|
92
|
-
if self.progress <= 100:
|
93
|
-
self.pbar.SetPos(self.progress)
|
94
|
-
|
95
|
-
|
96
|
-
def demo(modal=0):
|
97
|
-
d = TestDialog(MakeDlgTemplate())
|
98
|
-
if modal:
|
99
|
-
d.DoModal()
|
100
|
-
else:
|
101
|
-
d.CreateWindow()
|
102
|
-
|
103
|
-
|
104
|
-
if __name__ == "__main__":
|
105
|
-
demo(1)
|
@@ -1,76 +0,0 @@
|
|
1
|
-
# sliderdemo.py
|
2
|
-
# Demo of the slider control courtesy of Mike Fletcher.
|
3
|
-
|
4
|
-
import win32con
|
5
|
-
import win32ui
|
6
|
-
from pywin.mfc import dialog
|
7
|
-
|
8
|
-
|
9
|
-
class MyDialog(dialog.Dialog):
|
10
|
-
"""
|
11
|
-
Example using simple controls
|
12
|
-
"""
|
13
|
-
|
14
|
-
_dialogstyle = (
|
15
|
-
win32con.WS_MINIMIZEBOX
|
16
|
-
| win32con.WS_DLGFRAME
|
17
|
-
| win32con.DS_MODALFRAME
|
18
|
-
| win32con.WS_POPUP
|
19
|
-
| win32con.WS_VISIBLE
|
20
|
-
| win32con.WS_CAPTION
|
21
|
-
| win32con.WS_SYSMENU
|
22
|
-
| win32con.DS_SETFONT
|
23
|
-
)
|
24
|
-
_buttonstyle = (
|
25
|
-
win32con.BS_PUSHBUTTON
|
26
|
-
| win32con.WS_TABSTOP
|
27
|
-
| win32con.WS_CHILD
|
28
|
-
| win32con.WS_VISIBLE
|
29
|
-
)
|
30
|
-
### The static template, contains all "normal" dialog items
|
31
|
-
DIALOGTEMPLATE = [
|
32
|
-
# the dialog itself is the first element in the template
|
33
|
-
["Example slider", (0, 0, 50, 43), _dialogstyle, None, (8, "MS SansSerif")],
|
34
|
-
# rest of elements are the controls within the dialog
|
35
|
-
# standard "Close" button
|
36
|
-
[128, "Close", win32con.IDCANCEL, (0, 30, 50, 13), _buttonstyle],
|
37
|
-
]
|
38
|
-
### ID of the control to be created during dialog initialisation
|
39
|
-
IDC_SLIDER = 9500
|
40
|
-
|
41
|
-
def __init__(self):
|
42
|
-
dialog.Dialog.__init__(self, self.DIALOGTEMPLATE)
|
43
|
-
|
44
|
-
def OnInitDialog(self):
|
45
|
-
rc = dialog.Dialog.OnInitDialog(self)
|
46
|
-
# now initialise your controls that you want to create
|
47
|
-
# programmatically, including those which are OLE controls
|
48
|
-
# those created directly by win32ui.Create*
|
49
|
-
# and your "custom controls" which are subclasses/whatever
|
50
|
-
win32ui.EnableControlContainer()
|
51
|
-
self.slider = win32ui.CreateSliderCtrl()
|
52
|
-
self.slider.CreateWindow(
|
53
|
-
win32con.WS_TABSTOP | win32con.WS_VISIBLE,
|
54
|
-
(0, 0, 100, 30),
|
55
|
-
self._obj_,
|
56
|
-
self.IDC_SLIDER,
|
57
|
-
)
|
58
|
-
self.HookMessage(self.OnSliderMove, win32con.WM_HSCROLL)
|
59
|
-
return rc
|
60
|
-
|
61
|
-
def OnSliderMove(self, params):
|
62
|
-
print("Slider moved")
|
63
|
-
|
64
|
-
def OnCancel(self):
|
65
|
-
print("The slider control is at position", self.slider.GetPos())
|
66
|
-
self._obj_.OnCancel()
|
67
|
-
|
68
|
-
|
69
|
-
###
|
70
|
-
def demo():
|
71
|
-
dia = MyDialog()
|
72
|
-
dia.DoModal()
|
73
|
-
|
74
|
-
|
75
|
-
if __name__ == "__main__":
|
76
|
-
demo()
|
@@ -1,79 +0,0 @@
|
|
1
|
-
import commctrl
|
2
|
-
import fontdemo
|
3
|
-
import win32ui
|
4
|
-
from pywin.mfc import docview, window
|
5
|
-
|
6
|
-
# derive from CMDIChild. This does much work for us.
|
7
|
-
|
8
|
-
|
9
|
-
class SplitterFrame(window.MDIChildWnd):
|
10
|
-
def __init__(self):
|
11
|
-
# call base CreateFrame
|
12
|
-
self.images = None
|
13
|
-
window.MDIChildWnd.__init__(self)
|
14
|
-
|
15
|
-
def OnCreateClient(self, cp, context):
|
16
|
-
splitter = win32ui.CreateSplitter()
|
17
|
-
doc = context.doc
|
18
|
-
frame_rect = self.GetWindowRect()
|
19
|
-
size = ((frame_rect[2] - frame_rect[0]), (frame_rect[3] - frame_rect[1]) // 2)
|
20
|
-
sub_size = (size[0] // 2, size[1])
|
21
|
-
splitter.CreateStatic(self, 2, 1)
|
22
|
-
self.v1 = win32ui.CreateEditView(doc)
|
23
|
-
self.v2 = fontdemo.FontView(doc)
|
24
|
-
# CListControl view
|
25
|
-
self.v3 = win32ui.CreateListView(doc)
|
26
|
-
sub_splitter = win32ui.CreateSplitter()
|
27
|
-
# pass "splitter" so each view knows how to get to the others
|
28
|
-
sub_splitter.CreateStatic(splitter, 1, 2)
|
29
|
-
sub_splitter.CreateView(self.v1, 0, 0, (sub_size))
|
30
|
-
sub_splitter.CreateView(self.v2, 0, 1, (0, 0)) # size ignored.
|
31
|
-
splitter.SetRowInfo(0, size[1], 0)
|
32
|
-
splitter.CreateView(self.v3, 1, 0, (0, 0)) # size ignored.
|
33
|
-
# Setup items in the imagelist
|
34
|
-
self.images = win32ui.CreateImageList(32, 32, 1, 5, 5)
|
35
|
-
self.images.Add(win32ui.GetApp().LoadIcon(win32ui.IDR_MAINFRAME))
|
36
|
-
self.images.Add(win32ui.GetApp().LoadIcon(win32ui.IDR_PYTHONCONTYPE))
|
37
|
-
self.images.Add(win32ui.GetApp().LoadIcon(win32ui.IDR_TEXTTYPE))
|
38
|
-
self.v3.SetImageList(self.images, commctrl.LVSIL_NORMAL)
|
39
|
-
self.v3.InsertItem(0, "Icon 1", 0)
|
40
|
-
self.v3.InsertItem(0, "Icon 2", 1)
|
41
|
-
self.v3.InsertItem(0, "Icon 3", 2)
|
42
|
-
# self.v3.Arrange(commctrl.LVA_DEFAULT) Hmmm - win95 aligns left always???
|
43
|
-
return 1
|
44
|
-
|
45
|
-
def OnDestroy(self, msg):
|
46
|
-
window.MDIChildWnd.OnDestroy(self, msg)
|
47
|
-
if self.images:
|
48
|
-
self.images.DeleteImageList()
|
49
|
-
self.images = None
|
50
|
-
|
51
|
-
def InitialUpdateFrame(self, doc, makeVisible):
|
52
|
-
self.v1.ReplaceSel("Hello from Edit Window 1")
|
53
|
-
self.v1.SetModifiedFlag(0)
|
54
|
-
|
55
|
-
|
56
|
-
class SampleTemplate(docview.DocTemplate):
|
57
|
-
def __init__(self):
|
58
|
-
docview.DocTemplate.__init__(
|
59
|
-
self, win32ui.IDR_PYTHONTYPE, None, SplitterFrame, None
|
60
|
-
)
|
61
|
-
|
62
|
-
def InitialUpdateFrame(self, frame, doc, makeVisible):
|
63
|
-
# print("frame is ", frame, frame._obj_)
|
64
|
-
# print("doc is ", doc, doc._obj_)
|
65
|
-
self._obj_.InitialUpdateFrame(frame, doc, makeVisible) # call default handler.
|
66
|
-
frame.InitialUpdateFrame(doc, makeVisible)
|
67
|
-
|
68
|
-
|
69
|
-
def demo():
|
70
|
-
template = SampleTemplate()
|
71
|
-
doc = template.OpenDocumentFile(None)
|
72
|
-
doc.SetTitle("Splitter Demo")
|
73
|
-
|
74
|
-
|
75
|
-
if __name__ == "__main__":
|
76
|
-
import demoutils
|
77
|
-
|
78
|
-
if demoutils.NeedGoodGUI():
|
79
|
-
demo()
|