GUI.utils ========= .. py:module:: GUI.utils Attributes ---------- .. autoapisummary:: GUI.utils.MODAL_HIDDEN_LIST GUI.utils.logger Classes ------- .. autoapisummary:: GUI.utils.Logger Functions --------- .. autoapisummary:: GUI.utils.modal_message Module Contents --------------- .. py:data:: MODAL_HIDDEN_LIST :value: [] .. py:data:: logger .. py:function:: modal_message(message, checkbox=True) When you need a popup .. py:class:: Logger Bases: :py:obj:`logging.Handler` Snazzy .. py:attribute:: log_level :value: 0 .. py:attribute:: _auto_scroll :value: True .. py:attribute:: count :value: 0 .. py:attribute:: flush_count :value: 1000 .. py:attribute:: window_id .. py:attribute:: child_id .. py:attribute:: filter_id .. py:method:: auto_scroll(value) .. py:method:: _log(message, level) Different theme for each level .. py:method:: write(message) .. py:method:: flush() Ensure all logging output has been flushed. This version does nothing and is intended to be implemented by subclasses. .. py:method:: emit(record) Do whatever it takes to actually log the specified logging record. This version is intended to be implemented by subclasses and so raises a NotImplementedError. .. py:method:: clear_log()