arelle.CntlrWinMain#

This module is Arelle’s controller in windowing interactive UI mode

See COPYRIGHT.md for copyright information.

Module Contents#

Classes#

CntlrWinMain

WinMainLogHandler

TkinterCallWrapper

Replacement for internal tkinter class. Stores function to call when some user defined Tcl function is called e.g. after an event occurred.

Functions#

Data#

API#

arelle.CntlrWinMain.restartMain#

True

arelle.CntlrWinMain.DOCUMENTATION_URL#

‘https://arelle.readthedocs.io/’

class arelle.CntlrWinMain.CntlrWinMain(parent)#

Bases: arelle.Cntlr.Cntlr

buildValidateDuplicateFactsMenu(validateMenu: tkinter.Menu) None#
onTabChanged(event, *args)#
loadFileMenuHistory()#
onPackageEnablementChanged()#
fileNew(*ignore)#
getViewAndModelXbrl()#
okayToContinue()#
fileSave(event=None, view=None, fileType=None, filenameFromInstance=False, method=None, caption=None, *ignore)#
fileSaveExistingFile(event=None, view=None, fileType=None, *ignore)#
saveDTSpackage()#
fileOpen(*ignore)#
importFileOpen(*ignore)#
updateFileHistory(url, importToDTS)#
fileOpenFile(filename, importToDTS=False, selectTopView=False)#
webOpen(*ignore)#
importWebOpen(*ignore)#
backgroundLoadXbrl(filesource, importToDTS, selectTopView)#
showLoadedXbrl(modelXbrl, attach, selectTopView=False, isSupplementalModelXbrl=False)#
showFormulaOutputInstance(priorOutputInstance, currentOutputInstance)#
showProfileStats()#
clearProfileStats()#
fileClose(*ignore)#
fileReopen(*ignore)#
validate()#
backgroundValidate()#
compareDTSes()#
backgroundCompareDTSes(versReportFile)#
showComparedDTSes(modelVersReport)#
loadFile(filename)#
quit(event=None, restartAfterQuit=False)#
restart(event=None)#
setValidateDuplicateFacts(*args)#
setWorkOffline(*args)#
setInternetRecheck(*args)#
setNoCertificateCheck(*args)#
internetConnectionTimeout()#
confirmClearWebCache()#
manageWebCache()#
setupProxy()#
setupUserAgent()#
setValidateDisclosureSystem(*args)#
selectDisclosureSystem(*args)#
formulaParametersDialog(*args)#
rssWatchOptionsDialog(*args)#
rssWatchControl(start=False, stop=False, close=False)#
rssWatchUpdateOption(latestPubDate=None)#
uiRssWatchUpdateOption(latestPubDate)#
languagesDialog(*args)#
setValidateTooltipText()#
setCalcChoiceEnumVar(*args)#
setValidateUtr(*args)#
setCollectProfileStats(*args)#
setShowDebugMessages(*args)#
find(*args)#
openOnlineDocumentation(event=None)#
helpAbout(event=None)#
addToLog(message, messageCode='', messageArgs=None, file='', refs=[], level=logging.INFO)#
uiAddToLog(message)#
logClear(*ignore)#
logSelect(*ignore)#
logSaveToFile(*ignore)#
viewModelObject(modelXbrl, objectId)#
uiViewModelObject(modelXbrl, objectId)#
reloadViews(modelXbrl)#
uiReloadViews(modelXbrl)#
showStatus(message: str, clearAfter: int | None = None) None#
uiClearStatusTimerEvent()#
uiShowStatus(message, clearAfter=None)#
internet_user_password(host, realm)#
internet_logon(url, quotedUrl, dialogCaption, dialogText)#
waitForUiThreadQueue()#
uiThreadChecker(widget, delayMsecs=100)#
uiFileDialog(action, title=None, initialdir=None, filetypes=[], defaultextension=None, owner=None, multiple=False, parent=None)#
class arelle.CntlrWinMain.WinMainLogHandler(cntlr)#

Bases: logging.Handler

startLogBuffering()#
endLogBuffering()#
flush()#

Nothing to flush

emit(logRecord)#
class arelle.CntlrWinMain.TkinterCallWrapper(func, subst, widget)#

Replacement for internal tkinter class. Stores function to call when some user defined Tcl function is called e.g. after an event occurred.

Initialization

Store FUNC, SUBST and WIDGET as members.

__call__(*args)#

Apply first function SUBST to arguments, than FUNC.

arelle.CntlrWinMain.main()#