kcg.rst 920 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. This is a autogemerated documentation from python docstrings. It was generated using DStrings2Doc.
  2. .. module:: kcg
  3. .. _kcg:
  4. Module kcg
  5. ==========
  6. This is the main program for KCG
  7. It imports all modules and starts the Gui
  8. .. py:method:: print_version(verbose=False)
  9. Print the version of the current used KCG instance
  10. :param verbose: print verbose?
  11. .. py:method:: inject_setting(section, setting, value, args)
  12. Inject a setting from the command line
  13. :param section: the section to inject to
  14. :param setting: the setting to inject
  15. :param value: the value of this setting
  16. :param args: the argparse parsed instance
  17. .. py:method:: log_type(level)
  18. Method to validate and cast the log level
  19. :param level: the level to validate and cast
  20. :return: a valid logging level
  21. .. py:method:: run()
  22. Main Function, gets called when GUI is started