Galaxie EveLoop 0.1.5 documentation


Navigation:   | Index   | Search   | Top   | Up   |
Table of Content: |

© Copyright 2021-2024, Galaxie EveLoop Team all right reserved.

Top » Module code » glxeveloop.properties.hooks

Source code for glxeveloop.properties.hooks

from glxeveloop.hooks import Hooks


[docs] class HooksProperty: debug: bool def __init__(self) -> None: self.__hooks = Hooks() @property def hooks(self): return self.__hooks @hooks.setter def hooks(self, value): if value is None: value = Hooks() if not isinstance(value, Hooks): raise TypeError("'hooks' property value must be a Hooks instance or None") if value != self.hooks: self.__hooks = value

Top » Module code » glxeveloop.properties.hooks

© Copyright 2021-2024, Galaxie EveLoop Team all right reserved.
This page is licensed under the GNU General Public License v3 or later (GPLv3+).
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

Last updated on None.
Created using Sphinx 7.3.7.