rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
wxFlushEvents = misc2c.wxFlushEvents | def wxFindWindowAtPoint(*_args, **_kwargs): val = misc2c.wxFindWindowAtPoint(*_args,**_kwargs) return val | 18d95cf07f67c662ae1ab4952dce9b447f12504e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/18d95cf07f67c662ae1ab4952dce9b447f12504e/misc2.py | |
display an animation by extracing frames from a multi-images GIF file. | display an animation by extracing frames from a multi-image GIF file. | def runTest(frame, nb, log): win = TestPanel(nb, log) return win | 20be5dfc14adf4d4df81f4436fb1a662592e894a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/20be5dfc14adf4d4df81f4436fb1a662592e894a/AnimateCtrl.py |
'''Extrace the raw -I, -D, and -U flags and put them into | '''Extract the raw -I, -D, and -U flags and put them into | def adjustCFLAGS(cflags, defines, includes): '''Extrace the raw -I, -D, and -U flags and put them into defines and includes as needed.''' newCFLAGS = [] for flag in cflags: if flag[:2] == '-I': includes.append(flag[2:]) elif flag[:2] == '-D': flag = flag[2:] if flag.find('=') == -1: defines.append( (flag, None) ) else:... | 1e52188741389278cd99abf79218162c87024ba3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/1e52188741389278cd99abf79218162c87024ba3/setup.py |
'''Extrace the -L and -l flags and put them in libdirs and libs as needed''' | '''Extract the -L and -l flags and put them in libdirs and libs as needed''' | def adjustLFLAGS(lfags, libdirs, libs): '''Extrace the -L and -l flags and put them in libdirs and libs as needed''' newLFLAGS = [] for flag in lflags: if flag[:2] == '-L': libdirs.append(flag[2:]) elif flag[:2] == '-l': libs.append(flag[2:]) else: newLFLAGS.append(flag) return newLFLAGS | 1e52188741389278cd99abf79218162c87024ba3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/1e52188741389278cd99abf79218162c87024ba3/setup.py |
opj(WXDIR, 'lib', 'vc_msw' + libFlag() + 'dll'), | opj(WXDIR, 'lib', 'vc_dll', 'msw' + libFlag()), | def adjustLFLAGS(lfags, libdirs, libs): '''Extrace the -L and -l flags and put them in libdirs and libs as needed''' newLFLAGS = [] for flag in lflags: if flag[:2] == '-L': libdirs.append(flag[2:]) elif flag[:2] == '-l': libs.append(flag[2:]) else: newLFLAGS.append(flag) return newLFLAGS | 1e52188741389278cd99abf79218162c87024ba3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/1e52188741389278cd99abf79218162c87024ba3/setup.py |
libdirs = [ opj(WXDIR, 'lib', 'vc_msw' + libFlag() + 'dll') ] | libdirs = [ opj(WXDIR, 'lib', 'vc_dll') ] | def adjustLFLAGS(lfags, libdirs, libs): '''Extrace the -L and -l flags and put them in libdirs and libs as needed''' newLFLAGS = [] for flag in lflags: if flag[:2] == '-L': libdirs.append(flag[2:]) elif flag[:2] == '-l': libs.append(flag[2:]) else: newLFLAGS.append(flag) return newLFLAGS | 1e52188741389278cd99abf79218162c87024ba3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/1e52188741389278cd99abf79218162c87024ba3/setup.py |
b.SetToolTipString("This is a bitmap button with \nwx.NO_BORDER style.") | b.SetToolTipString("This is a bitmap button with \nwx.NO_BORDER style.") | def __init__(self, parent, log): wx.Panel.__init__(self, parent, -1, style=wx.NO_FULL_REPAINT_ON_RESIZE) self.log = log | 7748c15cd81f568136d8b456647f95a65f236c92 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/7748c15cd81f568136d8b456647f95a65f236c92/BitmapButton.py |
Name("test1").Caption("Pane Caption").Top()) | Name("test1").Caption("Pane Caption").Top(). CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Bottom().Position(1)) | Bottom().Position(1).CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Bottom()) | Bottom().CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Left()) | Left().CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Right()) | Right().CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Right().Row(1)) | Right().Row(1).CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Left().Layer(1)) | Left().Layer(1).CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Left().Layer(1).Position(1)) | Left().Layer(1).Position(1).CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Bottom().Layer(1)) | Bottom().Layer(1).CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Bottom().Layer(1).Position(1)) | Bottom().Layer(1).Position(1).CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Bottom().Layer(1).Position(2).Fixed()) | Bottom().Layer(1).Position(2).Fixed().CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
Dockable(False).Float().Hide()) | Dockable(False).Float().Hide().CloseButton(True).MaximizeButton(True)) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
self.Bind(wx.aui.EVT_AUI_PANEBUTTON, self.OnPaneButton) | self.Bind(wx.aui.EVT_AUI_PANE_CLOSE, self.OnPaneClose) | def __init__(self, parent, id=-1, title="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE | wx.SUNKEN_BORDER | wx.CLIP_CHILDREN): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
def OnPaneButton(self, event): | def OnPaneClose(self, event): | def OnPaneButton(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
wx.YES_NO | wx.NO_DEFAULT | wx.CANCEL | wx.ICON_QUESTION) | wx.YES_NO | wx.NO_DEFAULT | wx.ICON_QUESTION) | def OnPaneButton(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
dlg.Destroy() return | event.Veto() | def OnPaneButton(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
event.Skip() | def OnPaneButton(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py | |
def OnCreateTree(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py | ||
Name("Test").Caption("Tree Control"). | Caption("Tree Control"). | def OnCreateTree(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
FloatingSize(wx.Size(150, 300))) | FloatingSize(wx.Size(150, 300)).CloseButton(True).MaximizeButton(True)) | def OnCreateTree(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
def OnCreateGrid(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py | ||
Name("Test").Caption("Grid"). | Caption("Grid"). | def OnCreateGrid(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
FloatingSize(wx.Size(300, 200))) | FloatingSize(wx.Size(300, 200)).CloseButton(True).MaximizeButton(True)) | def OnCreateGrid(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
def OnCreateHTML(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py | ||
Name("Test").Caption("HTML Content"). | Caption("HTML Content"). | def OnCreateHTML(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
FloatingSize(wx.Size(300, 200))) | FloatingSize(wx.Size(300, 200)).CloseButton(True).MaximizeButton(True)) | def OnCreateHTML(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
def OnCreateText(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py | ||
Name("Test").Caption("Text Control"). Float().FloatingPosition(self.GetStartPosition())) | Caption("Text Control"). Float().FloatingPosition(self.GetStartPosition()). CloseButton(True).MaximizeButton(True)) | def OnCreateText(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
def OnCreateSizeReport(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py | ||
Name("Test").Caption("Client Size Reporter"). Float().FloatingPosition(self.GetStartPosition())) | Caption("Client Size Reporter"). Float().FloatingPosition(self.GetStartPosition()). CloseButton(True).MaximizeButton(True)) | def OnCreateSizeReport(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
self._border_size.SetValue(frame.GetDockArt().GetMetric(wx.aui.AUI_ART_PANE_BORDER_SIZE)) self._sash_size.SetValue(frame.GetDockArt().GetMetric(wx.aui.AUI_ART_SASH_SIZE)) self._caption_size.SetValue(frame.GetDockArt().GetMetric(wx.aui.AUI_ART_CAPTION_SIZE)) | self._border_size.SetValue(frame.GetDockArt().GetMetric(wx.aui.AUI_DOCKART_PANE_BORDER_SIZE)) self._sash_size.SetValue(frame.GetDockArt().GetMetric(wx.aui.AUI_DOCKART_SASH_SIZE)) self._caption_size.SetValue(frame.GetDockArt().GetMetric(wx.aui.AUI_DOCKART_CAPTION_SIZE)) | def __init__(self, parent, frame): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) | bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_BACKGROUND_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) | cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_INACTIVE_CAPTION_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
capgrad = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR) | capgrad = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
captxt = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR) | captxt = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
acap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_ACTIVE_CAPTION_COLOUR) | acap = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_ACTIVE_CAPTION_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
acapgrad = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR) | acapgrad = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
acaptxt = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR) | acaptxt = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
sash = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_SASH_COLOUR) | sash = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_SASH_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
border = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BORDER_COLOUR) | border = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_BORDER_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
gripper = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_GRIPPER_COLOUR) | gripper = self._frame.GetDockArt().GetColour(wx.aui.AUI_DOCKART_GRIPPER_COLOUR) | def UpdateColors(self): bk = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_BACKGROUND_COLOUR) self._background_color.SetBitmapLabel(self.CreateColorBitmap(bk)) cap = self._frame.GetDockArt().GetColour(wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR) self._inactive_caption_color.SetBitmapLabel(self.CreateColorBitmap(cap)) ... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
self._frame.GetDockArt().SetMetric(wx.aui.AUI_ART_PANE_BORDER_SIZE, | self._frame.GetDockArt().SetMetric(wx.aui.AUI_DOCKART_PANE_BORDER_SIZE, | def OnPaneBorderSize(self, event): self._frame.GetDockArt().SetMetric(wx.aui.AUI_ART_PANE_BORDER_SIZE, event.GetInt()) self._frame.DoUpdate() | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
self._frame.GetDockArt().SetMetric(wx.aui.AUI_ART_SASH_SIZE, | self._frame.GetDockArt().SetMetric(wx.aui.AUI_DOCKART_SASH_SIZE, | def OnSashSize(self, event): | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
self._frame.GetDockArt().SetMetric(wx.aui.AUI_ART_CAPTION_SIZE, | self._frame.GetDockArt().SetMetric(wx.aui.AUI_DOCKART_CAPTION_SIZE, | def OnCaptionSize(self, event): self._frame.GetDockArt().SetMetric(wx.aui.AUI_ART_CAPTION_SIZE, event.GetInt()) self._frame.DoUpdate() | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_BACKGROUND_COLOUR | var = wx.aui.AUI_DOCKART_BACKGROUND_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_SASH_COLOUR | var = wx.aui.AUI_DOCKART_SASH_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_INACTIVE_CAPTION_COLOUR | var = wx.aui.AUI_DOCKART_INACTIVE_CAPTION_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR | var = wx.aui.AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR | var = wx.aui.AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_ACTIVE_CAPTION_COLOUR | var = wx.aui.AUI_DOCKART_ACTIVE_CAPTION_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR | var = wx.aui.AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR | var = wx.aui.AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_BORDER_COLOUR | var = wx.aui.AUI_DOCKART_BORDER_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
var = wx.aui.AUI_ART_GRIPPER_COLOUR | var = wx.aui.AUI_DOCKART_GRIPPER_COLOUR | def OnSetColor(self, event): dlg = wx.ColourDialog(self._frame) dlg.SetTitle("Color Picker") if dlg.ShowModal() != wx.ID_OK: return var = 0 if event.GetId() == ID_BackgroundColor: var = wx.aui.AUI_ART_BACKGROUND_COLOUR elif event.GetId() == ID_SashColor: var = wx.aui.AUI_ART_SASH_COLOUR elif event.GetId() == ID_Ina... | de824c0c9cec70a6369d011fb635c8ba12bdacea /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/de824c0c9cec70a6369d011fb635c8ba12bdacea/AUI_DockingWindowMgr.py |
col2 = (pc.HasFlag(FNB_BOTTOM) and [pc._pParent.GetGradientColourTo()] or [pc._pParent.GetGradientColourFrom()])[0] col1 = (pc.HasFlag(FNB_BOTTOM) and [pc._pParent.GetGradientColourFrom()] or [pc._pParent.GetGradientColourTo()])[0] | col2 = pc._pParent.GetGradientColourTo() col1 = pc._pParent.GetGradientColourFrom() | def FillVC8GradientColour(self, pageContainer, dc, tabPoints, bSelectedTab, tabIdx): """ Fills a tab with a gradient shading. """ | a9b4d1ec97a4d73a744e750101efc3c7f23e7939 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a9b4d1ec97a4d73a744e750101efc3c7f23e7939/flatnotebook.py |
metadata_file = 'addon.info' if os.path.exists(metadata_file): import wx import email fields = email.message_from_string(open(metadata_file).read()) config = wx.Config("wxaddons-receipts") config.SetPath(fields['name']) for field in fields._headers: config.Write(field[0], field[1]) | import wx config = wx.Config("wxaddons-receipts") config.SetPath(self.distribution.get_name()) config.Write("Version", str(self.distribution.get_version())) config.Write("Summary", self.distribution.get_description()) config.Write("Home-page", self.distribution.get_url()) config.Write("Author", self.distribution.ge... | def run(self): result = distutils.command.install.install.run(self) metadata_file = 'addon.info' if os.path.exists(metadata_file): import wx import email fields = email.message_from_string(open(metadata_file).read()) config = wx.Config("wxaddons-receipts") config.SetPath(fields['name']) for field in fields._headers: c... | 30bb87ad002721f0a73aca02b29b21ac60d19306 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/30bb87ad002721f0a73aca02b29b21ac60d19306/setup.py |
OnMenuCommand or any place where you know the view must be active, and | any place where you know the view must be active, and | def Activate(self, activate=True): """ Call this from your view frame's OnActivate member to tell the framework which view is currently active. If your windowing system doesn't call OnActivate, you may need to call this function from OnMenuCommand or any place where you know the view must be active, and the framework w... | 5e06d749ed2e8fe82bf058e66695cd4a96e450da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5e06d749ed2e8fe82bf058e66695cd4a96e450da/docview.py |
its OnActivate member and from its OnMenuCommand member. | its OnActivate member. | def Activate(self, activate=True): """ Call this from your view frame's OnActivate member to tell the framework which view is currently active. If your windowing system doesn't call OnActivate, you may need to call this function from OnMenuCommand or any place where you know the view must be active, and the framework w... | 5e06d749ed2e8fe82bf058e66695cd4a96e450da /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5e06d749ed2e8fe82bf058e66695cd4a96e450da/docview.py |
button based on the label and bezel size.""" | button based on the label size.""" | def DoGetBestSize(self): """Overridden base class virtual. Determines the best size of the button based on the label and bezel size.""" label = self.GetLabel() maxWidth = totalHeight = 0 for line in label.split('\n'): if line == '': w, h = self.GetTextExtent('W') # empty lines have height too else: w, h = self.GetTex... | 33b44316a8c2924a07eb63b892eb48b3e73a7781 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/33b44316a8c2924a07eb63b892eb48b3e73a7781/stattext.py |
`AddFoldPanel`. Then use the AdddFoldPanelWindow` to add | `AddFoldPanel`. Then use the `AdddFoldPanelWindow` to add | def RedrawIconBitmap(self): """ Redraws the icons (if they exists). """ | b82f68a95b19519e472b69190af41a9e48bcf92d /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/b82f68a95b19519e472b69190af41a9e48bcf92d/foldpanelbar.py |
dlg = wxFontDialog(frame) | data = wxFontData() dlg = wxFontDialog(frame, data) | def runTest(frame, nb, log): dlg = wxFontDialog(frame) if dlg.ShowModal() == wxID_OK: data = dlg.GetFontData() font = data.GetChosenFont() log.WriteText('You selected: "%s", %d points, color %s\n' % (font.GetFaceName(), font.GetPointSize(), data.GetColour().Get())) dlg.Destroy() | 0c3d4bfdcfa2c0abb8231fdf20c0d705dffbedc9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/0c3d4bfdcfa2c0abb8231fdf20c0d705dffbedc9/wxFontDialog.py |
wxFontDialog(wxWindow* parent, wxFontData* data = NULL) | wxFontDialog(wxWindow* parent, wxFontData* data) | def runTest(frame, nb, log): dlg = wxFontDialog(frame) if dlg.ShowModal() == wxID_OK: data = dlg.GetFontData() font = data.GetChosenFont() log.WriteText('You selected: "%s", %d points, color %s\n' % (font.GetFaceName(), font.GetPointSize(), data.GetColour().Get())) dlg.Destroy() | 0c3d4bfdcfa2c0abb8231fdf20c0d705dffbedc9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/0c3d4bfdcfa2c0abb8231fdf20c0d705dffbedc9/wxFontDialog.py |
Constructor. Pass a parent window, and optionally a pointer to a block of font data, which will be copied to the font dialog's font data. | Constructor. Pass a parent window and a font data object, which will be copied to the font dialog's font data. | def runTest(frame, nb, log): dlg = wxFontDialog(frame) if dlg.ShowModal() == wxID_OK: data = dlg.GetFontData() font = data.GetChosenFont() log.WriteText('You selected: "%s", %d points, color %s\n' % (font.GetFaceName(), font.GetPointSize(), data.GetColour().Get())) dlg.Destroy() | 0c3d4bfdcfa2c0abb8231fdf20c0d705dffbedc9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/0c3d4bfdcfa2c0abb8231fdf20c0d705dffbedc9/wxFontDialog.py |
splitter = wxSplitterWindow(self, -1) splitter2 = wxSplitterWindow(splitter, -1) | if _useSplitter: splitter = wxSplitterWindow(self, -1) if _useNestedSplitter: splitter2 = wxSplitterWindow(splitter, -1) logParent = nbParent = splitter2 else: nbParent = splitter logParent = wxFrame(self, -1, "wxPython Demo: log window", (0,0), (500, 150)) logParent.Show(true) else: nbParent = self logParent = wxFram... | def __init__(self, parent, id, title): wxFrame.__init__(self, parent, -1, title, size = (725, 550)) | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py |
tID = wxNewId() self.treeMap = {} self.tree = wxTreeCtrl(splitter, tID) root = self.tree.AddRoot("Overview") for item in _treeList: child = self.tree.AppendItem(root, item[0]) for childItem in item[1]: theDemo = self.tree.AppendItem(child, childItem) self.treeMap[childItem] = theDemo self.tree.Expand(root) EVT_TREE_IT... | if _useSplitter: tID = wxNewId() self.treeMap = {} self.tree = wxTreeCtrl(splitter, tID) root = self.tree.AddRoot("Overview") for item in _treeList: child = self.tree.AppendItem(root, item[0]) for childItem in item[1]: theDemo = self.tree.AppendItem(child, childItem) self.treeMap[childItem] = theDemo self.tree.Expand(... | def __init__(self, parent, id, title): wxFrame.__init__(self, parent, -1, title, size = (725, 550)) | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py |
self.nb = wxNotebook(splitter2, -1) | self.nb = wxNotebook(nbParent, -1) | def __init__(self, parent, id, title): wxFrame.__init__(self, parent, -1, title, size = (725, 550)) | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py |
self.log = wxTextCtrl(splitter2, -1, | self.log = wxTextCtrl(logParent, -1, | def __init__(self, parent, id, title): wxFrame.__init__(self, parent, -1, title, size = (725, 550)) | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py |
splitter.SplitVertically(self.tree, splitter2) splitter.SetSashPosition(180, true) splitter.SetMinimumPaneSize(20) splitter2.SplitHorizontally(self.nb, self.log) splitter2.SetSashPosition(360, true) splitter2.SetMinimumPaneSize(20) | if _useSplitter: if _useNestedSplitter: splitter2.SplitHorizontally(self.nb, self.log) splitter2.SetSashPosition(360, true) splitter2.SetMinimumPaneSize(20) splitter.SplitVertically(self.tree, splitter2) else: splitter.SplitVertically(self.tree, self.nb) splitter.SetSashPosition(180, true) splitter.SetMinimumPaneSize... | def __init__(self, parent, id, title): wxFrame.__init__(self, parent, -1, title, size = (725, 550)) | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py |
self.tree.SelectItem(root) | if _useSplitter: self.tree.SelectItem(root) | def __init__(self, parent, id, title): wxFrame.__init__(self, parent, -1, title, size = (725, 550)) | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py |
if selectedDemo: | if selectedDemo and _useSplitter: | def __init__(self, parent, id, title): wxFrame.__init__(self, parent, -1, title, size = (725, 550)) | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py |
item = event.GetItem() itemText = self.tree.GetItemText(item) | def OnSelChanged(self, event): if self.dying: return | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py | |
self.nb.SetSelection(2) | def OnSelChanged(self, event): if self.dying: return | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py | |
try: selectedDemo = self.treeMap[self.mainmenu.GetLabel(event.GetId())] except: selectedDemo = None if selectedDemo: self.tree.SelectItem(selectedDemo) self.tree.EnsureVisible(selectedDemo) | if _useSplitter: try: selectedDemo = self.treeMap[self.mainmenu.GetLabel(event.GetId())] except: selectedDemo = None if selectedDemo: self.tree.SelectItem(selectedDemo) self.tree.EnsureVisible(selectedDemo) else: self.RunDemo(self.mainmenu.GetLabel(event.GetId())) | def OnDemoMenu(self, event): try: selectedDemo = self.treeMap[self.mainmenu.GetLabel(event.GetId())] except: selectedDemo = None if selectedDemo: self.tree.SelectItem(selectedDemo) self.tree.EnsureVisible(selectedDemo) | 5a7823f5999fdcaec5b43d18c6a5f299654e5492 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5a7823f5999fdcaec5b43d18c6a5f299654e5492/Main.py |
dc.SetTextForeground(self.GetForegroundColour()) | if self.IsEnabled(): dc.SetTextForeground(self.GetForegroundColour()) else: dc.SetTextForeground(wx.SystemSettings.GetColour(wx.SYS_COLOUR_GRAYTEXT)) | def OnPaint(self, event): if BUFFERED: dc = wx.BufferedPaintDC(self) else: dc = wx.PaintDC(self) width, height = self.GetClientSize() if not width or not height: return | edd13c9d8a9a4493d6883e55248c5bc6871835b7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/edd13c9d8a9a4493d6883e55248c5bc6871835b7/stattext.py |
def RecalcSizes(self): # get current dimensions, for performance myWidth = self.size.width myHeight = self.size.height | 34e5bea57399f535aaece163f6b9b0cc3fd0c4f1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/34e5bea57399f535aaece163f6b9b0cc3fd0c4f1/box.py | ||
self._constraintingObject = constraining | self._constrainingObject = constraining | def __init__(self, type, constraining, constrained): self._xSpacing = 0.0 self._ySpacing = 0.0 | 14fe087a0cebfafb2bfa7a39337e9457006daf40 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/14fe087a0cebfafb2bfa7a39337e9457006daf40/_composit.py |
maxWidth, maxHeight = self._constraintingObject.GetBoundingBoxMax() minWidth, minHeight = self._constraintingObject.GetBoundingBoxMin() x = self._constraintingObject.GetX() y = self._constraintingObject.GetY() dc = wx.ClientDC(self._constraintingObject.GetCanvas()) self._constraintingObject.GetCanvas().PrepareDC(dc) | maxWidth, maxHeight = self._constrainingObject.GetBoundingBoxMax() minWidth, minHeight = self._constrainingObject.GetBoundingBoxMin() x = self._constrainingObject.GetX() y = self._constrainingObject.GetY() dc = wx.ClientDC(self._constrainingObject.GetCanvas()) self._constrainingObject.GetCanvas().PrepareDC(dc) | def Evaluate(self): """Evaluate this constraint and return TRUE if anything changed.""" maxWidth, maxHeight = self._constraintingObject.GetBoundingBoxMax() minWidth, minHeight = self._constraintingObject.GetBoundingBoxMin() x = self._constraintingObject.GetX() y = self._constraintingObject.GetY() | 14fe087a0cebfafb2bfa7a39337e9457006daf40 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/14fe087a0cebfafb2bfa7a39337e9457006daf40/_composit.py |
'CORE_ONLY', 'USE_SWIG', 'IN_CVS_TREE', 'UNICODE', | 'CORE_ONLY', 'USE_SWIG', 'IN_CVS_TREE', 'UNICODE', 'UNDEF_NDEBUG' | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | 5c8e1089c708816465482a6dc0100b686c4f8104 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5c8e1089c708816465482a6dc0100b686c4f8104/setup.py |
for option in ['WX_CONFIG', 'WXDLLVER', ]: | for option in ['WX_CONFIG', 'WXDLLVER', 'BUILD_BASE']: | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | 5c8e1089c708816465482a6dc0100b686c4f8104 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5c8e1089c708816465482a6dc0100b686c4f8104/setup.py |
if sources[0].isspace(): prefix=' ' if sources[-1].isspace(): suffix=' ' | if sources[0].isspace(): prf=' ' if sources[-1].isspace(): suf=' ' | def callback(cond, sources): prf = suf = '' if sources[0].isspace(): prefix=' ' if sources[-1].isspace(): suffix=' ' retval = [] for s in sources.split(): if s.endswith('.h'): retval.append(s) return '%s%s%s' % (prf, ' '.join(retval), suf) | 5d38306bc2d2c8329cc3408e227cf3c01feaac42 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5d38306bc2d2c8329cc3408e227cf3c01feaac42/wxwin.py |
def GetItem(self, *_args, **_kwargs): | def GetColumn(self, *_args, **_kwargs): | def GetItem(self, *_args, **_kwargs): val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs) if val is not None: val.thisown = 1 return val | e4ed5de1fe1001ee56d7edcadc839e2db1831e77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e4ed5de1fe1001ee56d7edcadc839e2db1831e77/controls2.py |
val.thisown = 1 | if val is not None: val.thisown = 1 | def GetItem(self, *_args, **_kwargs): val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs) val.thisown = 1 return val | e4ed5de1fe1001ee56d7edcadc839e2db1831e77 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e4ed5de1fe1001ee56d7edcadc839e2db1831e77/controls2.py |
mask = wxMaskColour(bmp, wxBLUE) bmp.SetMask(mask) | def __init__(self, parent, log): wxPanel.__init__(self, parent, -1) self.log = log | 990416e0bd9fc0eb013165e1d164e8e6df560f32 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/990416e0bd9fc0eb013165e1d164e8e6df560f32/wxButton.py | |
attributes += ['__bases__', '__class__', '__dict__', '__name__', 'func_closure', 'func_code', 'func_defaults', 'func_dict', 'func_doc', 'func_globals', 'func_name'] | special_attrs = ['__bases__', '__class__', '__dict__', '__name__', 'func_closure', 'func_code', 'func_defaults', 'func_dict', 'func_doc', 'func_globals', 'func_name'] attributes += [attr for attr in special_attrs \ if hasattr(object, attr)] | def getAttributeNames(object, includeMagic=1, includeSingle=1, includeDouble=1): """Return list of unique attributes, including inherited, for object.""" attributes = [] dict = {} if not hasattrAlwaysReturnsTrue(object): # Add some attributes that don't always get picked up. If # they don't apply, they'll get filtered... | 8d9be42a2821ffed248db455c4976a079e2fe2cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/8d9be42a2821ffed248db455c4976a079e2fe2cb/introspect.py |
for attrlist in attrdict.values(): attributes += attrlist | object_dir = dir(object) for (str_obj, technique, count), attrlist in attrdict.items(): if str(object) == str_obj and technique == 'dir': attributes += attrlist else: attributes += [attr for attr in attrlist \ if attr not in object_dir and hasattr(object, attr)] | def getAttributeNames(object, includeMagic=1, includeSingle=1, includeDouble=1): """Return list of unique attributes, including inherited, for object.""" attributes = [] dict = {} if not hasattrAlwaysReturnsTrue(object): # Add some attributes that don't always get picked up. If # they don't apply, they'll get filtered... | 8d9be42a2821ffed248db455c4976a079e2fe2cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/8d9be42a2821ffed248db455c4976a079e2fe2cb/introspect.py |
attributes = [attribute for attribute in attributes \ if hasattr(object, attribute)] | def getAttributeNames(object, includeMagic=1, includeSingle=1, includeDouble=1): """Return list of unique attributes, including inherited, for object.""" attributes = [] dict = {} if not hasattrAlwaysReturnsTrue(object): # Add some attributes that don't always get picked up. If # they don't apply, they'll get filtered... | 8d9be42a2821ffed248db455c4976a079e2fe2cb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/8d9be42a2821ffed248db455c4976a079e2fe2cb/introspect.py | |
region.ClearText() | def AddText(self, string): """Add a line of text to the shape's default text region.""" if not self._regions: return | 19a4dcb8cf5f232533404ffb25f3cc33d82c3521 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/19a4dcb8cf5f232533404ffb25f3cc33d82c3521/_basic.py | |
'CORE_ONLY', 'USE_SWIG', 'IN_CVS_TREE', 'UNICODE', 'UNDEF_NDEBUG' | 'CORE_ONLY', 'USE_SWIG', 'IN_CVS_TREE', 'UNICODE', 'UNDEF_NDEBUG', | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | 5abb3306e4e321ffff5abf67de6126c614a3e652 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5abb3306e4e321ffff5abf67de6126c614a3e652/setup.py |
\x00\x00szz\xf4\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x00oID\ ATx\x9c\xed\x961\x0e\x800\x0c\x03\xcf\x88\x8f\xf1r\x9eV\x86n\xd0\xa2V*x\xb1W\ G\xcdIQ\x9c\x82Y\x02(/f)=wAs\x89\xed\xb3\xd7\x07\x15\x80\x00\xd8\x01\xec\xaa\ 9\xd0\xd9uI\xcbr@\x12\xcf\xc4I\x0e\x04\x00\xf6\x7f\xdb\xc9\x0bp\xdf\xa8\\\ \xc3\x00\x0... | \x00\x00szz\xf4\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x00qID\ ATx\x9c\xed\xd6;\n\x800\x10E\xd1{\xc5\x8d\xb9r\x97\x16\x0b\xad$\x8a\x82:\x16\ o\xda\x84pB2\x1f\x81Fa\x8c\x9c\x08\x04Z{\xcf\xa72\xbcv\xfa\xc5\x08 \x80r\x80\ \xfc\xa2\x0e\x1c\xe4\xba\xfaX\x1d\xd0\xde]S\x07\x02\xd8>\xe1wa-`\x9fQ\xe9\ \x86\x01\x0... | def getMondrianData(): return \ | b8b7987c85d55e26887a8bd57a32ccee30b1233f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/b8b7987c85d55e26887a8bd57a32ccee30b1233f/images.py |
prefix = ''.join(['../' for i in range(0,depth)]) | if type==SAMPLES_DIR: prefix = ''.join(['../' for i in range(0,depth)]) dirflags = '-DWXTOPDIR=%s../' % prefix elif type==CONTRIB_DIR: dirflags = '-DSRCDIR=../../src/%s' % dirname.split('/')[-1] dirflags += ' -DWXTOPDIR=../../../' | def onSubmakefile(type, dirname, names): bakes = [x for x in names if x.endswith('.bkl')] if len(bakes) == 0: return depth = dirname.count('/') - 2 if depth <= 0: return prefix = ''.join(['../' for i in range(0,depth)]) args = { 'all':'-DWXTOPDIR=%s../' % prefix, 'autoconf':'-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m... | 2e1a466fcba0078a8d5c0ae259fe8cb854509bb1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/2e1a466fcba0078a8d5c0ae259fe8cb854509bb1/regenMakefile.py |
'all':'-DWXTOPDIR=%s../' % prefix, | 'not_autoconf':dirflags, | def onSubmakefile(type, dirname, names): bakes = [x for x in names if x.endswith('.bkl')] if len(bakes) == 0: return depth = dirname.count('/') - 2 if depth <= 0: return prefix = ''.join(['../' for i in range(0,depth)]) args = { 'all':'-DWXTOPDIR=%s../' % prefix, 'autoconf':'-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m... | 2e1a466fcba0078a8d5c0ae259fe8cb854509bb1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/2e1a466fcba0078a8d5c0ae259fe8cb854509bb1/regenMakefile.py |
os.path.walk('../../samples', onSubmakefile, None) os.path.walk('../../contrib/build', onSubmakefile, CONTRIB_DIR) | os.path.walk(os.path.join('..','..','samples'), onSubmakefile, SAMPLES_DIR) os.path.walk(os.path.join('..','..','contrib','build'), onSubmakefile, CONTRIB_DIR) | def onSubmakefile(type, dirname, names): bakes = [x for x in names if x.endswith('.bkl')] if len(bakes) == 0: return depth = dirname.count('/') - 2 if depth <= 0: return prefix = ''.join(['../' for i in range(0,depth)]) args = { 'all':'-DWXTOPDIR=%s../' % prefix, 'autoconf':'-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m... | 2e1a466fcba0078a8d5c0ae259fe8cb854509bb1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/2e1a466fcba0078a8d5c0ae259fe8cb854509bb1/regenMakefile.py |
self.end_pos = dow + dim | self.end_pos = start_pos + dim - 1 | def SetCal(self, year, month): self.InitValues() # reset initial values | f062c0e2ee389f35fadf25c2577fb1c6179b4ce2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/f062c0e2ee389f35fadf25c2577fb1c6179b4ce2/calendar.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.