Blender-ZeroEngine-MSH2-Plugin/src_research_readme/zero-edit-tool-python-base/Application/Logic/misc.py

32 lines
602 B
Python
Raw Normal View History

2021-05-12 21:38:14 +00:00
'''
UI functionality for several misc dialogs.
'''
from win32com.client import constants as const
import webbrowser
xsi = Application
def close_csr_OnClicked():
PPG.Close()
xsi.DeleteObj('CSR')
def ERClose_OnClicked():
PPG.Close()
xsi.DeleteObj('ExportReport')
def launch_gt_OnClicked():
url = 'http://gametoast.com/viewtopic.php?f=36&t=26664'
webbrowser.open_new_tab(url)
def launch_website_OnClicked():
url = 'http://schlechtwetterfront.github.io/xsizetools/'
webbrowser.open_new_tab(url)
def Close_OnClicked():
PPG.Close()
xsi.DeleteObj('ZETH')