rem stringlengths 0 322k | add stringlengths 0 2.05M | context stringlengths 8 228k |
|---|---|---|
print 'ZippedImageStore' | def __init__(self, rootpath, defaultArchive, images = None): print 'ZippedImageStore' ImageStore.__init__(self, rootpath, images) self.archives = {} self.addArchive(defaultArchive) | |
tmpname = tempfile.mktemp() open(tmpname, 'w').write(zf.read(img)) | def addArchive(self, defaultArchive): import zipfile, tempfile zf = zipfile.ZipFile(path.join(self.rootpath, defaultArchive)) self.archives[defaultArchive] = map(lambda fl: fl.filename, zf.filelist) | |
except: print 'Ext not handled', bmpPath | except Exception, error: print 'Ext not handled', bmpPath, str(error) | def addArchive(self, defaultArchive): import zipfile, tempfile zf = zipfile.ZipFile(path.join(self.rootpath, defaultArchive)) self.archives[defaultArchive] = map(lambda fl: fl.filename, zf.filelist) |
commonDefs = eval(cfg.Read(commonDefsFile)) | commonDefs = readPyValFromConfig(cfg, commonDefsFile) | def initFromConfig(configFile, lang): cfg = wxFileConfig(localFilename=configFile, style=wxCONFIG_USE_LOCAL_FILE) cfg.SetExpandEnvVars(false) # read in all group names for this language groupPrefix = 'style.%s'%lang gpLen = len(groupPrefix) predefStyleGroupNames, otherLangStyleGroupNames = [], [] cont, val, idx = cfg.... |
commonStyleIdNames = eval(cfg.Read('common.styleidnames')) | commonStyleIdNames = readPyValFromConfig(cfg, 'common.styleidnames') | def initFromConfig(configFile, lang): cfg = wxFileConfig(localFilename=configFile, style=wxCONFIG_USE_LOCAL_FILE) cfg.SetExpandEnvVars(false) # read in all group names for this language groupPrefix = 'style.%s'%lang gpLen = len(groupPrefix) predefStyleGroupNames, otherLangStyleGroupNames = [], [] cont, val, idx = cfg.... |
styleIdNames = eval(cfg.Read('styleidnames')) | styleIdNames = readPyValFromConfig(cfg, 'styleidnames') | def initFromConfig(configFile, lang): cfg = wxFileConfig(localFilename=configFile, style=wxCONFIG_USE_LOCAL_FILE) cfg.SetExpandEnvVars(false) # read in all group names for this language groupPrefix = 'style.%s'%lang gpLen = len(groupPrefix) predefStyleGroupNames, otherLangStyleGroupNames = [], [] cont, val, idx = cfg.... |
braceInfo = eval(cfg.Read('braces')) | braceInfo = readPyValFromConfig(cfg, 'braces') | def initFromConfig(configFile, lang): cfg = wxFileConfig(localFilename=configFile, style=wxCONFIG_USE_LOCAL_FILE) cfg.SetExpandEnvVars(false) # read in all group names for this language groupPrefix = 'style.%s'%lang gpLen = len(groupPrefix) predefStyleGroupNames, otherLangStyleGroupNames = [], [] cont, val, idx = cfg.... |
lexer = eval(cfg.Read('lexer')) | lexer = readPyValFromConfig(cfg, 'lexer') | def initFromConfig(configFile, lang): cfg = wxFileConfig(localFilename=configFile, style=wxCONFIG_USE_LOCAL_FILE) cfg.SetExpandEnvVars(false) # read in all group names for this language groupPrefix = 'style.%s'%lang gpLen = len(groupPrefix) predefStyleGroupNames, otherLangStyleGroupNames = [], [] cont, val, idx = cfg.... |
self.paletteToolbar.DeleteTool(self.toolIdx) | print self.paletteToolbar.DeleteTool(self.toolIdx) self.paletteToolbar.Realize() | def OnCloseWindow(self, event): if self.paletteToolbar: self.paletteToolbar.DeleteTool(self.toolIdx) |
def OnFindFocus(self, event): self.searchCtrl.SetFocus() def OnCloseHelp(self, event): self.Close() | def OnSelect(self, event): print 'select' self.Show(true) if self.IsIconized(): self.Iconize(false) self.Raise() | |
self.invokeOnServer('exit_debugger') | def call_exit(server=server): try: server.exit_debugger() except socket.error: pass self.taskHandler.addTask(call_exit) | def kill(self): server = self.server if server is not None: self.invokeOnServer('exit_debugger') self.server = None self.input_stream = None self.error_stream = None process = self.process self.process = None if process is not None: # process.Detach() if KEEP_STREAMS_OPEN: process.CloseOutput() |
self.view.model.editor.setStatus('Search aborted') | def findInFiles(self): names = [] pattern = self.findTxt.GetValue() bRecursive = self.chkRecursiveSearch.GetValue() file_filter = string.split(self.cmbFileFilter.GetValue(), ';') folder = [self.cmbFolder.GetValue()] self.engine.addFolder(folder[0]) self.engine.addSuffix(self.cmbFileFilter.GetValue()) dlg = wxProgressDi... | |
maxRow = 0 maxCol = 0 | maxRows = 0 maxCols = 0 | def getNumRowsCols(self, childCompanion): maxRow = 0 maxCol = 0 for si in self.control.GetChildren(): (sipr, sipc), (sisr, sisc) = si.GetPos(), si.GetSpan() if sipr + sisr -1 > maxRow: maxRow = sipr + sisr -1 if sipc + sisc -1 > maxCol: maxCol = sipc + sisc -1 return maxRows, maxCols |
if sipr + sisr -1 > maxRow: maxRow = sipr + sisr -1 if sipc + sisc -1 > maxCol: maxCol = sipc + sisc -1 | if sipr + sisr > maxRows: maxRows = sipr + sisr if sipc + sisc > maxCols: maxCols = sipc + sisc | def getNumRowsCols(self, childCompanion): maxRow = 0 maxCol = 0 for si in self.control.GetChildren(): (sipr, sipc), (sisr, sisc) = si.GetPos(), si.GetSpan() if sipr + sisr -1 > maxRow: maxRow = sipr + sisr -1 if sipc + sisc -1 > maxCol: maxCol = sipc + sisc -1 return maxRows, maxCols |
return map(lambda l: ' | return [' | def processComment(self, textLst, idntBlock): return map(lambda l: '##%s'%l, textLst) |
elif hasattr(wx.Namespace, wx.word): obj = getattr(wx.Namespace, wx.word) | elif hasattr(wxNamespace, wx.word): obj = getattr(wxNamespace, wx.word) | def handleBrwsRuntimeGlobals(self, word, currLineNo): # The current runtime values of the shell is inspected # as well as the wxPython namespaces if self.model.editor.shell: shellLocals = self.model.editor.shell.getShellLocals() else: shellLocals = {} |
def _init_utils(self): pass | def _init_utils(self): # generated method, don't edit pass | |
parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), | parent=prnt, pos=wxPoint(567, 279), size=wxSize(493, 482), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
self._init_utils() self.SetClientSize(wxSize(451, 455)) | self.SetClientSize(wxSize(485, 455)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
parent=self, pos=wxPoint(96, 28), size=wxSize(346, 21), style=0, | parent=self, pos=wxPoint(96, 28), size=wxSize(380, 21), style=0, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
true, true, true, false)) | True, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
name='elementLb', parent=self, pos=wxPoint(8, 72), size=wxSize(160, 112), style=0, validator=wxDefaultValidator) self.elementLb.SetConstraints(LayoutAnchors(self.elementLb, true, true, true, false)) | name='elementLb', parent=self, pos=wxPoint(8, 70), size=wxSize(175, 128), style=0, validator=wxDefaultValidator) self.elementLb.SetConstraints(LayoutAnchors(self.elementLb, True, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
184), size=wxSize(80, 17), style=0) | 200), size=wxSize(88, 17), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(88, 184), size=wxSize(80, 17), style=0) | pos=wxPoint(96, 200), size=wxSize(88, 17), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(96, 8), size=wxSize(366, 16), | pos=wxPoint(96, 8), size=wxSize(376, 16), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
self.styleDefST.SetConstraints(LayoutAnchors(self.styleDefST, true, true, true, false)) | self.styleDefST.SetConstraints(LayoutAnchors(self.styleDefST, True, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
name='staticLine1', parent=self, pos=wxPoint(48, 62), size=wxSize(120, 2), style=wxLI_HORIZONTAL) self.staticLine1.SetConstraints(LayoutAnchors(self.staticLine1, true, true, true, false)) | name='staticLine1', parent=self, pos=wxPoint(48, 64), size=wxSize(135, 0), style=wxLI_HORIZONTAL) self.staticLine1.SetConstraints(LayoutAnchors(self.staticLine1, True, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
parent=self, pos=wxPoint(176, 56), size=wxSize(146, 104), | parent=self, pos=wxPoint(199, 56), size=wxSize(160, 120), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
self.panel3.SetConstraints(LayoutAnchors(self.panel3, false, true, true, false)) | self.panel3.SetConstraints(LayoutAnchors(self.panel3, False, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
parent=self, pos=wxPoint(330, 56), size=wxSize(114, 104), | parent=self, pos=wxPoint(364, 56), size=wxSize(114, 120), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
self.panel4.SetConstraints(LayoutAnchors(self.panel4, false, true, true, false)) | self.panel4.SetConstraints(LayoutAnchors(self.panel4, False, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
parent=self, pos=wxPoint(176, 161), size=wxSize(143, 40), | parent=self, pos=wxPoint(202, 177), size=wxSize(149, 40), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
self.panel1.SetConstraints(LayoutAnchors(self.panel1, false, true, true, false)) | self.panel1.SetConstraints(LayoutAnchors(self.panel1, False, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
parent=self, pos=wxPoint(330, 162), size=wxSize(112, 40), | parent=self, pos=wxPoint(364, 178), size=wxSize(112, 40), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
self.panel2.SetConstraints(LayoutAnchors(self.panel2, false, true, true, false)) | self.panel2.SetConstraints(LayoutAnchors(self.panel2, False, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
parent=self, pos=wxPoint(8, 208), size=wxSize(435, 207), | parent=self, pos=wxPoint(8, 224), size=wxSize(469, 191), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
self.stc.SetConstraints(LayoutAnchors(self.stc, true, true, true, true)) | self.stc.SetConstraints(LayoutAnchors(self.stc, True, True, True, True)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
name='okBtn', parent=self, pos=wxPoint(282, 423), size=wxSize(75, | name='okBtn', parent=self, pos=wxPoint(316, 423), size=wxSize(75, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
label='Cancel', name='cancelBtn', parent=self, pos=wxPoint(366, | label='Cancel', name='cancelBtn', parent=self, pos=wxPoint(400, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
23), size=wxSize(13, 19), style=0) | 23), size=wxSize(16, 19), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
size=wxSize(105, 21), style=0, validator=wxDefaultValidator, | size=wxSize(101, 21), style=0, validator=wxDefaultValidator, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
size=wxSize(91, 21), style=0, validator=wxDefaultValidator, | size=wxSize(80, 21), style=0, validator=wxDefaultValidator, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
name='sizeOkBtn', parent=self.panel2, pos=wxPoint(90, 17), size=wxSize(21, 21), style=0) | name='sizeOkBtn', parent=self.panel2, pos=wxPoint(80, 17), size=wxSize(32, 21), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
name='faceOkBtn', parent=self.panel1, pos=wxPoint(122, 18), size=wxSize(21, 21), style=0) | name='faceOkBtn', parent=self.panel1, pos=wxPoint(117, 18), size=wxSize(32, 21), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(8, 16), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 16), size=wxSize(96, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
size=wxSize(89, 21), style=0, validator=wxDefaultValidator, | size=wxSize(96, 21), style=0, validator=wxDefaultValidator, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
label='ok', name='fgColOkBtn', parent=self.panel3, pos=wxPoint(96, 32), size=wxSize(21, 21), style=0) | label='ok', name='fgColOkBtn', parent=self.panel3, pos=wxPoint(104, 32), size=wxSize(32, 21), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(100, 16), size=wxSize(37, 16), style=0) | pos=wxPoint(112, 15), size=wxSize(38, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(120, 31), size=wxSize(16, 16), style=0) | pos=wxPoint(136, 31), size=wxSize(16, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(8, 56), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 64), size=wxSize(96, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
name='bgColCb', parent=self.panel3, pos=wxPoint(8, 72), size=wxSize(89, 21), style=0, validator=wxDefaultValidator, | name='bgColCb', parent=self.panel3, pos=wxPoint(8, 80), size=wxSize(96, 21), style=0, validator=wxDefaultValidator, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
label='ok', name='bgColOkBtn', parent=self.panel3, pos=wxPoint(96, 72), size=wxSize(21, 21), style=0) | label='ok', name='bgColOkBtn', parent=self.panel3, pos=wxPoint(104, 80), size=wxSize(32, 21), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(0, 0), size=wxSize(112, 99), style=0) self.staticBox2.SetConstraints(LayoutAnchors(self.staticBox2, false, true, true, false)) | pos=wxPoint(0, 0), size=wxSize(112, 112), style=0) self.staticBox2.SetConstraints(LayoutAnchors(self.staticBox2, False, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(68, 11), size=wxSize(37, 16), style=0) | pos=wxPoint(64, 12), size=wxSize(40, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(88, 43), size=wxSize(16, 16), style=0) | pos=wxPoint(88, 48), size=wxSize(16, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(88, 59), size=wxSize(16, 16), style=0) | pos=wxPoint(88, 70), size=wxSize(16, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(88, 75), size=wxSize(16, 16), style=0) | pos=wxPoint(88, 92), size=wxSize(16, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(8, 75), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 92), size=wxSize(80, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(8, 59), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 70), size=wxSize(80, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(8, 43), size=wxSize(72, 16), style=0) | pos=wxPoint(8, 48), size=wxSize(80, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
27), size=wxSize(72, 16), style=0) | 27), size=wxSize(80, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(120, 71), size=wxSize(16, 16), style=0) | pos=wxPoint(136, 79), size=wxSize(16, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(0, 0), size=wxSize(142, 99), style=0) self.staticBox1.SetConstraints(LayoutAnchors(self.staticBox1, false, true, true, false)) | pos=wxPoint(0, 0), size=wxSize(157, 112), style=0) self.staticBox1.SetConstraints(LayoutAnchors(self.staticBox1, False, True, True, False)) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(120, 0), size=wxSize(16, 16), style=0) | pos=wxPoint(117, 0), size=wxSize(16, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
pos=wxPoint(88, 0), size=wxSize(16, 16), style=0) | pos=wxPoint(80, 0), size=wxSize(16, 16), style=0) | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wxPoint(583, 291), size=wxSize(459, 482), style=wxWANTS_CHARS | wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSize(wxSi... |
if wxPlatform == '__WXMSW__': self.style_font_size = 8 else: self.style_font_size = 10 | self.style_font_size = 8 self.style_font_size = platformSettings[wxPlatform][1] | def __init__(self, parent, langTitle, lang, configFile, STCsToUpdate=()): self.stc_title = 'wxStyledTextCtrl Style Editor' self.stc_title = 'wxStyledTextCtrl Style Editor - %s' % langTitle if wxPlatform == '__WXMSW__': self.style_font_size = 8 else: self.style_font_size = 10 self._init_ctrls(parent) self.lang = lang se... |
commonDefsFile = 'common.defs.%s'%(wxPlatform == '__WXMSW__' and 'msw' or 'gtk') | commonDefsFile = 'common.defs.%s'%(platformSettings[wxPlatform][0]) | def setSTCStyles(stc, styles, styleIdNames, commonDefs, lang, lexer, keywords): #wxLogMessage('Set style') styleDict = {} styleNumIdxMap = {} # build style dict based on given styles for numStyle in styles: num, style = parsePropLine(numStyle) styleDict[num] = style # Add blank style entries for undefined styles newS... |
if home: home = os.path.join(home, '.boa') | if home: home = os.path.join(home, '.boa-constructor') if not os.path.exists(home): home = '.' else: home = '.' | def initSTC(stc, config, lang): """ Main module entry point. Initialise a wxSTC from given config file.""" (cfg, commonDefs, styleIdNames, styles, predefStyleGroupNames, predefStyleGroups, otherLangStyleGroupNames, otherLangStyleGroups, displaySrc, lexer, keywords, braceInfo) = initFromConfig(config, lang) setSTCStyle... |
filename = os.path.normcase(self.model.assertLocalFile()) | filename = self.model.assertLocalFile() | def addBreakPoint(self, lineNo, temp=0, notify_debugger=1): filename = os.path.normcase(self.model.assertLocalFile()) |
self.cache = [] | self.cache = {} def destroy(self): self.cache = {} | def __init__(self, name, props, resourcepath, clipboard, isFolder, imgIdx, parent, ftpConn, ftpObj, root): ExplorerNodes.ExplorerNode.__init__(self, name, resourcepath, clipboard, imgIdx, parent, props) self.isFolder = isFolder self.ftpConn = ftpConn self.ftpObj = ftpObj self.root = root self.cache = [] |
Utils.ShowMessage(None, 'FTP Error', resp) | Utils.ShowMessage(None, 'FTP Error', str(resp)) | def openList(self, root = None): try: items = self.ftpConn.dir(self.ftpObj.whole_name()) except ftplib.error_perm, resp: Utils.ShowMessage(None, 'FTP Error', resp) raise if not root: root = self.root self.cache = {} result = [] for obj in items: if obj.name in ('', '.', '..'): continue z = self.createChildNode(obj, se... |
props['host'], props['port']) | props['host'], props['port'], props['passive']) | def openList(self): if not self.connected: try: props = self.properties self.ftpConn.connect(props['username'], props['passwd'], props['host'], props['port']) except Exception, message: wxMessageBox(`message.args`, 'Error on connect') raise return FTPItemNode.openList(self, self) |
wx.OK | wxCENTER | wx.ICON_ERROR, self) | wx.OK | wx.CENTER | wx.ICON_ERROR, self) | def OnEnter(self, event): for nv in self.nameValues: if nv.editing: try: nv.propEditor.inspectorPost(False) except Exception, err: wx.MessageBox('%s: %s'%(err.__class__, str(err)), 'Unable to post, please correct.', wx.OK | wxCENTER | wx.ICON_ERROR, self) |
currMeth.append(line) | try: currMeth.append(line) except: print 'PASTE ERROR', input | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) |
print 'coll init meth', meth[0] | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) | |
newName = self.newObjName(clss) | newName = self.newObjName(clss, newNames) newNames.append(newName) | if line[:8] == ' def ': meth = line[8:string.find(line, '(', 9)] currMeth = [meth] methList.append(currMeth) |
def newObjName(self, className): | def newObjName(self, className, additionalNames = None): | def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ |
if additionalNames is None: additionalNames = [] | def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ | |
return Utils.getValidName(self.objects.keys(), newName) | return Utils.getValidName(self.objects.keys() + additionalNames, newName) | def newObjName(self, className): """ Return a name for a control unique in the scope of the model. """ |
('Escape', wxID_CTRLPARENT)): | ('Escape', wxID_CTRLPARENT), ('Copy', wxID_EDITCOPY), ('Paste', wxID_EDITPASTE)): | def __init__(self, parent, inspector, model, compPal, companionClass, dataView): args = self.setupArgs(model.main, model.mainConstr.params, ['parent', 'id'], parent, companionClass) wxFrame.__init__(self, parent, -1, args['title'], args['pos'], args['size'])#, args['style'], args['name']) InspectableObjectCollectionVie... |
self.inspector.OnDelete(event) | print 'OnControlDelete' ctrls = [] if self.selection: ctrls = [self.selection.name] elif self.multiSelection: ctrls = map(lambda sel: sel.name, self.multiSelection) for ctrlName in ctrls: self.deleteCtrl(ctrlName) | def OnControlDelete(self, event): self.inspector.OnDelete(event) |
except socket.error: | except (EmptyResponseError, socket.error): | def call_exit(server=server): try: server.exit_debugger() except socket.error: # Already stopped. pass |
self.SetIcon(wxIcon(toPyPath('Images/Icons/Boa.ico'), wxBITMAP_TYPE_ICO)) | self.SetIcon(IS.load('Images/Icons/Boa.ico')) | def __init__(self, parent, id, app): |
conf = ConfigParser() if wxPlatform == '__WXMSW__': plat = 'msw' else: plat = 'gtk' conf.read(Preferences.pyPath+'/Explorer.'+plat+'.cfg') | conf = Utils.createAndReadConfig('Explorer') | def __init__(self, parent, id, app): |
self.zopePalettePage = ZopePalettePage(self.palette, PaletteMapping.zopePalette[0], 'Images/Palette/'+transpSF, self, self.widgetSet, self.senders, self.componentSB) self.zopePalettePage.addToggleBitmaps(PaletteMapping.zopePalette[2], None, None) self.palettePages.append(self.zopePalettePage) | if conf.has_option('explorer', 'zope'): self.zopePalettePage = ZopePalettePage(self.palette, PaletteMapping.zopePalette[0], 'Images/Palette/'+transpSF, self, self.widgetSet, self.senders, self.componentSB) self.zopePalettePage.addToggleBitmaps(PaletteMapping.zopePalette[2], None, None) self.palettePages.append(self.zop... | def __init__(self, parent, id, app): |
def addTool(self, filename, text, help, func): | def addTool(self, filename, text, help, func, toggle = false): | def addTool(self, filename, text, help, func): mID = wxNewId() self.toolBar.AddTool(mID, IS.load(filename+'.bmp'), #wxBitmap(filename+'.bmp', wxBITMAP_TYPE_BMP), shortHelpString = text) EVT_TOOL(self, mID, func) |
shortHelpString = text) | shortHelpString = text, isToggle = toggle) | def addTool(self, filename, text, help, func): mID = wxNewId() self.toolBar.AddTool(mID, IS.load(filename+'.bmp'), #wxBitmap(filename+'.bmp', wxBITMAP_TYPE_BMP), shortHelpString = text) EVT_TOOL(self, mID, func) |
palette.addTool('Images/Shared/Compose', 'Compose', ' ', palette.OnHelpToolClick) palette.addTool('Images/Shared/Inherit', 'Inherit', ' ', palette.OnHelpToolClick) | cId = palette.addTool('Images/Shared/Compose', 'Compose', ' ', palette.OnComposeClick, toggle = true) iId = palette.addTool('Images/Shared/Inherit', 'Inherit', ' ', palette.OnInheritClick, toggle = true) palette.toolBar.ToggleTool(cId, true) palette.toolBar.EnableTool(iId, false) | def __init__(self, palette): wID = wxNewId() self.selComp = wxCheckBox(palette.toolBar, wID, ' (Nothing selected)', size = wxSize(120, 20)) self.selComp.Enable(false) EVT_CHECKBOX(self.selComp, wID, palette.OnUncheckComponent) palette.toolBar.AddControl(self.selComp) |
def __del__(self): print '__del__', self.__class__.__name__ | def __del__(self): print '__del__', self.__class__.__name__ | |
def main(): | def main(args=None): global auth_str, debug_server, connection, serving if args is None: args = sys.argv[1:] if args and '--zope' in args: from ZopeScriptDebugServer import ZopeScriptDebugServer debug_server = ZopeScriptDebugServer() else: debug_server = DebugServer() connection = DebuggerConnection(debug_server) con... | def main(): # Create an authentication string, always 40 characters. global auth_str auth_str = sha.new(str(whrandom.random())).hexdigest() # port is 0 to allocate any port. server = TaskingTCPServer(('', 0), DebugRequestHandler) port = int(server.socket.getsockname()[1]) # Tell the client what port to connect to and ... |
global auth_str | def main(): # Create an authentication string, always 40 characters. global auth_str auth_str = sha.new(str(whrandom.random())).hexdigest() # port is 0 to allocate any port. server = TaskingTCPServer(('', 0), DebugRequestHandler) port = int(server.socket.getsockname()[1]) # Tell the client what port to connect to and ... | |
global serving; serving = 1 while serving: | while serving: | def startDaemon(target, args=()): t = threading.Thread(target=target, args=args) t.setDaemon(1) t.start() |
parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), | parent=prnt, pos=wxPoint(323, 272), size=wxSize(364, 273), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... |
self._init_utils() | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... | |
name='findTxt', parent=self, pos=wxPoint(88, 4), size=wxSize(249, 21), style=0, value='') | name='findTxt', parent=self, pos=wxPoint(88, 4), size=wxSize(239, 23), style=0, value='') | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... |
pos=wxPoint(88, 28), size=wxSize(269, 21), style=0, value='') | pos=wxPoint(88, 28), size=wxSize(269, 23), style=0, value='') | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... |
size=wxSize(249, 21), style=0, validator=wxDefaultValidator, | size=wxSize(239, 23), style=0, validator=wxDefaultValidator, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... |
parent=self, pos=wxPoint(88, 74), size=wxSize(269, 21), style=0, | parent=self, pos=wxPoint(88, 74), size=wxSize(269, 23), style=0, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... |
point=wxPoint(8, 103), size=wxSize(112, 64), | point=wxPoint(8, 103), size=wxSize(104, 64), | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... |
size=wxSize(112, 64), style=wxRA_SPECIFY_COLS, | size=wxSize(104, 64), style=wxRA_SPECIFY_COLS, | def _init_ctrls(self, prnt): # generated method, don't edit wxDialog.__init__(self, id=wxID_FINDREPLACEDLG, name='FindReplaceDlg', parent=prnt, pos=wxPoint(399, 399), size=wxSize(372, 300), style=wxDEFAULT_DIALOG_STYLE, title='Find/Replace') self._init_utils() self.SetAutoLayout(true) self.SetClientSize(wxSize(364, 273... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.