bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def __call__(self, publisher, request, response, form, **kwargs): """Is called by publisher, dispatches request to method""" raise NotImplementedError | defcommand = self.parseRequest(publisher, request, response, form, **kwargs) if command: try: method = getattr(publisher, 'do_'+command) except AttributeError: logger.warn('Invalid command %r', action) method = publisher.cmd_invalidCommand else: logger.debug('Dispatching for command %r', command) else: logger.debug('As... | 31,300 |
def __call__(self, publisher, request, response, form, **kwargs): for field_name in form.keys(): if field_name.startswith(self.field_name_prefix): action = field_name[len(self.field_name_prefix):] try: method = getattr(publisher, 'do_'+action) except AttributeError: logger.warn('Invalid command %r', action) return publ... | def parseRequest(self, publisher, request, response, form, **kwargs): for field_name in form.keys(): if field_name.startswith(self.field_name_prefix): action = field_name[len(self.field_name_prefix):] try: method = getattr(publisher, 'do_'+action) except AttributeError: logger.warn('Invalid command %r', action) return ... | 31,301 |
def __call__(self, publisher, request, response, form, **kwargs): for field_name in form.keys(): if field_name.startswith(self.field_name_prefix): action = field_name[len(self.field_name_prefix):] try: method = getattr(publisher, 'do_'+action) except AttributeError: logger.warn('Invalid command %r', action) return publ... | def __call__(self, publisher, request, response, form, **kwargs): for field_name in form.keys(): if field_name.startswith(self.field_name_prefix): action = field_name[len(self.field_name_prefix):] try: method = getattr(publisher, 'do_'+action) except AttributeError: logger.warn('Invalid command %r', action) return publ... | 31,302 |
def __call__(self, publisher, request, response, form, **kwargs): action = form.getfirst(self.field_name) if action: try: method = getattr(publisher, 'do_'+action) except AttributeError: logger.warn('Invalid command %r', action) return publisher.cmd_invalidCommand(request, response, form, **kwargs) else: logger.debug('... | def __call__(self, publisher, request, response, form, **kwargs): action = form.getfirst(self.field_name) if action: try: method = getattr(publisher, 'do_'+action) except AttributeError: logger.warn('Invalid command %r', action) return publisher.cmd_invalidCommand(request, response, form, **kwargs) else: logger.debug('... | 31,303 |
def __call__(self, publisher, request, response, form, **kwargs): action = request.pathInfo[1:] if action: try: method = getattr(publisher, 'do_'+action) except AttributeError: method = publisher.cmd_invalidCommand else: method = publisher.cmd_defaultCommand return method(request, response, form, **kwargs) | def __call__(self, publisher, request, response, form, **kwargs): action = request.pathInfo[1:] if action: try: method = getattr(publisher, 'do_'+action) except AttributeError: method = publisher.cmd_invalidCommand else: method = publisher.cmd_defaultCommand return method(request, response, form, **kwargs) | 31,304 |
def __init__(self, site, **kwargs): self.dispatcher = FieldNameCommandDispatcher( field_name_prefix='qps-action:') Publisher.__init__(self, site, **kwargs) | def __init__(self, site, **kwargs): self.dispatcher = FieldNameCommandDispatcher( field_name_prefix='qps-action:') Publisher.__init__(self, site, **kwargs) | 31,305 |
def __init__(self, conn): self.dbConn = conn if not conn._current_transaction: self.impl = conn._current_transaction = TransactionImpl(conn) logger.info('New transaction') else: self.impl = conn._current_transaction logger.info('Existing transaction level %s', self.impl.level) conn._current_transaction.pushLevel() self... | def __init__(self, conn): self.dbConn = conn if not conn._current_transaction: self.impl = conn._current_transaction = TransactionImpl(conn) logger.debug('Transaction started') else: self.impl = conn._current_transaction logger.info('Existing transaction level %s', self.impl.level) conn._current_transaction.pushLevel()... | 31,306 |
def __init__(self, conn): self.dbConn = conn if not conn._current_transaction: self.impl = conn._current_transaction = TransactionImpl(conn) logger.info('New transaction') else: self.impl = conn._current_transaction logger.info('Existing transaction level %s', self.impl.level) conn._current_transaction.pushLevel() self... | def __init__(self, conn): self.dbConn = conn if not conn._current_transaction: self.impl = conn._current_transaction = TransactionImpl(conn) logger.info('New transaction') else: self.impl = conn._current_transaction logger.debug('Transaction reused (level=%s)', self.impl.level) conn._current_transaction.pushLevel() sel... | 31,307 |
def pushLevel(self): logger.info('Transaction level %d -> %d', self.level, self.level+1) if not self.level: self.dbConn.begin() self.level += 1 | def pushLevel(self): logger.debug('Transaction level %d -> %d', self.level, self.level+1) if not self.level: self.dbConn.begin() self.level += 1 | 31,308 |
def popLevel(self): if self.level>0: logger.info('Transaction level %d -> %d', self.level, self.level-1) self.level -= 1 if not (self.level or self.is_aborted): self.dbConn.commit() | def popLevel(self): if self.level>0: logger.debug('Transaction level %d -> %d', self.level, self.level-1) self.level -= 1 if not (self.level or self.is_aborted): self.dbConn.commit() | 31,309 |
def abort(self): if not self.is_aborted: logger.info('Transaction aborted') self.level = 0 self.dbConn.rollback() self.is_aborted = 1 | def abort(self): if not self.is_aborted: logger.debug('Transaction aborted') self.level = 0 self.dbConn.rollback() self.is_aborted = 1 | 31,310 |
def isStreamUpdatable(self, obj): allowedIndexFields = self.getAllowedIndexFields(obj) # assume obj.type=='stream': stream = obj if self.user.checkPermission('w', stream.permissions): item_fields = stream.allStreamFields for field_name in allowedIndexFields: field_type = item_fields[field_name] if self.user.checkPermis... | def isStreamUpdatable(self, obj): allowedIndexFields = self.allowedIndexFields(obj) # assume obj.type=='stream': stream = obj if self.user.checkPermission('w', stream.permissions): item_fields = stream.allStreamFields for field_name in allowedIndexFields: field_type = item_fields[field_name] if self.user.checkPermissio... | 31,311 |
def add(self, uri, aliases, password, idtype=ID_ORIG, force=False): do = Domain(self.dburi, self.db) ur = Uri(self.dburi, self.db) cr = Cred(self.dburi, self.db) us = User(self.dburi, self.db) | def add(self, uri, aliases, password, idtype=ID_ORIG, force=False): do = Domain(self.dburi, self.db) ur = Uri(self.dburi, self.db) cr = Cred(self.dburi, self.db) us = User(self.dburi, self.db) | 31,312 |
def handle_servers(opts): if not opts['SERVERS']: return [opts['SER_URI']] sul = opts['SERVERS'].split(' ') if len(sul) < 2: return adjust_ser_uri(sul[0]) uris = [] for uri in sul: uris.append(adjust_ser_uri(uri)) return uris | def handle_servers(opts): if not opts['SERVERS']: return [opts['SER_URI']] sul = opts['SERVERS'].split(' ') if len(sul) < 2: return [adjust_ser_uri(sul[0])] uris = [] for uri in sul: uris.append(adjust_ser_uri(uri)) return uris | 31,313 |
def usrloc(command, uri, contact=None, *args, **opts): ad, al = arg_attrs(args) table = opts['UL_TABLE'] q = float(ad.get('q', 1)) expires = ad.get('expires') if expires is not None: expires = int(expires) flags = ad.get('flags') if flags is not None: flags = int(flags) # LB hack ur = Uri(opts['DB_URI']) uid = ur.get_... | def usrloc(command, uri, contact=None, *args, **opts): ad, al = arg_attrs(args) table = opts['UL_TABLE'] q = float(ad.get('q', 1)) expires = ad.get('expires') if expires is not None: expires = int(expires) flags = ad.get('flags') if flags is not None: flags = int(flags) # LB hack ur = Uri(opts['DB_URI']) uid = ur.get_... | 31,314 |
def parse_cmdline(argv): lineopts, args = gnu_getopt(argv, opt.GETOPT_SHORT, opt.GETOPT_LONG) opts = {} defaults = {} for o, desc in opt.OPT.items(): if len(desc) < 4: continue defaults[o] = desc[3] for o, v in lineopts: o = opt.OPTS[o] if opt.OPT[o][2] is False: v = True opts[o] = v del defaults[o] return args, opts, ... | def parse_cmdline(argv): lineopts, args = gnu_getopt(argv, opt.GETOPT_SHORT, opt.GETOPT_LONG) opts = {} defaults = {} for o, desc in opt.OPT.items(): if len(desc) < 4: continue defaults[o] = desc[3] for o, v in lineopts: o = opt.OPTS[o] if opt.OPT[o][2] is False: v = True opts[o] = v if defaults.has_key(o): del default... | 31,315 |
def user(command, uri, *aliases, **opts): force = opts['FORCE'] cmd = CMD.get(command) if cmd == CMD_ADD: password = get_password(opts) u = User_ctl(opts['DB_URI'], multi_rpc(opts)) u.add(uri, aliases, password, ID_ORIG, force) elif cmd == CMD_RM: u = User_ctl(opts['DB_URI'], multi_rpc(opts)) u.rm(uri, ID_ORIG, force) ... | def user(command, uri, *aliases, **opts): force = opts['FORCE'] cmd = CMD.get(command) if cmd == CMD_ADD: prompt='Please, enter new user password.\nPassword: ' password = get_password(opts, prompt=prompt) u = User_ctl(opts['DB_URI'], multi_rpc(opts)) u.add(uri, aliases, password, ID_ORIG, force) elif cmd == CMD_RM: u =... | 31,316 |
def password(uri, password=None, **opts): force = opts['FORCE'] password = get_password(opts) u = User_ctl(opts['DB_URI'], multi_rpc(opts)) u.passwd(uri, password, force) | def password(uri, password=None, **opts): force = opts['FORCE'] prompt='Please, enter new user password.\nPassword: ' password = get_password(opts, prompt=prompt) u = User_ctl(opts['DB_URI'], multi_rpc(opts)) u.passwd(uri, password, force) | 31,317 |
def rm(self, uri, idtype=ID_ORIG, force=False): us = User(self.dburi, self.db) ur = Uri(self.dburi, self.db) cr = Cred(self.dburi, self.db) try: uid = ur.get_uid(uri) except: if force: return raise ur.rm_uid_uri(uid, uri, force=force) try: cr.rm_uid(uid, force=force) except: pass us.rm(uid) us.purge() ur.purge() cr.pur... | def rm(self, uri, idtype=ID_ORIG, force=False): us = User(self.dburi, self.db) ur = Uri(self.dburi, self.db) cr = Cred(self.dburi, self.db) try: uid = ur.get_uid(uri) except: if force: return raise ur.rm_uid_uri(uid, uri, force=force) try: cr.rm_uid(uid, force=force) except: pass try: us.rm(uid, force=force) except: pa... | 31,318 |
def add(self, did, domain, flags=None, force=False): dflags = self.default_flags() fmask = parse_flags(flags) flags = new_flags(dflags, fmask) canonical = is_canonical(flags) | def add(self, did, domain, flags=None, force=False): dflags = self.default_flags() fmask = parse_flags(flags) flags = new_flags(dflags, fmask) canonical = is_canonical(flags) | 31,319 |
def usrloc(command, uri, contact=None, *args, **opts): ad, al = arg_attrs(args) table = opts['UL_TABLE'] q = float(ad.get('q', 1)) expires = ad.get('expires') if expires is not None: expires = int(expires) flags = ad.get('flags') if flags is not None: flags = int(flags) # LB hack ur = Uri(opts['DB_URI']) uid = ur.get_... | def usrloc(command, uri, contact=None, *args, **opts): ad, al = arg_attrs(args) table = opts['UL_TABLE'] q = float(ad.get('q', 1)) expires = ad.get('expires') if expires is not None: expires = int(expires) flags = ad.get('flags') if flags is not None: flags = int(flags) # LB hack ur = Uri(opts['DB_URI']) uid = ur.get_... | 31,320 |
def initialize_plist(self): plist = self.get_default_plist() for target in self.targets: plist.update(getattr(target, 'plist', {})) plist.update(self.plist) plist.update(self.get_plist_options()) | def initialize_plist(self): plist = self.get_default_plist() for target in self.targets: plist.update(getattr(target, 'plist', {})) plist.update(self.plist) plist.update(self.get_plist_options()) | 31,321 |
def initialize_plist(self): plist = self.get_default_plist() for target in self.targets: plist.update(getattr(target, 'plist', {})) plist.update(self.plist) plist.update(self.get_plist_options()) | def initialize_plist(self): plist = self.get_default_plist() for target in self.targets: plist.update(getattr(target, 'plist', {})) plist.update(self.plist) plist.update(self.get_plist_options()) | 31,322 |
def __OnSpinUp(self, event): """ Event handler for any bound spin button on EVT_SPIN_UP; causes control to behave as if up arrow was pressed. """ dbg('TimeCtrl::OnSpinUp', indent=1) self.__OnSpin(WXK_UP) keep_processing = False dbg(indent=0) return keep_processing | def __OnSpinUp(self, event): """ Event handler for any bound spin button on EVT_SPIN_UP; causes control to behave as if up arrow was pressed. """ dbg('TimeCtrl::OnSpinUp', indent=1) self.__OnSpin(wx.WXK_UP) keep_processing = False dbg(indent=0) return keep_processing | 31,323 |
def __OnSpinDown(self, event): """ Event handler for any bound spin button on EVT_SPIN_DOWN; causes control to behave as if down arrow was pressed. """ dbg('TimeCtrl::OnSpinDown', indent=1) self.__OnSpin(WXK_DOWN) keep_processing = False dbg(indent=0) return keep_processing | def __OnSpinDown(self, event): """ Event handler for any bound spin button on EVT_SPIN_DOWN; causes control to behave as if down arrow was pressed. """ dbg('TimeCtrl::OnSpinDown', indent=1) self.__OnSpin(wx.WXK_DOWN) keep_processing = False dbg(indent=0) return keep_processing | 31,324 |
def __init__(self, parent, id, title, fileName=None): """ Standard constructor. | def __init__(self, parent, id, title, fileName=None): """ Standard constructor. | 31,325 |
def require(versions): """ Search for a wxPython installation that matches version. :param version: Specifies the version to look for, it can either be a sting or a list of strings. Each string is compared to the installed wxPythons and the best match is added to the sys.path, allowing an 'import wx' to find that ver... | def require(versions): """ Search for a wxPython installation that matches version. :param version: Specifies the version to look for, it can either be a string or a list of strings. Each string is compared to the installed wxPythons and the best match is inserted into the sys.path, allowing an 'import wx' to find th... | 31,326 |
def IsAcceptedKey(self, evt): """ Return TRUE to allow the given key to start editing: the base class version only checks that the event has no modifiers. F2 is special and will always start the editor. """ self.log.write("MyCellEditor: IsAcceptedKey: %d\n" % (evt.GetKeyCode())) | def IsAcceptedKey(self, evt): """ Return TRUE to allow the given key to start editing: the base class version only checks that the event has no modifiers. F2 is special and will always start the editor. """ self.log.write("MyCellEditor: IsAcceptedKey: %d\n" % (evt.GetKeyCode())) | 31,327 |
def __init__(self): """Initializes the DocService.""" pass | def __init__(self): """Initializes the DocService.""" pass | 31,328 |
def GetSaveData(self): saveData = {} saveData['_defChild'] = str(self._defChild) saveData['child'] = self.child.GetSaveData() return saveData | def GetSaveData(self): saveData = {} saveData['_defChild_class'] = self._defChild.__name__ saveData['_defChild_mod'] = self._defChild.__module__ saveData['child'] = self.child.GetSaveData() return saveData | 31,329 |
def SetSaveData(self,data): dChild = data['_defChild'] mod = dChild.split('.')[0] exec 'import %s' % mod self._defChild = eval(dChild) old = self.child self.child = MultiSplit(self,self,wxPoint(0,0),self.GetSize()) self.child.SetSaveData(data['child']) old.Destroy() self.OnMultiSize(None) self.child.OnSize(None) | def SetSaveData(self,data): mod = data['_defChild_mod'] dChild = mod + '.' + data['_defChild_class'] exec 'import %s' % mod self._defChild = eval(dChild) old = self.child self.child = MultiSplit(self,self,wxPoint(0,0),self.GetSize()) self.child.SetSaveData(data['child']) old.Destroy() self.OnMultiSize(None) self.child.... | 31,330 |
def SetSaveData(self,data): dChild = data['_defChild'] mod = dChild.split('.')[0] exec 'import %s' % mod self._defChild = eval(dChild) old = self.child self.child = MultiSplit(self,self,wxPoint(0,0),self.GetSize()) self.child.SetSaveData(data['child']) old.Destroy() self.OnMultiSize(None) self.child.OnSize(None) | def SetSaveData(self,data): dChild = data['_defChild'] mod = dChild.split('.')[0] exec 'import %s' % mod self._defChild = eval(dChild) old = self.child self.child = MultiSplit(self,self,wx.Point(0,0),self.GetSize()) self.child.SetSaveData(data['child']) old.Destroy() self.OnMultiSize(None) self.child.OnSize(None) | 31,331 |
def GetSaveData(self): saveData = {} saveData['detailClass'] = str(self.detail.child.__class__) if hasattr(self.detail.child,'GetSaveData'): attr = getattr(self.detail.child,'GetSaveData') if callable(attr): dData = attr() if dData: saveData['detail'] = dData v1,v2 = self.GetPosition() saveData['x'] = v1 saveData['y'] ... | def GetSaveData(self): saveData = {} saveData['detailClass_class'] = self.detail.child.__class__.__name__ saveData['detailClass_mod'] = self.detail.child.__module__ if hasattr(self.detail.child,'GetSaveData'): attr = getattr(self.detail.child,'GetSaveData') if callable(attr): dData = attr() if dData: saveData['detail']... | 31,332 |
def SetSaveData(self,data): dChild = data['detailClass'] mod = dChild.split('.')[0] exec 'import %s' % mod detClass = eval(dChild) self.SetDimensions(data['x'],data['y'],data['w'],data['h']) old = self.detail self.detail = MultiClient(self,detClass) dData = data.get('detail',None) if dData: if hasattr(self.detail.child... | def SetSaveData(self,data): mod = data['detailClass_mod'] dChild = mod + '.' + data['detailClass_class'] exec 'import %s' % mod detClass = eval(dChild) self.SetDimensions(data['x'],data['y'],data['w'],data['h']) old = self.detail self.detail = MultiClient(self,detClass) dData = data.get('detail',None) if dData: if hasa... | 31,333 |
def mk_wxid(id): """Creates wxWindows library identifier from bakefile target ID that follows this convention: DLLs end with 'dll', static libraries end with 'lib'. If withPrefix=1, then _wxid is returned instead of wxid.""" if id.endswith('dll') or id.endswith('lib'): wxid = id[:-3] else: wxid = id return wxid | def mk_wxid(id): """Creates wxWindows library identifier from bakefile target ID that follows this convention: DLLs end with 'dll', static libraries end with 'lib'. If withPrefix=1, then _wxid is returned instead of wxid.""" if id.endswith('dll') or id.endswith('lib'): wxid = id[:-3] else: wxid = id return wxid | 31,334 |
def mk_wxid(id): """Creates wxWindows library identifier from bakefile target ID that follows this convention: DLLs end with 'dll', static libraries end with 'lib'. If withPrefix=1, then _wxid is returned instead of wxid.""" if id.endswith('dll') or id.endswith('lib'): wxid = id[:-3] else: wxid = id return wxid | def mk_wxid(id): """Creates wxWindows library identifier from bakefile target ID that follows this convention: DLLs end with 'dll', static libraries end with 'lib'. If withPrefix=1, then _wxid is returned instead of wxid.""" if id.endswith('dll') or id.endswith('lib'): wxid = id[:-3] else: wxid = id return wxid | 31,335 |
def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | 31,336 |
def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | 31,337 |
def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | 31,338 |
def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | 31,339 |
def __init__(self, parent, id, log): wx.Listbook.__init__(self, parent, id, style= wx.LB_DEFAULT #wxLB_TOP #wxLB_BOTTOM #wxLB_LEFT #wxLB_RIGHT ) self.log = log | def __init__(self, parent, id, log): wx.Listbook.__init__(self, parent, id, style= wx.LB_DEFAULT #wxLB_TOP #wxLB_BOTTOM #wxLB_LEFT #wxLB_RIGHT ) self.log = log | 31,340 |
def make_editor(self, col_style=wx.LIST_FORMAT_LEFT): editor = wx.PreTextCtrl() style =wx.TE_PROCESS_ENTER|wx.TE_PROCESS_TAB|wx.TE_RICH2 style |= {wx.LIST_FORMAT_LEFT: wx.TE_LEFT, wx.LIST_FORMAT_RIGHT: wx.TE_RIGHT, wx.LIST_FORMAT_CENTRE : wx.TE_CENTRE }[col_style] editor.Create(self, -1, style=style) editor.SetBackgr... | def make_editor(self, col_style=wx.LIST_FORMAT_LEFT): editor = wx.PreTextCtrl() style =wx.TE_PROCESS_ENTER|wx.TE_PROCESS_TAB|wx.TE_RICH2 style |= {wx.LIST_FORMAT_LEFT: wx.TE_LEFT, wx.LIST_FORMAT_RIGHT: wx.TE_RIGHT, wx.LIST_FORMAT_CENTRE : wx.TE_CENTRE }[col_style] editor.Create(self, -1, style=style) editor.SetBackgr... | 31,341 |
def CloseEditor(self, evt=None): ''' Close the editor and save the new value to the ListCtrl. ''' text = self.editor.GetValue() self.editor.Hide() if self.IsVirtual(): # replace by whather you use to populate the virtual ListCtrl # data source self.SetVirtualData(self.curRow, self.curCol, text) else: self.SetStringItem... | def CloseEditor(self, evt=None): ''' Close the editor and save the new value to the ListCtrl. ''' text = self.editor.GetValue() self.editor.Hide() if self.IsVirtual(): # replace by whather you use to populate the virtual ListCtrl # data source self.SetVirtualData(self.curRow, self.curCol, text) else: self.SetStringItem... | 31,342 |
def OnInit(self): global debug # Process comand-line try: opts = args = None opts, args = getopt.getopt(sys.argv[1:], 'dhiv') for o,a in opts: if o == '-h': usage() sys.exit(0) elif o == '-d': debug = True elif o == '-v': print 'XRCed version', version sys.exit(0) except getopt.GetoptError: if wxPlatform != '__WXMAC__... | def OnInit(self): global debug # Process comand-line try: opts, args = getopt.getopt(sys.argv[1:], 'dhiv') for o,a in opts: if o == '-h': usage() sys.exit(0) elif o == '-d': debug = True elif o == '-v': print 'XRCed version', version sys.exit(0) except getopt.GetoptError: if wxPlatform != '__WXMAC__': # macs have some... | 31,343 |
def getMondrianData(): return \ | def getMondrianData(): return \ | 31,344 |
def EVT_UPDATE_THROBBER(win, func): win.Connect(-1, -1, wxEVT_UPDATE_THROBBER, func) | def EVT_UPDATE_THROBBER(win, func): win.Connect(-1, -1, wxEVT_UPDATE_THROBBER, func) | 31,345 |
def __init__(self): wxPyEvent.__init__(self) self.SetEventType(wxEVT_UPDATE_THROBBER) | def __init__(self): wxPyEvent.__init__(self) self.SetEventType(wxEVT_UPDATE_THROBBER) | 31,346 |
def __init__(self): wxPyEvent.__init__(self) self.SetEventType(wxEVT_UPDATE_THROBBER) | def __init__(self): wxPyEvent.__init__(self) self.SetEventType(wxEVT_UPDATE_THROBBER) | 31,347 |
def __init__(self, parent, id, bitmap, # single (composite) bitmap or list of bitmaps pos = wxDefaultPosition, size = wxDefaultSize, frameDelay = 0.1,# time between frames frames = 0, # number of frames (only necessary for composite image) frameWidth = 0, # width of each frame (only necessary for composi... | def __init__(self, parent, id, bitmap, # single (composite) bitmap or list of bitmaps pos = wx.DefaultPosition, size = wx.DefaultSize, frameDelay = 0.1,# time between frames frames = 0, # number of frames (only necessary for composite image) frameWidth = 0, # width of each frame (only necessary for compo... | 31,348 |
def __init__(self, parent, id, bitmap, # single (composite) bitmap or list of bitmaps pos = wxDefaultPosition, size = wxDefaultSize, frameDelay = 0.1,# time between frames frames = 0, # number of frames (only necessary for composite image) frameWidth = 0, # width of each frame (only necessary for composi... | def __init__(self, parent, id, bitmap, # single (composite) bitmap or list of bitmaps pos = wxDefaultPosition, size = wxDefaultSize, frameDelay = 0.1,# time between frames frames = 0, # number of frames (only necessary for composite image) frameWidth = 0, # width of each frame (only necessary for composi... | 31,349 |
def __init__(self, parent, id, bitmap, # single (composite) bitmap or list of bitmaps pos = wxDefaultPosition, size = wxDefaultSize, frameDelay = 0.1,# time between frames frames = 0, # number of frames (only necessary for composite image) frameWidth = 0, # width of each frame (only necessary for composi... | def __init__(self, parent, id, bitmap, # single (composite) bitmap or list of bitmaps pos = wxDefaultPosition, size = wxDefaultSize, frameDelay = 0.1,# time between frames frames = 0, # number of frames (only necessary for composite image) frameWidth = 0, # width of each frame (only necessary for composi... | 31,350 |
def __init__(self, parent, id, bitmap, # single (composite) bitmap or list of bitmaps pos = wxDefaultPosition, size = wxDefaultSize, frameDelay = 0.1,# time between frames frames = 0, # number of frames (only necessary for composite image) frameWidth = 0, # width of each frame (only necessary for composi... | def __init__(self, parent, id, bitmap, # single (composite) bitmap or list of bitmaps pos = wxDefaultPosition, size = wxDefaultSize, frameDelay = 0.1,# time between frames frames = 0, # number of frames (only necessary for composite image) frameWidth = 0, # width of each frame (only necessary for composi... | 31,351 |
def OnDestroyWindow(self, event): # this is currently broken due to a bug in wxWindows... hopefully # it'll be fixed soon. Meanwhile be sure to explicitly call Stop() # before the throbber is destroyed. self.Stop() event.Skip() | def OnDestroyWindow(self, event): # this is currently broken due to a bug in wxWindows... hopefully # it'll be fixed soon. Meanwhile be sure to explicitly call Stop() # before the throbber is destroyed. self.Stop() event.Skip() | 31,352 |
def Draw(self, dc): dc.DrawBitmap(self.submaps[self.sequence[self.current]], 0, 0, True) if self.overlay and self.showOverlay: dc.DrawBitmap(self.overlay, self.overlayX, self.overlayY, True) if self.label and self.showLabel: dc.DrawText(self.label, self.labelX, self.labelY) dc.SetTextForeground(wxWHITE) dc.DrawText(sel... | def Draw(self, dc): dc.DrawBitmap(self.submaps[self.sequence[self.current]], 0, 0, True) if self.overlay and self.showOverlay: dc.DrawBitmap(self.overlay, self.overlayX, self.overlayY, True) if self.label and self.showLabel: dc.DrawText(self.label, self.labelX, self.labelY) dc.SetTextForeground(wx.WHITE) dc.DrawText(se... | 31,353 |
def OnPaint(self, event): self.Draw(wxPaintDC(self)) event.Skip() | def OnPaint(self, event): self.Draw(wx.PaintDC(self)) event.Skip() | 31,354 |
def UpdateThread(self): try: while hasattr(self, 'event') and not self.event.isSet(): wxPostEvent(self, UpdateThrobberEvent()) self.event.wait(self.frameDelay) except wxPyDeadObjectError: # BUG: we were destroyed return | def UpdateThread(self): try: while hasattr(self, 'event') and not self.event.isSet(): wxPostEvent(self, UpdateThrobberEvent()) self.event.wait(self.frameDelay) except wxPyDeadObjectError: # BUG: we were destroyed return | 31,355 |
def Rotate(self, event): if self.event.isSet(): return self.current += self.direction if self.current >= len(self.sequence): if self.autoReverse: self.Reverse() self.current = len(self.sequence) - 1 else: self.current = 1 if self.current < 1: if self.autoReverse: self.Reverse() self.current = 1 else: self.current = len... | def Rotate(self, event): self.current += self.direction if self.current >= len(self.sequence): if self.autoReverse: self.Reverse() self.current = len(self.sequence) - 1 else: self.current = 1 if self.current < 1: if self.autoReverse: self.Reverse() self.current = 1 else: self.current = len(self.sequence) - 1 self.Draw(... | 31,356 |
def Rotate(self, event): if self.event.isSet(): return self.current += self.direction if self.current >= len(self.sequence): if self.autoReverse: self.Reverse() self.current = len(self.sequence) - 1 else: self.current = 1 if self.current < 1: if self.autoReverse: self.Reverse() self.current = 1 else: self.current = len... | def Rotate(self, event): if self.event.isSet(): return self.current += self.direction if self.current >= len(self.sequence): if self.autoReverse: self.Reverse() self.current = len(self.sequence) - 1 else: self.current = 1 if self.current < 1: if self.autoReverse: self.Reverse() self.current = 1 else: self.current = len... | 31,357 |
def SetFont(self, font): """Set the font for the label""" wxPanel.SetFont(self, font) self.SetLabel(self.label) self.Draw(wxClientDC(self)) | def SetFont(self, font): """Set the font for the label""" wx.Panel.SetFont(self, font) self.SetLabel(self.label) self.Draw(wxClientDC(self)) | 31,358 |
def SetFont(self, font): """Set the font for the label""" wxPanel.SetFont(self, font) self.SetLabel(self.label) self.Draw(wxClientDC(self)) | def SetFont(self, font): """Set the font for the label""" wxPanel.SetFont(self, font) self.SetLabel(self.label) self.Draw(wxClientDC(self)) | 31,359 |
def Rest(self): """Stop the animation and return to frame 0""" self.Stop() self.current = 0 self.Draw(wxClientDC(self)) | def Rest(self): """Stop the animation and return to frame 0""" self.Stop() self.current = 0 self.Draw(wxClientDC(self)) | 31,360 |
def Running(self): """Returns True if the animation is running""" return not self.event.isSet() | def Running(self): """Returns True if the animation is running""" return not self.event.isSet() | 31,361 |
def Start(self): """Start the animation""" if not self.Running(): self.event.clear() thread = threading.Thread(target = self.UpdateThread, name = "%s-thread" % self.name) thread.start() | def Start(self): """Start the animation""" if not self.Running(): self.event.clear() thread = threading.Thread(target = self.UpdateThread, name = "%s-thread" % self.name) thread.start() | 31,362 |
def Stop(self): """Stop the animation""" if self.event.isSet(): return self.event.set() | def Stop(self): """Stop the animation""" if self.event.isSet(): return self.event.set() | 31,363 |
def ToggleOverlay(self, state = None): """Toggle the overlay image""" if state is None: self.showOverlay = not self.showOverlay else: self.showOverlay = state self.Draw(wxClientDC(self)) | def ToggleOverlay(self, state = None): """Toggle the overlay image""" if state is None: self.showOverlay = not self.showOverlay else: self.showOverlay = state self.Draw(wxClientDC(self)) | 31,364 |
def ToggleLabel(self, state = None): """Toggle the label""" if state is None: self.showLabel = not self.showLabel else: self.showLabel = state self.Draw(wxClientDC(self)) | def ToggleLabel(self, state = None): """Toggle the label""" if state is None: self.showLabel = not self.showLabel else: self.showLabel = state self.Draw(wxClientDC(self)) | 31,365 |
def SetLabel(self, label): """Change the text of the label""" self.label = label if label: extentX, extentY = self.GetTextExtent(label) self.labelX = (self.width - extentX)/2 self.labelY = (self.height - extentY)/2 self.Draw(wxClientDC(self)) | def SetLabel(self, label): """Change the text of the label""" self.label = label if label: extentX, extentY = self.GetTextExtent(label) self.labelX = (self.width - extentX)/2 self.labelY = (self.height - extentY)/2 self.Draw(wxClientDC(self)) | 31,366 |
def OnDraw(self): # clear color and depth buffers glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); | def OnDraw(self): # clear color and depth buffers glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); | 31,367 |
def OnDraw(self): # clear color and depth buffers glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); # position viewer glMatrixMode(GL_MODELVIEW); # use a fresh transformation matrix glPushMatrix() # position object glTranslate(0.0, 0.0, -2.0); glRotate(30.0, 1.0, 0.0, 0.0); glRotate(30.0, 0.0, 1.0, 0.0); | def OnDraw(self): # clear color and depth buffers glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); # position viewer# use a fresh transformation matrix glPushMatrix() # position object glTranslate(0.0, 0.0, -2.0); glRotate(30.0, 1.0, 0.0, 0.0); glRotate(30.0, 0.0, 1.0, 0.0); | 31,368 |
def OnDraw(self): # clear color and depth buffers glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); # position viewer glMatrixMode(GL_MODELVIEW); # use a fresh transformation matrix glPushMatrix() # position object glTranslate(0.0, 0.0, -2.0); glRotate(30.0, 1.0, 0.0, 0.0); glRotate(30.0, 0.0, 1.0, 0.0); | def OnDraw(self): # clear color and depth buffers glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); # position viewer glMatrixMode(GL_MODELVIEW); # use a fresh transformation matrix glPushMatrix() # position object glTranslate(0.0, 0.0, -2.0); glRotate(30.0, 1.0, 0.0, 0.0); glRotate(30.0, 0.0, 1.0, 0.0); | 31,369 |
def OnEraseBackground(self, evt): dc = evt.GetDC() | def OnEraseBackground(self, evt): dc = evt.GetDC() | 31,370 |
def OnLeftUp(self, evt): if not self.dragImage or not self.dragShape: self.dragImage = None self.dragShape = None return | def OnLeftUp(self, evt): if not self.dragImage or not self.dragShape: self.dragImage = None self.dragShape = None return | 31,371 |
def OnLeftUp(self, evt): if not self.dragImage or not self.dragShape: self.dragImage = None self.dragShape = None return | def OnLeftUp(self, evt): if not self.dragImage or not self.dragShape: self.dragImage = None self.dragShape = None return | 31,372 |
def OnLeftUp(self, evt): if not self.dragImage or not self.dragShape: self.dragImage = None self.dragShape = None return | def OnLeftUp(self, evt): if not self.dragImage or not self.dragShape: self.dragImage = None self.dragShape = None return | 31,373 |
def mkDllName(wxid): """Returns string that can be used as DLL name, including name suffixes, prefixes, version tags etc. This must be kept in sync with variables defined in common.bkl!""" if wxid == 'mono': return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(WXVERSIONTAG)' if wxid in LIBS_BASE: return '$(WXNAMEPRE... | def mkDllName(wxid): """Returns string that can be used as DLL name, including name suffixes, prefixes, version tags etc. This must be kept in sync with variables defined in common.bkl!""" if wxid == 'mono': return '$(WXDLLNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)' if wxid in LIBS_BASE: r... | 31,374 |
def mkDllName(wxid): """Returns string that can be used as DLL name, including name suffixes, prefixes, version tags etc. This must be kept in sync with variables defined in common.bkl!""" if wxid == 'mono': return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(WXVERSIONTAG)' if wxid in LIBS_BASE: return '$(WXNAMEPRE... | def mkDllName(wxid): """Returns string that can be used as DLL name, including name suffixes, prefixes, version tags etc. This must be kept in sync with variables defined in common.bkl!""" if wxid == 'mono': return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(WXVERSIONTAG)' if wxid in LIBS_BASE: return '$(WXDLLNAME... | 31,375 |
def Draw(self, dc, size): dc.SetFont(self.GetFont()) dc.SetTextForeground(wx.BLUE) dc.SetBackground(wx.Brush(self.GetBackgroundColour())) dc.Clear() dc.SetPen(wxPen(wxBLACK, 3, wxSOLID)) dc.DrawLine((self.linePos, 0), (self.linePos, size.height-10)) | def Draw(self, dc, size): dc.SetFont(self.GetFont()) dc.SetTextForeground(wx.BLUE) dc.SetBackground(wx.Brush(self.GetBackgroundColour())) dc.Clear() dc.SetPen(wx.Pen(wx.BLACK, 3, wx.SOLID)) dc.DrawLine((self.linePos, 0), (self.linePos, size.height-10)) | 31,376 |
def Draw(self, dc, size): dc.SetFont(self.GetFont()) dc.SetTextForeground(wx.BLUE) dc.SetBackground(wx.Brush(self.GetBackgroundColour())) dc.Clear() dc.SetPen(wxPen(wxBLACK, 3, wxSOLID)) dc.DrawLine((self.linePos, 0), (self.linePos, size.height-10)) | def Draw(self, dc, size): dc.SetFont(self.GetFont()) dc.SetTextForeground(wx.BLUE) dc.SetBackground(wx.Brush(self.GetBackgroundColour())) dc.Clear() dc.SetPen(wxPen(wxBLACK, 3, wxSOLID)) dc.DrawLine((self.linePos, 0), (self.linePos, size.height-10)) | 31,377 |
def OnPaint(self, evt): width, height = self.GetSize() bmp = wx.EmptyBitmap(width, height) | def OnPaint(self, evt): width, height = size =self.GetSize() bmp = wx.EmptyBitmap(width, height) | 31,378 |
def OnPaint(self, evt): width, height = self.GetSize() bmp = wx.EmptyBitmap(width, height) | def OnPaint(self, evt): width, height = self.GetSize() bmp = wx.EmptyBitmap(width, height) | 31,379 |
def GetWxDateTime(self, value=None): """ This function is the conversion engine for wxTimeCtrl; it takes one of the following types: time string wxDateTime wxTimeSpan mxDateTime mxDateTimeDelta and converts it to a wxDateTime that always has Jan 1, 1970 as its date portion, so that range comparisons around values can w... | def GetWxDateTime(self, value=None): """ This function is the conversion engine for wxTimeCtrl; it takes one of the following types: time string wxDateTime wxTimeSpan mxDateTime mxDateTimeDelta and converts it to a wxDateTime that always has Jan 1, 1970 as its date portion, so that range comparisons around values can w... | 31,380 |
def _OnContextMenu(self, event): | def _OnContextMenu(self, event): | 31,381 |
def _OnContextMenu(self, event): | def _OnContextMenu(self, event): | 31,382 |
def _OnContextMenu(self, event): | def _OnContextMenu(self, event): | 31,383 |
def _OnContextMenu(self, event): | def _OnContextMenu(self, event): | 31,384 |
def _UndoUpdateUI(self, event): if self._prevValue is None or self._prevValue == self._curValue: self._contextMenu.Enable(wxID_UNDO, False) else: self._contextMenu.Enable(wxID_UNDO, True) | def _UndoUpdateUI(self, event): if self._prevValue is None or self._prevValue == self._curValue: self._contextMenu.Enable(wx.ID_UNDO, False) else: self._contextMenu.Enable(wxID_UNDO, True) | 31,385 |
def _UndoUpdateUI(self, event): if self._prevValue is None or self._prevValue == self._curValue: self._contextMenu.Enable(wxID_UNDO, False) else: self._contextMenu.Enable(wxID_UNDO, True) | def _UndoUpdateUI(self, event): if self._prevValue is None or self._prevValue == self._curValue: self._contextMenu.Enable(wxID_UNDO, False) else: self._contextMenu.Enable(wxID_UNDO, True) | 31,386 |
def OnSize(self,evt): self.sizerHor.OnSize(evt) self.sizerVer.OnSize(evt) self.creatorHor.OnSize(evt) self.creatorVer.OnSize(evt) self.detail.OnSize(evt) self.closer.OnSize(evt) | def OnSize(self,evt): self.sizerHor.OnSize(evt) self.sizerVer.OnSize(evt) self.creatorHor.OnSize(evt) self.creatorVer.OnSize(evt) self.detail.OnSize(evt) self.closer.OnSize(evt) | 31,387 |
def __init__(self, parent, log): # Use the WANTS_CHARS style so the panel doesn't eat the Return key. wx.Panel.__init__(self, parent, -1, style=wx.WANTS_CHARS) self.Bind(wx.EVT_SIZE, self.OnSize) | def __init__(self, parent, log): # Use the WANTS_CHARS style so the panel doesn't eat the Return key. wx.Panel.__init__(self, parent, -1, style=wx.WANTS_CHARS) self.Bind(wx.EVT_SIZE, self.OnSize) | 31,388 |
def libFlag(): if FINAL: return '' elif HYBRID: return 'h' else: return 'd' | def libFlag(): if FINAL: return '' elif HYBRID: return 'h' else: return 'd' | 31,389 |
def libFlag(): if FINAL: return '' elif HYBRID: return 'h' else: return 'd' | def libFlag(): if FINAL: return '' elif HYBRID: return 'h' else: return 'd' | 31,390 |
def OnInit(self): global colors wxPython.lib.colourdb.updateColourDB() colors = wxPython.lib.colourdb.getColourList() frame = DrawFrame(None, -1, "FloatCanvas Demo App",wxDefaultPosition,wxSize(700,700)) | def OnInit(self): global colors wxPython.lib.colourdb.updateColourDB() colors = wxPython.lib.colourdb.getColourList() frame = DrawFrame(None, -1, "FloatCanvas Demo App",wxDefaultPosition,wxSize(700,700)) | 31,391 |
def runTest(frame, nb, log): """ This method is used by the wxPython Demo Framework for integrating this demo with the rest. """ global colors wxPython.lib.colourdb.updateColourDB() colors = wxPython.lib.colourdb.getColourList() | def runTest(frame, nb, log): """ This method is used by the wxPython Demo Framework for integrating this demo with the rest. """ global colors wxPython.lib.colourdb.updateColourDB() colors = wxPython.lib.colourdb.getColourList() | 31,392 |
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... | def _init_ctrls(self, prnt): # generated method, don't edit wx.Dialog.__init__(self, id=wxID_STCSTYLEEDITDLG, name='STCStyleEditDlg', parent=prnt, pos=wx.Point(567, 292), size=wx.Size(493, 482), style=wx.WANTS_CHARS | wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER, title=self.stc_title) self._init_utils() self.SetClientSiz... | 31,393 |
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... | 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.SetClientSize(wx.Size(485, 455)) self... | 31,394 |
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... | 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... | 31,395 |
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... | 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... | 31,396 |
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... | 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... | 31,397 |
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... | 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... | 31,398 |
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... | 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... | 31,399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.