Source code for tkinterquickhelper.funcwin
"""
shortcuts to *funcwin*
:githublink:`%|py|5`
"""
from .frame_params import open_window_params
from .frame_function import open_window_function
from .main_window import main_loop_functions
from .patchs_windows import fix_python35_dll
[docs]def check_icon():
"""
Checks the ico was installed with the module.
:return: boolean
:githublink:`%|py|16`
"""
import os
path = os.path.dirname(__file__)
icon = os.path.join(path, "project_ico.ico")
if not os.path.exists(icon):
import sys
if sys.version_info[0] == 2:
raise OSError(icon)
else:
raise FileNotFoundError(icon)
return True