5import isystem.connect
as ic
12 connMgr = ic.ConnectionMgr()
13 connMgr.connect(ic.CConnectionConfig().start_if_required().instanceId(winidea_id))
15 print(
"Close with optional prompt if the document is changed.")
16 docCtrl = ic.CDocumentController(connMgr,
"CORE0/startup.c",
"r")
19 docCtrl = ic.CDocumentController(connMgr,
"CORE0/startup.c",
"r")
20 print(
"Close unconditionally.")
21 docCtrl.closeDiscard()
23 docCtrl = ic.CDocumentController(connMgr,
"CORE0/startup.c",
"r")
24 print(
"Close all opened documents.")
28if __name__ ==
"__main__":