index int64 0 50.7k | project_path stringclasses 279
values | completion_path stringlengths 57 199 | signature_postion stringlengths 3 11 | class_position stringlengths 3 11 | function_name stringlengths 1 62 | class_name stringlengths 0 55 | body_position stringlengths 3 11 | body_position_with_comments stringlengths 3 11 | masked_class stringlengths 14 8.32k | masked_class_with_comment stringlengths 14 8.32k | func_body stringlengths 9 6.72k | func_body_with_comment stringlengths 9 6.72k | len_func_body int64 1 643 | len_input int64 10 2.02k | len_output int64 4 1.9k | total int64 20 2.05k | file_code stringlengths 14 442k | file_code_with_comment stringlengths 14 442k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
41,739 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/ToolTip.py | 54,55 | 1,72 | runTest | 55,62 | 55,62 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.tt1 = wx.ToolTip("This is a wx.ToolTip.")
self.tt2 = wx.ToolTip("This is\na multi-line\nToolTip.")
s... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.tt1 = wx.ToolTip("This is a wx.ToolTip.")
self.tt2 = wx.ToolTip("This is\na multi-line\nToolTip.")
s... | win = TestPanel(nb, log)
return win
#---------------------------------------------------------------------------
| win = TestPanel(nb, log)
return win
#---------------------------------------------------------------------------
| 7 | 1,051 | 30 | 1,081 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.tt1 = wx.ToolTip("This is a wx.ToolTip.")
self.tt2 = wx.ToolTip("This is\na multi-line\nToolTip.")
s... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.tt1 = wx.ToolTip("This is a wx.ToolTip.")
self.tt2 = wx.ToolTip("This is\na multi-line\nToolTip.")
s... | |
41,740 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/ToolTip.py | 47,48 | 7,54 | OnDisableToolTips | TestPanel | 48,50 | 48,50 | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.tt1 = wx.ToolTip("This is a wx.ToolTip.")
self.tt2 = wx.ToolTip("This is\na multi-line\nToolTip.")
self.tt3 = wx.ToolTip("Disabled ToolTips.")
self.tt4... | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.tt1 = wx.ToolTip("This is a wx.ToolTip.")
self.tt2 = wx.ToolTip("This is\na multi-line\nToolTip.")
self.tt3 = wx.ToolTip("Disabled ToolTips.")
self.tt4... | wx.ToolTip.Enable(False)
| wx.ToolTip.Enable(False)
| 1 | 932 | 14 | 946 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.tt1 = wx.ToolTip("This is a wx.ToolTip.")
self.tt2 = wx.ToolTip("This is\na multi-line\nToolTip.")
s... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.tt1 = wx.ToolTip("This is a wx.ToolTip.")
self.tt2 = wx.ToolTip("This is\na multi-line\nToolTip.")
s... |
41,741 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/Toolbook.py | 87,88 | 1,112 | runTest | 88,94 | 88,94 | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", #"Cyan", "Dark Grey", "Dark Green",
#"Steel Blue",
]
#---------------------------------------------------... | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", #"Cyan", "Dark Grey", "Dark Green",
#"Steel Blue",
]
#---------------------------------------------------... | testWin = TestTB(nb, -1, log)
return testWin
#----------------------------------------------------------------------------
| testWin = TestTB(nb, -1, log)
return testWin
#----------------------------------------------------------------------------
| 8 | 971 | 33 | 1,004 | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", #"Cyan", "Dark Grey", "Dark Green",
#"Steel Blue",
]
#---------------------------------------------------... | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", #"Cyan", "Dark Grey", "Dark Green",
#"Steel Blue",
]
#---------------------------------------------------... | |
41,742 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/Toolbook.py | 64,65 | 24,87 | OnCPSize | TestTB | 65,67 | 65,67 | class TestTB(wx.Toolbook):
def __init__(self, parent, id, log):
wx.Toolbook.__init__(self, parent, id, style=
wx.BK_DEFAULT
#wx.BK_TOP
#wx.BK_BOTTOM
#wx.BK_LEFT
#w... | class TestTB(wx.Toolbook):
def __init__(self, parent, id, log):
wx.Toolbook.__init__(self, parent, id, style=
wx.BK_DEFAULT
#wx.BK_TOP
#wx.BK_BOTTOM
#wx.BK_LEFT
#w... | win.SetPosition((0,0))
win.SetSize(evt.GetSize())
| win.SetPosition((0,0))
win.SetSize(evt.GetSize())
| 2 | 673 | 26 | 699 | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", #"Cyan", "Dark Grey", "Dark Green",
#"Steel Blue",
]
#---------------------------------------------------... | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", #"Cyan", "Dark Grey", "Dark Green",
#"Steel Blue",
]
#---------------------------------------------------... |
41,744 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/TreeCtrl.py | 14,15 | 9,24 | OnCompareItems | MyTreeCtrl | 15,24 | 15,24 | class MyTreeCtrl(wx.TreeCtrl):
def __init__(self, parent, id, pos, size, style, log):
wx.TreeCtrl.__init__(self, parent, id, pos, size, style)
self.log = log
def OnCompareItems(self, item1, item2):
FILL_FUNC_BODY | class MyTreeCtrl(wx.TreeCtrl):
def __init__(self, parent, id, pos, size, style, log):
wx.TreeCtrl.__init__(self, parent, id, pos, size, style)
self.log = log
def OnCompareItems(self, item1, item2):
FILL_FUNC_BODY | t1 = self.GetItemText(item1)
t2 = self.GetItemText(item2)
self.log.WriteText('compare: ' + t1 + ' <> ' + t2 + '\n')
if t1 < t2: return -1
if t1 == t2: return 0
return 1
#---------------------------------------------------------------------------
| t1 = self.GetItemText(item1)
t2 = self.GetItemText(item2)
self.log.WriteText('compare: ' + t1 + ' <> ' + t2 + '\n')
if t1 < t2: return -1
if t1 == t2: return 0
return 1
#---------------------------------------------------------------------------
| 33 | 85 | 99 | 184 | #!/usr/bin/env python
import string
import wx
import images
#---------------------------------------------------------------------------
class MyTreeCtrl(wx.TreeCtrl):
def __init__(self, parent, id, pos, size, style, log):
wx.TreeCtrl.__init__(self, parent, id, pos, size, style)
self.log = log... | #!/usr/bin/env python
import string
import wx
import images
#---------------------------------------------------------------------------
class MyTreeCtrl(wx.TreeCtrl):
def __init__(self, parent, id, pos, size, style, log):
wx.TreeCtrl.__init__(self, parent, id, pos, size, style)
self.log = log... |
41,746 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/TreeListCtrl.py | 98,99 | 1,122 | runTest | 99,106 | 99,106 |
import wx
import wx.lib.gizmos as gizmos # Formerly wx.gizmos in Classic
import images
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.Bind(wx.EVT_... |
import wx
import wx.lib.gizmos as gizmos # Formerly wx.gizmos in Classic
import images
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.Bind(wx.EVT_... | win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
| win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
| 7 | 1,493 | 30 | 1,523 |
import wx
import wx.lib.gizmos as gizmos # Formerly wx.gizmos in Classic
import images
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.Bind(wx.EVT_... |
import wx
import wx.lib.gizmos as gizmos # Formerly wx.gizmos in Classic
import images
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.Bind(wx.EVT_... | |
41,747 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/TreeListCtrl.py | 85,86 | 9,98 | OnRightUp | TestPanel | 86,92 | 86,92 | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.Bind(wx.EVT_SIZE, self.OnSize)
self.tree = gizmos.TreeListCtrl(self, -1, style=0, agwStyle=
gizmos.TR_DEFAULT_STYLE
... | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.Bind(wx.EVT_SIZE, self.OnSize)
self.tree = gizmos.TreeListCtrl(self, -1, style=0, agwStyle=
gizmos.TR_DEFAULT_STYLE
... | pos = evt.GetPosition()
item, flags, col = self.tree.HitTest(pos)
if item:
self.log.write('Flags: %s, Col:%s, Text: %s' %
(flags, col, self.tree.GetItemText(item, col)))
| pos = evt.GetPosition()
item, flags, col = self.tree.HitTest(pos)
if item:
self.log.write('Flags: %s, Col:%s, Text: %s' %
(flags, col, self.tree.GetItemText(item, col)))
| 20 | 1,231 | 82 | 1,313 |
import wx
import wx.lib.gizmos as gizmos # Formerly wx.gizmos in Classic
import images
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.Bind(wx.EVT_... |
import wx
import wx.lib.gizmos as gizmos # Formerly wx.gizmos in Classic
import images
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.Bind(wx.EVT_... |
41,748 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/Treebook.py | 96,97 | 1,118 | runTest | 97,103 | 97,103 | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", "Cyan", "Dark Grey", "Dark Green",
"Steel Blue",
]
#-----------------------------------------------------... | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", "Cyan", "Dark Grey", "Dark Green",
"Steel Blue",
]
#-----------------------------------------------------... | testWin = TestTB(nb, -1, log)
return testWin
#----------------------------------------------------------------------------
| testWin = TestTB(nb, -1, log)
return testWin
#----------------------------------------------------------------------------
| 8 | 1,094 | 33 | 1,127 | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", "Cyan", "Dark Grey", "Dark Green",
"Steel Blue",
]
#-----------------------------------------------------... | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", "Cyan", "Dark Grey", "Dark Green",
"Steel Blue",
]
#-----------------------------------------------------... | |
41,749 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/Treebook.py | 80,81 | 24,96 | OnPageChanged | TestTB | 81,87 | 81,87 | class TestTB(wx.Treebook):
def __init__(self, parent, id, log):
wx.Treebook.__init__(self, parent, id, style=
wx.BK_DEFAULT
#wx.BK_TOP
#wx.BK_BOTTOM
#wx.BK_LEFT
#w... | class TestTB(wx.Treebook):
def __init__(self, parent, id, log):
wx.Treebook.__init__(self, parent, id, style=
wx.BK_DEFAULT
#wx.BK_TOP
#wx.BK_BOTTOM
#wx.BK_LEFT
#w... | old = event.GetOldSelection()
new = event.GetSelection()
sel = self.GetSelection()
self.log.write('OnPageChanged, old:%d, new:%d, sel:%d\n' % (old, new, sel))
event.Skip()
| old = event.GetOldSelection()
new = event.GetSelection()
sel = self.GetSelection()
self.log.write('OnPageChanged, old:%d, new:%d, sel:%d\n' % (old, new, sel))
event.Skip()
| 18 | 752 | 79 | 831 | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", "Cyan", "Dark Grey", "Dark Green",
"Steel Blue",
]
#-----------------------------------------------------... | #!/usr/bin/env python
import wx
import ColorPanel
import images
colourList = [ "Aquamarine", "Grey", "Blue", "Blue Violet", "Brown", "Cadet Blue",
"Coral", "Wheat", "Cyan", "Dark Grey", "Dark Green",
"Steel Blue",
]
#-----------------------------------------------------... |
41,750 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/UIActionSimulator.py | 119,120 | 1,152 | runTest | 120,137 | 120,137 | #!/usr/bin/env python
import wx
import wx.lib.buttons as buttons
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.recordingKeys = False
self.... | #!/usr/bin/env python
import wx
import wx.lib.buttons as buttons
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.recordingKeys = False
self.... | try:
uisim = wx.UIActionSimulator()
win = TestPanel(nb, log)
return win
except NotImplementedError:
from wx.lib.msgpanel import MessagePanel
win = MessagePanel(nb,
"This build of wxWidgets does not include the \n"
"wx.UIActionSimulator implemen... | try:
uisim = wx.UIActionSimulator()
win = TestPanel(nb, log)
return win
except NotImplementedError:
from wx.lib.msgpanel import MessagePanel
win = MessagePanel(nb,
"This build of wxWidgets does not include the \n"
"wx.UIActionSimulator implemen... | 35 | 1,396 | 133 | 1,529 | #!/usr/bin/env python
import wx
import wx.lib.buttons as buttons
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.recordingKeys = False
self.... | #!/usr/bin/env python
import wx
import wx.lib.buttons as buttons
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.recordingKeys = False
self.... | |
41,751 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/UIActionSimulator.py | 54,55 | 8,119 | OnToggleRecordKeys | TestPanel | 55,68 | 55,68 | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.recordingKeys = False
self.stopwatchKeys = wx.StopWatch()
self.uisim = wx.UIActionSimulator()
# create widgets and bind events
keyLabel = wx.... | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.recordingKeys = False
self.stopwatchKeys = wx.StopWatch()
self.uisim = wx.UIActionSimulator()
# create widgets and bind events
keyLabel = wx.... | self.recordingKeys = not self.recordingKeys
if self.recordingKeys:
self.recordBtn.SetLabel('Recording')
self.keyEvents = list()
self.stopwatchKeys.Start()
self.playbackKeysBtn.Disable()
self.txt.Clear()
self.txt.SetFocus()
e... | self.recordingKeys = not self.recordingKeys
if self.recordingKeys:
self.recordBtn.SetLabel('Recording')
self.keyEvents = list()
self.stopwatchKeys.Start()
self.playbackKeysBtn.Disable()
self.txt.Clear()
self.txt.SetFocus()
e... | 17 | 1,113 | 130 | 1,243 | #!/usr/bin/env python
import wx
import wx.lib.buttons as buttons
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.recordingKeys = False
self.... | #!/usr/bin/env python
import wx
import wx.lib.buttons as buttons
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
self.recordingKeys = False
self.... |
41,752 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/URLDragAndDrop.py | 111,112 | 1,131 | runTest | 112,120 | 112,120 | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.dat... | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.dat... | win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
| win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
| 7 | 1,315 | 32 | 1,347 | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.dat... | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.dat... | |
41,753 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/URLDragAndDrop.py | 18,19 | 7,30 | OnData | MyURLDropTarget | 19,30 | 19,30 | class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.data)
def OnDragOver(self, x, y, d):
return wx.DragLink
def OnData(self, x, y, d):
FILL_FUNC_... | class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.data)
def OnDragOver(self, x, y, d):
return wx.DragLink
def OnData(self, x, y, d):
FILL_FUNC_... | if not self.GetData():
return wx.DragNone
url = self.data.GetURL()
self.window.AppendText(url + "\n")
return d
#----------------------------------------------------------------------
| if not self.GetData():
return wx.DragNone
url = self.data.GetURL()
self.window.AppendText(url + "\n")
return d
#----------------------------------------------------------------------
| 14 | 113 | 65 | 178 | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.dat... | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.dat... |
41,754 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/URLDragAndDrop.py | 98,99 | 30,111 | OnStartDrag2 | TestPanel | 99,111 | 99,111 | class TestPanel(wx.Panel):
def __init__(self, parent, log):
wx.Panel.__init__(self, parent, -1)
self.SetAutoLayout(True)
outsideSizer = wx.BoxSizer(wx.VERTICAL)
msg = "Drag-And-Drop of URLs"
text = wx.StaticText(self, -1, "", style=wx.ALIGN_CENTRE)
text.SetFont(wx.F... | class TestPanel(wx.Panel):
def __init__(self, parent, log):
wx.Panel.__init__(self, parent, -1)
self.SetAutoLayout(True)
outsideSizer = wx.BoxSizer(wx.VERTICAL)
msg = "Drag-And-Drop of URLs"
text = wx.StaticText(self, -1, "", style=wx.ALIGN_CENTRE)
text.SetFont(wx.F... | if evt.Dragging():
url = self.dragText2.GetValue()
data = wx.TextDataObject()
data.SetText(url)
dropSource = wx.DropSource(self.dragText2)
dropSource.SetData(data)
result = dropSource.DoDragDrop()
#---------------------------------------... | if evt.Dragging():
url = self.dragText2.GetValue()
data = wx.TextDataObject()
data.SetText(url)
dropSource = wx.DropSource(self.dragText2)
dropSource.SetData(data)
result = dropSource.DoDragDrop()
#---------------------------------------... | 17 | 975 | 100 | 1,075 | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.dat... | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class MyURLDropTarget(wx.DropTarget):
def __init__(self, window):
wx.DropTarget.__init__(self)
self.window = window
self.data = wx.URLDataObject();
self.SetDataObject(self.dat... |
41,756 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/Unicode.py | 81,82 | 44,102 | AddText | TestPanel | 82,102 | 82,102 | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
box = wx.BoxSizer(wx.VERTICAL)
font = self.GetFont()
font.SetPointSize(14)
font.SetWeight(wx.FONTWEIGHT_BOLD)
self.AddLine(box)
self.AddTe... | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
box = wx.BoxSizer(wx.VERTICAL)
font = self.GetFont()
font.SetPointSize(14)
font.SetWeight(wx.FONTWEIGHT_BOLD)
self.AddLine(box)
self.AddTe... | # create some controls
lang = wx.StaticText(self, -1, lang)
text1 = wx.StaticText(self, -1, text1)
text2 = wx.StaticText(self, -1, text2, style=wx.ALIGN_RIGHT)
if font is not None:
text1.SetFont(font)
# put them in a sizer
row = wx.BoxSizer(wx.HORIZO... | # create some controls
lang = wx.StaticText(self, -1, lang)
text1 = wx.StaticText(self, -1, text1)
text2 = wx.StaticText(self, -1, text2, style=wx.ALIGN_RIGHT)
if font is not None:
text1.SetFont(font)
# put them in a sizer
row = wx.BoxSizer(wx.HORIZO... | 54 | 488 | 225 | 713 | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
# Some unicode strings
chi_uni = (u'Python \u662f\u6700\u597d\u7684\u7de8\u7a0b\u8a9e\u8a00\uff01',
'Python is the best\nprogramming language!')
lt1_uni = (u'Pythonas yra \u017eaviausia \u0161neka',
... | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
# Some unicode strings
chi_uni = (u'Python \u662f\u6700\u597d\u7684\u7de8\u7a0b\u8a9e\u8a00\uff01',
'Python is the best\nprogramming language!')
lt1_uni = (u'Pythonas yra \u017eaviausia \u0161neka',
... |
41,758 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/Validator.py | 37,38 | 11,61 | OnChar | MyValidator | 38,61 | 38,61 | class MyValidator(wx.Validator):
def __init__(self, flag=None, pyVar=None):
wx.Validator.__init__(self)
self.flag = flag
self.Bind(wx.EVT_CHAR, self.OnChar)
def Clone(self):
return MyValidator(self.flag)
def Validate(self, win):
tc = self.GetWindow()
val = ... | class MyValidator(wx.Validator):
def __init__(self, flag=None, pyVar=None):
wx.Validator.__init__(self)
self.flag = flag
self.Bind(wx.EVT_CHAR, self.OnChar)
def Clone(self):
return MyValidator(self.flag)
def Validate(self, win):
tc = self.GetWindow()
val = ... | key = event.GetKeyCode()
if key < wx.WXK_SPACE or key == wx.WXK_DELETE or key > 255:
event.Skip()
return
if self.flag == ALPHA_ONLY and chr(key) in string.ascii_letters:
event.Skip()
return
if self.flag == DIGIT_ONLY and chr(key) in stri... | key = event.GetKeyCode()
if key < wx.WXK_SPACE or key == wx.WXK_DELETE or key > 255:
event.Skip()
return
if self.flag == ALPHA_ONLY and chr(key) in string.ascii_letters:
event.Skip()
return
if self.flag == DIGIT_ONLY and chr(key) in stri... | 59 | 216 | 202 | 418 | #!/usr/bin/env python
import string
import wx
#----------------------------------------------------------------------
ALPHA_ONLY = 1
DIGIT_ONLY = 2
class MyValidator(wx.Validator):
def __init__(self, flag=None, pyVar=None):
wx.Validator.__init__(self)
self.flag = flag
self.Bind(wx.EVT_... | #!/usr/bin/env python
import string
import wx
#----------------------------------------------------------------------
ALPHA_ONLY = 1
DIGIT_ONLY = 2
class MyValidator(wx.Validator):
def __init__(self, flag=None, pyVar=None):
wx.Validator.__init__(self)
self.flag = flag
self.Bind(wx.EVT_... |
41,759 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/Validator.py | 98,99 | 61,106 | OnDoDialog | TestValidatorPanel | 99,106 | 99,106 | class TestValidatorPanel(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent, -1)
self.SetAutoLayout(True)
VSPACE = 10
fgs = wx.FlexGridSizer(cols=2)
fgs.Add((1,1))
fgs.Add(wx.StaticText(self, -1, "These controls have validators that limit\n"
... | class TestValidatorPanel(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent, -1)
self.SetAutoLayout(True)
VSPACE = 10
fgs = wx.FlexGridSizer(cols=2)
fgs.Add((1,1))
fgs.Add(wx.StaticText(self, -1, "These controls have validators that limit\n"
... | dlg = TestValidateDialog(self)
dlg.ShowModal()
dlg.Destroy()
#----------------------------------------------------------------------
| dlg = TestValidateDialog(self)
dlg.ShowModal()
dlg.Destroy()
#----------------------------------------------------------------------
| 6 | 519 | 42 | 561 | #!/usr/bin/env python
import string
import wx
#----------------------------------------------------------------------
ALPHA_ONLY = 1
DIGIT_ONLY = 2
class MyValidator(wx.Validator):
def __init__(self, flag=None, pyVar=None):
wx.Validator.__init__(self)
self.flag = flag
self.Bind(wx.EVT_... | #!/usr/bin/env python
import string
import wx
#----------------------------------------------------------------------
ALPHA_ONLY = 1
DIGIT_ONLY = 2
class MyValidator(wx.Validator):
def __init__(self, flag=None, pyVar=None):
wx.Validator.__init__(self)
self.flag = flag
self.Bind(wx.EVT_... |
41,760 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/Validator.py | 123,124 | 106,159 | Validate | TextObjectValidator | 126,141 | 124,141 | class TextObjectValidator(wx.Validator):
""" This validator is used to ensure that the user has entered something
into the text object editor dialog's text field.
"""
def __init__(self):
""" Standard constructor.
"""
wx.Validator.__init__(self)
def Clone(self):
... | class TextObjectValidator(wx.Validator):
""" This validator is used to ensure that the user has entered something
into the text object editor dialog's text field.
"""
def __init__(self):
""" Standard constructor.
"""
wx.Validator.__init__(self)
def Clone(self):
... | textCtrl = self.GetWindow()
text = textCtrl.GetValue()
if len(text) == 0:
wx.MessageBox("A text object must contain some text!", "Error")
textCtrl.SetBackgroundColour("pink")
textCtrl.SetFocus()
textCtrl.Refresh()
return False
... | """ Validate the contents of the given text control.
"""
textCtrl = self.GetWindow()
text = textCtrl.GetValue()
if len(text) == 0:
wx.MessageBox("A text object must contain some text!", "Error")
textCtrl.SetBackgroundColour("pink")
textCtrl.Se... | 29 | 294 | 149 | 443 | #!/usr/bin/env python
import string
import wx
#----------------------------------------------------------------------
ALPHA_ONLY = 1
DIGIT_ONLY = 2
class MyValidator(wx.Validator):
def __init__(self, flag=None, pyVar=None):
wx.Validator.__init__(self)
self.flag = flag
self.Bind(wx.EVT_... | #!/usr/bin/env python
import string
import wx
#----------------------------------------------------------------------
ALPHA_ONLY = 1
DIGIT_ONLY = 2
class MyValidator(wx.Validator):
def __init__(self, flag=None, pyVar=None):
wx.Validator.__init__(self)
self.flag = flag
self.Bind(wx.EVT_... |
41,761 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/WrapSizer.py | 89,90 | 1,116 | runTest | 90,95 | 90,95 | #!/usr/bin/env python
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the u... | #!/usr/bin/env python
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the u... | win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
| win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
| 7 | 1,330 | 26 | 1,356 | #!/usr/bin/env python
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the u... | #!/usr/bin/env python
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the u... | |
41,762 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/WrapSizer.py | 79,80 | 67,89 | OnButton1 | TestPanel | 80,83 | 80,83 | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
b = wx.Button(self, -1, "Demonstrate HORIZONTAL wx.WrapSizer", (50,50))
self.Bind(wx.EVT_BUTTON, self.OnButton1, b)
b = wx.Button(self, -1, "Demonstrate VERTICAL w... | class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
b = wx.Button(self, -1, "Demonstrate HORIZONTAL wx.WrapSizer", (50,50))
self.Bind(wx.EVT_BUTTON, self.OnButton1, b)
b = wx.Button(self, -1, "Demonstrate VERTICAL w... | win = WrapSizerTest1(self, -1, "wx.WrapSizer HORIZONTAL Demo", size=(640, 480))
win.Show(True)
| win = WrapSizerTest1(self, -1, "wx.WrapSizer HORIZONTAL Demo", size=(640, 480))
win.Show(True)
| 10 | 252 | 54 | 306 | #!/usr/bin/env python
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the u... | #!/usr/bin/env python
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the u... |
41,763 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/WrapSizer.py | 24,25 | 9,50 | _makeButtons | WrapSizerTest1 | 25,39 | 25,39 | class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the upper part of the panel
pnl = wx.Panel(self)
stx = wx.StaticText(pnl, -1, "wx.WrapSizer Layout")
stx.SetFont(wx.Font(28, wx.FONTFAMILY_... | class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the upper part of the panel
pnl = wx.Panel(self)
stx = wx.StaticText(pnl, -1, "wx.WrapSizer Layout")
stx.SetFont(wx.Font(28, wx.FONTFAMILY_... | wsizer = wx.WrapSizer(orient=wx.HORIZONTAL)
for word in words:
btn = GenButton(pnl, -1, word, style=wx.BU_EXACTFIT)
wsizer.Add(btn, 0, wx.ALL, 4)
# Add a little color to make it interesting
r = random.randint(128, 255)
... | wsizer = wx.WrapSizer(orient=wx.HORIZONTAL)
for word in words:
btn = GenButton(pnl, -1, word, style=wx.BU_EXACTFIT)
wsizer.Add(btn, 0, wx.ALL, 4)
# Add a little color to make it interesting
r = random.randint(128, 255)
... | 42 | 452 | 190 | 642 | #!/usr/bin/env python
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the u... | #!/usr/bin/env python
import wx
from wx.lib.buttons import GenButton
import random
#----------------------------------------------------------------------
class WrapSizerTest1(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
# Make a title area and sizer for the u... |
41,764 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/agw/MacLargeDemo.py | 121,122 | 111,249 | DrawSubItem | MacRenderer | 123,168 | 122,168 | class MacRenderer(object):
DONE_BITMAP = None
REMAINING_BITMAP = None
def __init__(self, parent):
self.progressValue = random.randint(1, 99)
def DrawSubItem(self, dc, rect, line, highlighted, enabled):
FILL_FUNC_BODY def GetLineHeight(self):
dc = wx.MemoryDC()
dc.SelectO... | class MacRenderer(object):
DONE_BITMAP = None
REMAINING_BITMAP = None
def __init__(self, parent):
self.progressValue = random.randint(1, 99)
def DrawSubItem(self, dc, rect, line, highlighted, enabled):
"""Draw a custom progress bar using double buffering to prevent flicker"""
FILL_F... |
canvas = wx.Bitmap(rect.width, rect.height)
mdc = wx.MemoryDC()
mdc.SelectObject(canvas)
if highlighted:
mdc.SetBackground(wx.Brush(wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHT)))
mdc.SetTextForeground(wx.WHITE)
else:
mdc.SetBackground... | """Draw a custom progress bar using double buffering to prevent flicker"""
canvas = wx.Bitmap(rect.width, rect.height)
mdc = wx.MemoryDC()
mdc.SelectObject(canvas)
if highlighted:
mdc.SetBackground(wx.Brush(wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHT)))
... | 154 | 1,260 | 722 | 1,982 | #!/usr/bin/env python
import sys
import os
import wx
import random
import math
import images
import wx.lib.mixins.listctrl as listmix
from wx.lib.embeddedimage import PyEmbeddedImage
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sy... | #!/usr/bin/env python
import sys
import os
import wx
import random
import math
import images
import wx.lib.mixins.listctrl as listmix
from wx.lib.embeddedimage import PyEmbeddedImage
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sy... |
41,765 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/agw/MacLargeDemo.py | 292,293 | 257,334 | PopulateList | UltimateListCtrlPanel | 293,323 | 293,323 | class UltimateListCtrlPanel(wx.Panel):
def __init__(self, parent, log):
wx.Panel.__init__(self, parent, -1, style=wx.WANTS_CHARS)
sizer = wx.BoxSizer(wx.VERTICAL)
self.log = log
self.il = wx.ImageList(32, 32)
self.il.Add(folder.GetBitmap())
self.il.Add(movie.GetB... | class UltimateListCtrlPanel(wx.Panel):
def __init__(self, parent, log):
wx.Panel.__init__(self, parent, -1, style=wx.WANTS_CHARS)
sizer = wx.BoxSizer(wx.VERTICAL)
self.log = log
self.il = wx.ImageList(32, 32)
self.il.Add(folder.GetBitmap())
self.il.Add(movie.GetB... |
self.list.Freeze()
info = ULC.UltimateListItem()
info.Mask = wx.LIST_MASK_TEXT | wx.LIST_MASK_FORMAT
info.Align = 0
info.Text = ""
self.list.InsertColumnInfo(0, info)
info = ULC.UltimateListItem()
info.Align = wx.LIST_FORMAT_LEFT
info.Mask = wx... |
self.list.Freeze()
info = ULC.UltimateListItem()
info.Mask = wx.LIST_MASK_TEXT | wx.LIST_MASK_FORMAT
info.Align = 0
info.Text = ""
self.list.InsertColumnInfo(0, info)
info = ULC.UltimateListItem()
info.Align = wx.LIST_FORMAT_LEFT
info.Mask = wx... | 63 | 439 | 324 | 763 | #!/usr/bin/env python
import sys
import os
import wx
import random
import math
import images
import wx.lib.mixins.listctrl as listmix
from wx.lib.embeddedimage import PyEmbeddedImage
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sy... | #!/usr/bin/env python
import sys
import os
import wx
import random
import math
import images
import wx.lib.mixins.listctrl as listmix
from wx.lib.embeddedimage import PyEmbeddedImage
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sy... |
41,768 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/agw/UltimateReportDemo.py | 392,393 | 386,427 | DrawHeaderButton | UltimateHeaderRenderer | 393,418 | 393,418 | class UltimateHeaderRenderer(object):
def __init__(self, parent):
self._hover = False
self._pressed = False
def DrawHeaderButton(self, dc, rect, flags):
FILL_FUNC_BODY def GetForegroundColour(self):
if self._hover:
return wx.Colour(30,30,30)
else:
re... | class UltimateHeaderRenderer(object):
def __init__(self, parent):
self._hover = False
self._pressed = False
def DrawHeaderButton(self, dc, rect, flags):
FILL_FUNC_BODY def GetForegroundColour(self):
if self._hover:
return wx.Colour(30,30,30)
else:
re... |
self._hover = False
self._pressed = False
color = wx.Colour(150,150,150)
if flags & wx.CONTROL_DISABLED:
color = wx.Colour(wx.WHITE)
elif flags & wx.CONTROL_SELECTED:
color = wx.Colour(wx.BLUE)
if flags & wx.CONTROL_PRESSED:
self._pr... |
self._hover = False
self._pressed = False
color = wx.Colour(150,150,150)
if flags & wx.CONTROL_DISABLED:
color = wx.Colour(wx.WHITE)
elif flags & wx.CONTROL_SELECTED:
color = wx.Colour(wx.BLUE)
if flags & wx.CONTROL_PRESSED:
self._pr... | 49 | 124 | 293 | 417 | #!/usr/bin/env python
import sys
import os
import wx
import random
import datetime
import math
import operator
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb as cdb
import wx.lib.colourselect as csel
import wx.lib.colourutils as cutils
from wx.lib.embeddedimage import PyEmbeddedImage
import images
... | #!/usr/bin/env python
import sys
import os
import wx
import random
import datetime
import math
import operator
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb as cdb
import wx.lib.colourselect as csel
import wx.lib.colourutils as cutils
from wx.lib.embeddedimage import PyEmbeddedImage
import images
... |
41,770 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/agw/UltimateReportDemo.py | 242,243 | 191,302 | DrawHorizontalPipe | UltimateRenderer_1 | 244,253 | 243,253 | class UltimateRenderer_1(object):
DONE_BITMAP = None
REMAINING_BITMAP = None
def __init__(self, parent):
self.progressValue = random.randint(1, 99)
def DrawSubItem(self, dc, rect, line, highlighted, enabled):
"""Draw a custom progress bar using double buffering to prevent flicker"""... | class UltimateRenderer_1(object):
DONE_BITMAP = None
REMAINING_BITMAP = None
def __init__(self, parent):
self.progressValue = random.randint(1, 99)
def DrawSubItem(self, dc, rect, line, highlighted, enabled):
"""Draw a custom progress bar using double buffering to prevent flicker"""... |
for r in range(PIPE_HEIGHT):
red = int(colour.Red() * math.sin((math.pi/PIPE_HEIGHT)*r))
green = int(colour.Green() * math.sin((math.pi/PIPE_HEIGHT)*r))
blue = int(colour.Blue() * math.sin((math.pi/PIPE_HEIGHT)*r))
dc.SetPen(wx.Pen(wx.Colour(red, green, blue)))
... | """Draws a horizontal 3D-looking pipe."""
for r in range(PIPE_HEIGHT):
red = int(colour.Red() * math.sin((math.pi/PIPE_HEIGHT)*r))
green = int(colour.Green() * math.sin((math.pi/PIPE_HEIGHT)*r))
blue = int(colour.Blue() * math.sin((math.pi/PIPE_HEIGHT)*r))
... | 26 | 1,303 | 156 | 1,459 | #!/usr/bin/env python
import sys
import os
import wx
import random
import datetime
import math
import operator
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb as cdb
import wx.lib.colourselect as csel
import wx.lib.colourutils as cutils
from wx.lib.embeddedimage import PyEmbeddedImage
import images
... | #!/usr/bin/env python
import sys
import os
import wx
import random
import datetime
import math
import operator
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb as cdb
import wx.lib.colourselect as csel
import wx.lib.colourutils as cutils
from wx.lib.embeddedimage import PyEmbeddedImage
import images
... |
41,771 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/agw/UltimateReportDemo.py | 325,326 | 302,359 | DrawSubItem | UltimateRenderer_2 | 326,349 | 326,349 | class UltimateRenderer_2(object):
def __init__(self, parent):
e = wx.FontEnumerator()
e.EnumerateFacenames()
fontList = e.GetFacenames()
fontList.sort()
rdn = random.randint(0, len(fontList)-1)
randomFont = wx.SystemSettings.GetFont(wx.SYS_DEFAULT_GUI_FONT)
... | class UltimateRenderer_2(object):
def __init__(self, parent):
e = wx.FontEnumerator()
e.EnumerateFacenames()
fontList = e.GetFacenames()
fontList.sort()
rdn = random.randint(0, len(fontList)-1)
randomFont = wx.SystemSettings.GetFont(wx.SYS_DEFAULT_GUI_FONT)
... |
dc.SetBackgroundMode(wx.SOLID)
dc.SetBrush(wx.Brush(wx.BLACK, wx.BRUSHSTYLE_SOLID))
dc.SetPen(wx.TRANSPARENT_PEN)
dc.DrawRectangle(rect)
dc.SetBackgroundMode(wx.TRANSPARENT)
dc.SetFont(self.randomFont)
colours = [wx.RED, wx.WHITE, wx.GREEN, wx.Colour("SKY BLUE"... |
dc.SetBackgroundMode(wx.SOLID)
dc.SetBrush(wx.Brush(wx.BLACK, wx.BRUSHSTYLE_SOLID))
dc.SetPen(wx.TRANSPARENT_PEN)
dc.DrawRectangle(rect)
dc.SetBackgroundMode(wx.TRANSPARENT)
dc.SetFont(self.randomFont)
colours = [wx.RED, wx.WHITE, wx.GREEN, wx.Colour("SKY BLUE"... | 54 | 279 | 288 | 567 | #!/usr/bin/env python
import sys
import os
import wx
import random
import datetime
import math
import operator
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb as cdb
import wx.lib.colourselect as csel
import wx.lib.colourutils as cutils
from wx.lib.embeddedimage import PyEmbeddedImage
import images
... | #!/usr/bin/env python
import sys
import os
import wx
import random
import datetime
import math
import operator
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb as cdb
import wx.lib.colourselect as csel
import wx.lib.colourutils as cutils
from wx.lib.embeddedimage import PyEmbeddedImage
import images
... |
41,772 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/agw/UltimateReportDemo.py | 376,377 | 359,386 | GetLineHeight | UltimateRenderer_3 | 377,381 | 377,381 | class UltimateRenderer_3(object):
def __init__(self):
cdb.updateColourDB()
colourList = cdb.getColourList()
lenCDB = len(colourList)
colourIndex = random.randint(0, lenCDB-1)
self.colour = colourList[colourIndex]
def DrawSubItem(self, dc, rect, line, highlighted, enab... | class UltimateRenderer_3(object):
def __init__(self):
cdb.updateColourDB()
colourList = cdb.getColourList()
lenCDB = len(colourList)
colourIndex = random.randint(0, lenCDB-1)
self.colour = colourList[colourIndex]
def DrawSubItem(self, dc, rect, line, highlighted, enab... |
return 30
|
return 30
| 2 | 200 | 13 | 213 | #!/usr/bin/env python
import sys
import os
import wx
import random
import datetime
import math
import operator
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb as cdb
import wx.lib.colourselect as csel
import wx.lib.colourutils as cutils
from wx.lib.embeddedimage import PyEmbeddedImage
import images
... | #!/usr/bin/env python
import sys
import os
import wx
import random
import datetime
import math
import operator
import wx.lib.mixins.listctrl as listmix
import wx.lib.colourdb as cdb
import wx.lib.colourselect as csel
import wx.lib.colourutils as cutils
from wx.lib.embeddedimage import PyEmbeddedImage
import images
... |
41,773 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/agw/UltimateVirtualDemo.py | 21,22 | 1,208 | GenerateRandomList | 22,37 | 22,37 | #!/usr/bin/env python
import wx
import images
import random
import os, sys
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sys.path.append(os.path.split(dirName)[0])
try:
from agw import ultimatelistctrl as ULC
except ImportError:... | #!/usr/bin/env python
import wx
import images
import random
import os, sys
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sys.path.append(os.path.split(dirName)[0])
try:
from agw import ultimatelistctrl as ULC
except ImportError:... |
rList = []
chance = random.randint(0, 2)
if chance < 2:
return rList
numImages = random.randint(1, 3)
listSize = imgList.GetImageCount()
for i in range(numImages):
rList.append(random.randint(0, listSize-1))
return rList
|
rList = []
chance = random.randint(0, 2)
if chance < 2:
return rList
numImages = random.randint(1, 3)
listSize = imgList.GetImageCount()
for i in range(numImages):
rList.append(random.randint(0, listSize-1))
return rList
| 28 | 1,777 | 114 | 1,891 | #!/usr/bin/env python
import wx
import images
import random
import os, sys
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sys.path.append(os.path.split(dirName)[0])
try:
from agw import ultimatelistctrl as ULC
except ImportError:... | #!/usr/bin/env python
import wx
import images
import random
import os, sys
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sys.path.append(os.path.split(dirName)[0])
try:
from agw import ultimatelistctrl as ULC
except ImportError:... | |
41,774 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/agw/UltimateVirtualDemo.py | 102,103 | 37,179 | OnItemDeselected | TestUltimateListCtrl | 103,113 | 103,113 | class TestUltimateListCtrl(ULC.UltimateListCtrl):
def __init__(self, parent, log):
ULC.UltimateListCtrl.__init__(self, parent, -1,
agwStyle=wx.LC_REPORT|wx.LC_VIRTUAL|wx.LC_HRULES|wx.LC_VRULES|ULC.ULC_SHOW_TOOLTIPS)
self.log = log
self.il = wx.ImageL... | class TestUltimateListCtrl(ULC.UltimateListCtrl):
def __init__(self, parent, log):
ULC.UltimateListCtrl.__init__(self, parent, -1,
agwStyle=wx.LC_REPORT|wx.LC_VIRTUAL|wx.LC_HRULES|wx.LC_VRULES|ULC.ULC_SHOW_TOOLTIPS)
self.log = log
self.il = wx.ImageL... | self.log.write("OnItemDeselected: %s\n" % evt.Index)
#---------------------------------------------------
# These methods are callbacks for implementing the
# "virtualness" of the list... Normally you would
# determine the text, attributes and/or image based
# on values from some external... | self.log.write("OnItemDeselected: %s\n" % evt.Index)
#---------------------------------------------------
# These methods are callbacks for implementing the
# "virtualness" of the list... Normally you would
# determine the text, attributes and/or image based
# on values from some external... | 46 | 1,266 | 107 | 1,373 | #!/usr/bin/env python
import wx
import images
import random
import os, sys
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sys.path.append(os.path.split(dirName)[0])
try:
from agw import ultimatelistctrl as ULC
except ImportError:... | #!/usr/bin/env python
import wx
import images
import random
import os, sys
try:
dirName = os.path.dirname(os.path.abspath(__file__))
except:
dirName = os.path.dirname(os.path.abspath(sys.argv[0]))
sys.path.append(os.path.split(dirName)[0])
try:
from agw import ultimatelistctrl as ULC
except ImportError:... |
41,776 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/run.py | 139,140 | 1,172 | main | 140,168 | 140,168 | #!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: run.py
# Purpose: Simple framework for running individual demos
#
# Author: Robin Dunn
#
# Created: 6-March-2000
# Copyright: (c) 2000-2020 by Total Control Software
# Licence: wx... | #!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: run.py
# Purpose: Simple framework for running individual demos
#
# Author: Robin Dunn
#
# Created: 6-March-2000
# Copyright: (c) 2000-2020 by Total Control Software
# Licence: wx... | useShell = False
for x in range(len(sys.argv)):
if sys.argv[x] in ['--shell', '-shell', '-s']:
useShell = True
del sys.argv[x]
break
if len(argv) < 2:
print("Please specify a demo module name on the command-line")
raise SystemExit
# ensure th... | useShell = False
for x in range(len(sys.argv)):
if sys.argv[x] in ['--shell', '-shell', '-s']:
useShell = True
del sys.argv[x]
break
if len(argv) < 2:
print("Please specify a demo module name on the command-line")
raise SystemExit
# ensure th... | 67 | 1,259 | 280 | 1,539 | #!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: run.py
# Purpose: Simple framework for running individual demos
#
# Author: Robin Dunn
#
# Created: 6-March-2000
# Copyright: (c) 2000-2020 by Total Control Software
# Licence: wx... | #!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: run.py
# Purpose: Simple framework for running individual demos
#
# Author: Robin Dunn
#
# Created: 6-March-2000
# Copyright: (c) 2000-2020 by Total Control Software
# Licence: wx... | |
41,777 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/run.py | 37,38 | 36,44 | WriteText | Log | 38,41 | 38,41 | class Log:
def WriteText(self, text):
FILL_FUNC_BODY write = WriteText
| class Log:
def WriteText(self, text):
FILL_FUNC_BODY write = WriteText
| if text[-1:] == '\n':
text = text[:-1]
wx.LogMessage(text)
| if text[-1:] == '\n':
text = text[:-1]
wx.LogMessage(text)
| 8 | 32 | 32 | 64 | #!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: run.py
# Purpose: Simple framework for running individual demos
#
# Author: Robin Dunn
#
# Created: 6-March-2000
# Copyright: (c) 2000-2020 by Total Control Software
# Licence: wx... | #!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: run.py
# Purpose: Simple framework for running individual demos
#
# Author: Robin Dunn
#
# Created: 6-March-2000
# Copyright: (c) 2000-2020 by Total Control Software
# Licence: wx... |
41,778 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/run.py | 52,53 | 44,139 | OnInit | RunDemoApp | 53,123 | 53,123 | class RunDemoApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
def __init__(self, name, module, useShell):
self.name = name
self.demoModule = module
self.useShell = useShell
wx.App.__init__(self, redirect=False)
def OnInit(self):
FILL_FUNC_BODY def OnExitApp(self, evt):... | class RunDemoApp(wx.App, wx.lib.mixins.inspection.InspectionMixin):
def __init__(self, name, module, useShell):
self.name = name
self.demoModule = module
self.useShell = useShell
wx.App.__init__(self, redirect=False)
def OnInit(self):
FILL_FUNC_BODY def OnExitApp(self, evt):... | wx.Log.SetActiveTarget(wx.LogStderr())
self.SetAssertMode(assertMode)
self.InitInspection() # for the InspectionMixin base class
frame = wx.Frame(None, -1, "RunDemo: " + self.name, size=(200,100),
style=wx.DEFAULT_FRAME_STYLE, name="run a sample")
frame... | wx.Log.SetActiveTarget(wx.LogStderr())
self.SetAssertMode(assertMode)
self.InitInspection() # for the InspectionMixin base class
frame = wx.Frame(None, -1, "RunDemo: " + self.name, size=(200,100),
style=wx.DEFAULT_FRAME_STYLE, name="run a sample")
frame... | 206 | 219 | 774 | 993 | #!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: run.py
# Purpose: Simple framework for running individual demos
#
# Author: Robin Dunn
#
# Created: 6-March-2000
# Copyright: (c) 2000-2020 by Total Control Software
# Licence: wx... | #!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: run.py
# Purpose: Simple framework for running individual demos
#
# Author: Robin Dunn
#
# Created: 6-March-2000
# Copyright: (c) 2000-2020 by Total Control Software
# Licence: wx... |
41,779 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/demo/template.py | 14,15 | 1,37 | runTest | 15,22 | 15,22 | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
#----------------------------------------------------------------------
def runT... | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
#----------------------------------------------------------------------
def runT... | win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
| win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
| 7 | 189 | 30 | 219 | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
#----------------------------------------------------------------------
def runT... | #!/usr/bin/env python
import wx
#----------------------------------------------------------------------
class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
wx.Panel.__init__(self, parent, -1)
#----------------------------------------------------------------------
def runT... | |
41,780 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/CloseEvent.Veto.1.py | 23,24 | 10,32 | OnClose | MainWindow | 24,32 | 24,32 | class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose handler
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.Show()
self.close_attempts = 0
def OnClose(self, event):
FIL... | class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose handler
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.Show()
self.close_attempts = 0
def OnClose(self, event):
FIL... |
# Veto the event the user can not close the main
# window in any way
self.close_attempts += 1
print('I am immortal %d'%self.close_attempts)
event.Veto()
|
# Veto the event the user can not close the main
# window in any way
self.close_attempts += 1
print('I am immortal %d'%self.close_attempts)
event.Veto()
| 24 | 116 | 70 | 186 | ##Andrea Gavana
#!/usr/bin/env python
# This sample makes the main frame "immortal", i.e., non-closable
# by the user. The main window can not be close by pressing Alt+F4
# or by clicking on the "X" button in the titlebar
import wx
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame... | ##Andrea Gavana
#!/usr/bin/env python
# This sample makes the main frame "immortal", i.e., non-closable
# by the user. The main window can not be close by pressing Alt+F4
# or by clicking on the "X" button in the titlebar
import wx
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame... |
41,781 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/EvtHandler.Bind.1.py | 21,22 | 9,34 | OnClose | MainWindow | 22,34 | 22,34 | class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose handler
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.Show()
def OnClose(self, event):
FILL_FUNC_BODY | class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose handler
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.Show()
def OnClose(self, event):
FILL_FUNC_BODY |
# This displays a message box asking the user to confirm
# she wants to quit the application
dlg = wx.MessageDialog(self, 'Are you sure you want to quit?', 'Question',
wx.YES_NO | wx.NO_DEFAULT | wx.ICON_QUESTION)
if dlg.ShowModal() == wx.ID_YES:
... |
# This displays a message box asking the user to confirm
# she wants to quit the application
dlg = wx.MessageDialog(self, 'Are you sure you want to quit?', 'Question',
wx.YES_NO | wx.NO_DEFAULT | wx.ICON_QUESTION)
if dlg.ShowModal() == wx.ID_YES:
... | 41 | 105 | 121 | 226 | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows a simple example of how to use the
# "Bind" method to handle an event
import wx
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose h... | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows a simple example of how to use the
# "Bind" method to handle an event
import wx
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose h... |
41,782 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/GridBagSizer.1.py | 37,38 | 36,43 | OnInit | MyApp | 38,43 | 38,43 | class MyApp(wx.App):
def OnInit(self):
FILL_FUNC_BODY | class MyApp(wx.App):
def OnInit(self):
FILL_FUNC_BODY | frame = MyFrame(None, -1, "wx.gridbagsizer.py")
frame.Show(True)
self.SetTopWindow(frame)
return True
| frame = MyFrame(None, -1, "wx.gridbagsizer.py")
frame.Show(True)
self.SetTopWindow(frame)
return True
| 9 | 27 | 50 | 77 | ##Chris Barker
#!/usr/bin/env python
"""
A simple test of the GridBagSizer
http://wiki.wxpython.org/index.cgi/WriteItYourself
"""
import wx
class MyFrame(wx.Frame):
def __init__(self, parent, ID, title):
wx.Frame.__init__(self, parent, ID, title, wx.DefaultPosition)
Buttons = []
for i ... | ##Chris Barker
#!/usr/bin/env python
"""
A simple test of the GridBagSizer
http://wiki.wxpython.org/index.cgi/WriteItYourself
"""
import wx
class MyFrame(wx.Frame):
def __init__(self, parent, ID, title):
wx.Frame.__init__(self, parent, ID, title, wx.DefaultPosition)
Buttons = []
for i ... |
41,783 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/GridBagSizer.2.py | 33,34 | 32,39 | OnInit | App | 34,39 | 34,39 | class App(wx.App):
def OnInit(self):
FILL_FUNC_BODY | class App(wx.App):
def OnInit(self):
FILL_FUNC_BODY | frame = TestFrame(None, title="GridBagSizer Test")
self.SetTopWindow(frame)
frame.Show(True)
return True
| frame = TestFrame(None, title="GridBagSizer Test")
self.SetTopWindow(frame)
frame.Show(True)
return True
| 9 | 26 | 47 | 73 | ##Chris Barker
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(s... | ##Chris Barker
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(s... |
41,784 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/GridBagSizer.2.py | 29,30 | 6,32 | OnCloseWindow | TestFrame | 30,32 | 30,32 | class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(self, label="Exit")
exitBut.Bind(wx.EVT_BU... | class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(self, label="Exit")
exitBut.Bind(wx.EVT_BU... | self.Destroy()
| self.Destroy()
| 1 | 315 | 10 | 325 | ##Chris Barker
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(s... | ##Chris Barker
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(s... |
41,785 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/MoveEvent.1.py | 25,26 | 9,34 | OnMove | MovingFrame | 26,34 | 26,34 | class MovingFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
wx.StaticText(self, label='x:', pos=(10, 10))
wx.StaticText(self, label='y:', pos=(10, 30))
self.st1 = wx.StaticText(self, label='', pos=(30, 10))
self.st2 = wx.St... | class MovingFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
wx.StaticText(self, label='x:', pos=(10, 10))
wx.StaticText(self, label='y:', pos=(10, 30))
self.st1 = wx.StaticText(self, label='', pos=(30, 10))
self.st2 = wx.St... |
# Capture the mouse position (in screen coordinates) and
# assign its x, y values to the statictexts
x, y = event.GetPosition()
self.st1.SetLabel('%d'%x)
self.st2.SetLabel('%d'%y)
|
# Capture the mouse position (in screen coordinates) and
# assign its x, y values to the statictexts
x, y = event.GetPosition()
self.st1.SetLabel('%d'%x)
self.st2.SetLabel('%d'%y)
| 24 | 194 | 82 | 276 | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows how to listen to a move change event for a
# top-level window (wx.Frame, wx.Dialog). This is MSW-specific
import wx
class MovingFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
wx.StaticTe... | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows how to listen to a move change event for a
# top-level window (wx.Frame, wx.Dialog). This is MSW-specific
import wx
class MovingFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
wx.StaticTe... |
41,786 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/Notebook.1.py | 40,41 | 11,72 | OnOpen | NotebookFrame | 41,72 | 41,72 | class NotebookFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Create the notebook
self.notebook = wx.Notebook(self, style=wx.NB_BOTTOM)
# Setting up the menu
file_menu = wx.Menu()
# wx.ID_OPEN
menu_item =... | class NotebookFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Create the notebook
self.notebook = wx.Notebook(self, style=wx.NB_BOTTOM)
# Setting up the menu
file_menu = wx.Menu()
# wx.ID_OPEN
menu_item =... |
# This is how you pre-establish a file filter so that the dialog
# only shows the extension(s) you want it to.
wildcard = 'Python source (*.py)|*.py'
dlg = wx.FileDialog(None, message="Choose a Python file", defaultDir=os.getcwd(),
defaultFile="", wildcard=w... |
# This is how you pre-establish a file filter so that the dialog
# only shows the extension(s) you want it to.
wildcard = 'Python source (*.py)|*.py'
dlg = wx.FileDialog(None, message="Choose a Python file", defaultDir=os.getcwd(),
defaultFile="", wildcard=w... | 139 | 283 | 391 | 674 | ##Andrea Gavana
#!/usr/bin/env python
# This sample creates a "File->Open" menu, and lets the user select
# a Python file. Upon selection, the file is read in memory and a new
# wx.TextCtrl showing the file content is added as a page of a wx.Notebook
import wx
import os
class NotebookFrame(wx.Frame):
def __init... | ##Andrea Gavana
#!/usr/bin/env python
# This sample creates a "File->Open" menu, and lets the user select
# a Python file. Upon selection, the file is read in memory and a new
# wx.TextCtrl showing the file content is added as a page of a wx.Notebook
import wx
import os
class NotebookFrame(wx.Frame):
def __init... |
41,787 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/PaintDC.1.py | 22,23 | 10,42 | OnPaint | PaintFrame | 23,42 | 23,42 | class PaintFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind a "paint" event for the frame to the
# "OnPaint" method
self.Bind(wx.EVT_PAINT, self.OnPaint)
self.Show()
def OnPaint(self, event):
FILL_FUNC_BODY | class PaintFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind a "paint" event for the frame to the
# "OnPaint" method
self.Bind(wx.EVT_PAINT, self.OnPaint)
self.Show()
def OnPaint(self, event):
FILL_FUNC_BODY |
dc = wx.PaintDC(self)
w, h = self.GetClientSize()
# Use a blue pen, for example...
dc.SetPen(wx.Pen('BLUE'))
# Remember the signature of wx.DC.DrawLine:
# DrawLine(x1, y1, x2, y2)
for i in range(100):
x1 = random.randint(1, w-1)
y1 = r... |
dc = wx.PaintDC(self)
w, h = self.GetClientSize()
# Use a blue pen, for example...
dc.SetPen(wx.Pen('BLUE'))
# Remember the signature of wx.DC.DrawLine:
# DrawLine(x1, y1, x2, y2)
for i in range(100):
x1 = random.randint(1, w-1)
y1 = r... | 50 | 115 | 206 | 321 | ##Andrea Gavana
#!/usr/bin/env python
# This sample uses the random module to draw 100 random lines iinside
# a wx.Frame client area, as a demonstration of how to handle a wx.PaintDC
import wx
import random
class PaintFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, t... | ##Andrea Gavana
#!/usr/bin/env python
# This sample uses the random module to draw 100 random lines iinside
# a wx.Frame client area, as a demonstration of how to handle a wx.PaintDC
import wx
import random
class PaintFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, t... |
41,788 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/Process.1.py | 35,36 | 9,69 | LongRunning | ProcessFrame | 40,48 | 36,48 | class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(self)
self.label = wx.TextCtrl(panel, style=wx.TE_MULTILINE)
self.btn = wx.Button(panel, label="Start")
self.process = None
... | class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(self)
self.label = wx.TextCtrl(panel, style=wx.TE_MULTILINE)
self.btn = wx.Button(panel, label="Start")
self.process = None
... |
cmd = 'python -u external_program.py'
self.process = wx.Process(self)
self.process.Redirect()
wx.Execute(cmd, wx.EXEC_ASYNC, self.process)
| """
This runs in the GUI thread but uses wx.Process and
wx.Execute to start and monitor a separate process.
"""
cmd = 'python -u external_program.py'
self.process = wx.Process(self)
self.process.Redirect()
wx.Execute(cmd, wx.EXEC_ASYNC, self.process)
| 12 | 485 | 68 | 553 | ##Andrea Gavana
#!/usr/bin/env python
# This sample demonstrates a simple use of wx.Process/wx.Execute to
# monitor an external program stdout
import wx
class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(se... | ##Andrea Gavana
#!/usr/bin/env python
# This sample demonstrates a simple use of wx.Process/wx.Execute to
# monitor an external program stdout
import wx
class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(se... |
41,789 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/functions.CallAfter.1.py | 43,44 | 11,53 | LongRunning | MainFrame | 46,53 | 44,53 | class MainFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='CallAfter example')
panel = wx.Panel(self)
self.label = wx.StaticText(panel, label="Ready")
self.btn = wx.Button(panel, label="Start")
self.gauge = wx.Gauge(panel)
sizer =... | class MainFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='CallAfter example')
panel = wx.Panel(self)
self.label = wx.StaticText(panel, label="Ready")
self.btn = wx.Button(panel, label="Start")
self.gauge = wx.Gauge(panel)
sizer =... | time.sleep(3)
wx.CallAfter(self.gauge.SetValue, 20)
time.sleep(5)
wx.CallAfter(self.gauge.SetValue, 70)
time.sleep(4)
wx.CallAfter(self.OnLongRunDone)
| """This runs in a different thread. Sleep is used to
simulate a long running task."""
time.sleep(3)
wx.CallAfter(self.gauge.SetValue, 20)
time.sleep(5)
wx.CallAfter(self.gauge.SetValue, 70)
time.sleep(4)
wx.CallAfter(self.OnLongRunDone)
| 8 | 389 | 84 | 473 | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows hot to take advantage of wx.CallAfter when running a
# separate thread and updating the GUI in the main thread
import wx
import threading
import time
class MainFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Ca... | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows hot to take advantage of wx.CallAfter when running a
# separate thread and updating the GUI in the main thread
import wx
import threading
import time
class MainFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Ca... |
41,790 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/functions.Execute.1.py | 57,58 | 9,69 | OnProcessEnded | ProcessFrame | 58,69 | 58,69 | class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(self)
self.label = wx.TextCtrl(panel, style=wx.TE_MULTILINE)
self.btn = wx.Button(panel, label="Start")
self.process = None
... | class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(self)
self.label = wx.TextCtrl(panel, style=wx.TE_MULTILINE)
self.btn = wx.Button(panel, label="Start")
self.process = None
... |
stream = self.process.GetInputStream()
if stream.CanRead():
text = stream.read()
self.label.AppendText(text)
self.btn.Enable(True)
self.label.AppendText('Finished')
|
stream = self.process.GetInputStream()
if stream.CanRead():
text = stream.read()
self.label.AppendText(text)
self.btn.Enable(True)
self.label.AppendText('Finished')
| 11 | 480 | 76 | 556 | ##Andrea Gavana
#!/usr/bin/env python
# This sample demonstrates a simple use of wx.Process/wx.Execute to
# monitor an external program stdout
import wx
class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(se... | ##Andrea Gavana
#!/usr/bin/env python
# This sample demonstrates a simple use of wx.Process/wx.Execute to
# monitor an external program stdout
import wx
class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(se... |
41,791 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/i18nwxapp/app_base.py | 20,21 | 1,102 | _displayHook | 21,25 | 21,25 | # -*- coding: utf-8 -*-
#
# Author: Werner F. Bruhin
# Purpose: how to I18N enable an application
#
# Inspired by the I18N wxPython demo and the Internationalization page on
# the wxPython wiki.
#
import sys
import os
import wx
# Install a custom displayhook to keep Python from setting the global
# _ (underscore)... | # -*- coding: utf-8 -*-
#
# Author: Werner F. Bruhin
# Purpose: how to I18N enable an application
#
# Inspired by the I18N wxPython demo and the Internationalization page on
# the wxPython wiki.
#
import sys
import os
import wx
# Install a custom displayhook to keep Python from setting the global
# _ (underscore)... | if obj is not None:
print (repr(obj))
# add translation macro to builtin similar to what gettext does
| if obj is not None:
print (repr(obj))
# add translation macro to builtin similar to what gettext does
| 18 | 873 | 36 | 909 | # -*- coding: utf-8 -*-
#
# Author: Werner F. Bruhin
# Purpose: how to I18N enable an application
#
# Inspired by the I18N wxPython demo and the Internationalization page on
# the wxPython wiki.
#
import sys
import os
import wx
# Install a custom displayhook to keep Python from setting the global
# _ (underscore)... | # -*- coding: utf-8 -*-
#
# Author: Werner F. Bruhin
# Purpose: how to I18N enable an application
#
# Inspired by the I18N wxPython demo and the Internationalization page on
# the wxPython wiki.
#
import sys
import os
import wx
# Install a custom displayhook to keep Python from setting the global
# _ (underscore)... | |
41,792 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/_downloads/i18nwxapp/app_base.py | 48,49 | 32,102 | doConfig | BaseApp | 50,72 | 49,72 | class BaseApp(wx.App, InspectionMixin):
def OnInit(self):
self.Init() # InspectionMixin
# work around for Python stealing "_"
sys.displayhook = _displayHook
self.appName = "I18N sample application"
self.doConfig()
self.locale = None
wx.Locale.AddCatalogLook... | class BaseApp(wx.App, InspectionMixin):
def OnInit(self):
self.Init() # InspectionMixin
# work around for Python stealing "_"
sys.displayhook = _displayHook
self.appName = "I18N sample application"
self.doConfig()
self.locale = None
wx.Locale.AddCatalogLook... | # configuration folder
sp = wx.StandardPaths.Get()
self.configLoc = sp.GetUserConfigDir()
self.configLoc = os.path.join(self.configLoc, self.appName)
# win: C:\Users\userid\AppData\Roaming\appName
# nix: \home\userid\appName
if not os.path.exists(self.configLoc):... | """Setup an application configuration file"""
# configuration folder
sp = wx.StandardPaths.Get()
self.configLoc = sp.GetUserConfigDir()
self.configLoc = os.path.join(self.configLoc, self.appName)
# win: C:\Users\userid\AppData\Roaming\appName
# nix: \home\userid\a... | 51 | 425 | 262 | 687 | # -*- coding: utf-8 -*-
#
# Author: Werner F. Bruhin
# Purpose: how to I18N enable an application
#
# Inspired by the I18N wxPython demo and the Internationalization page on
# the wxPython wiki.
#
import sys
import os
import wx
# Install a custom displayhook to keep Python from setting the global
# _ (underscore)... | # -*- coding: utf-8 -*-
#
# Author: Werner F. Bruhin
# Purpose: how to I18N enable an application
#
# Inspired by the I18N wxPython demo and the Internationalization page on
# the wxPython wiki.
#
import sys
import os
import wx
# Install a custom displayhook to keep Python from setting the global
# _ (underscore)... |
41,793 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/availability.py | 186,187 | 1,211 | setup | 187,211 | 187,211 | # -*- coding: utf-8 -*-
"""
Allow "availability" admonitions to be inserted into your documentation.
Inclusion of availabilities can be switched of by a configuration variable.
The availabilitylist directive collects all availabilities of your project
and lists them along with a backlink to the original location.
"""
... | # -*- coding: utf-8 -*-
"""
Allow "availability" admonitions to be inserted into your documentation.
Inclusion of availabilities can be switched of by a configuration variable.
The availabilitylist directive collects all availabilities of your project
and lists them along with a backlink to the original location.
"""
... | app.add_js_file('javascript/header.js')
app.add_js_file('javascript/sidebar.js')
app.add_js_file('javascript/jquery.collapse.js')
app.add_js_file('javascript/jquery.cookie.js')
app.add_js_file('javascript/toggle_visibility.js')
app.add_config_value('availability_include_availabilities', False, ... | app.add_js_file('javascript/header.js')
app.add_js_file('javascript/sidebar.js')
app.add_js_file('javascript/jquery.collapse.js')
app.add_js_file('javascript/jquery.cookie.js')
app.add_js_file('javascript/toggle_visibility.js')
app.add_config_value('availability_include_availabilities', False, ... | 33 | 1,635 | 361 | 1,996 | # -*- coding: utf-8 -*-
"""
Allow "availability" admonitions to be inserted into your documentation.
Inclusion of availabilities can be switched of by a configuration variable.
The availabilitylist directive collects all availabilities of your project
and lists them along with a backlink to the original location.
"""
... | # -*- coding: utf-8 -*-
"""
Allow "availability" admonitions to be inserted into your documentation.
Inclusion of availabilities can be switched of by a configuration variable.
The availabilitylist directive collects all availabilities of your project
and lists them along with a backlink to the original location.
"""
... | |
41,794 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/availability.py | 43,44 | 29,57 | run | Availability | 44,57 | 44,57 | class Availability(Directive):
"""
An "availability" entry, displayed (if configured) in the form of an admonition.
"""
has_content = True
required_arguments = 0
optional_arguments = 0
final_argument_whitespace = False
option_spec = {}
# --------------------------------------------... | class Availability(Directive):
"""
An "availability" entry, displayed (if configured) in the form of an admonition.
"""
has_content = True
required_arguments = 0
optional_arguments = 0
final_argument_whitespace = False
option_spec = {}
# --------------------------------------------... | env = self.state.document.settings.env
targetid = 'index-%s' % env.new_serialno('index')
targetnode = nodes.target('', '', ids=[targetid])
avail_node = availability_node('\n'.join(self.content))
avail_node += nodes.title(_("Availability"), _("Availability"))
self.state.... | env = self.state.document.settings.env
targetid = 'index-%s' % env.new_serialno('index')
targetnode = nodes.target('', '', ids=[targetid])
avail_node = availability_node('\n'.join(self.content))
avail_node += nodes.title(_("Availability"), _("Availability"))
self.state.... | 29 | 103 | 149 | 252 | # -*- coding: utf-8 -*-
"""
Allow "availability" admonitions to be inserted into your documentation.
Inclusion of availabilities can be switched of by a configuration variable.
The availabilitylist directive collects all availabilities of your project
and lists them along with a backlink to the original location.
"""
... | # -*- coding: utf-8 -*-
"""
Allow "availability" admonitions to be inserted into your documentation.
Inclusion of availabilities can be switched of by a configuration variable.
The availabilitylist directive collects all availabilities of your project
and lists them along with a backlink to the original location.
"""
... |
41,795 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/availability.py | 96,97 | 82,104 | run | AvailabilityList | 97,104 | 97,104 | class AvailabilityList(Directive):
"""
A list of all availability entries.
"""
has_content = False
required_arguments = 0
optional_arguments = 0
final_argument_whitespace = False
option_spec = {}
# ----------------------------------------------------------------------- #
def r... | class AvailabilityList(Directive):
"""
A list of all availability entries.
"""
has_content = False
required_arguments = 0
optional_arguments = 0
final_argument_whitespace = False
option_spec = {}
# ----------------------------------------------------------------------- #
def r... | # Simply insert an empty availabilitylist node which will be replaced later
# when process_availability_nodes is called
return [availabilitylist('')]
# ----------------------------------------------------------------------- #
| # Simply insert an empty availabilitylist node which will be replaced later
# when process_availability_nodes is called
return [availabilitylist('')]
# ----------------------------------------------------------------------- #
| 22 | 90 | 52 | 142 | # -*- coding: utf-8 -*-
"""
Allow "availability" admonitions to be inserted into your documentation.
Inclusion of availabilities can be switched of by a configuration variable.
The availabilitylist directive collects all availabilities of your project
and lists them along with a backlink to the original location.
"""
... | # -*- coding: utf-8 -*-
"""
Allow "availability" admonitions to be inserted into your documentation.
Inclusion of availabilities can be switched of by a configuration variable.
The availabilitylist directive collects all availabilities of your project
and lists them along with a backlink to the original location.
"""
... |
41,796 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/deprecation.py | 12,13 | 1,61 | visit_wxdeprecated_node | 13,19 | 13,19 | # Author: Samuel Dunn
# Intent: Provide an admonishment for wx deprecations
# Date: 2 / 19 / 18
from docutils import nodes
from docutils.parsers.rst import Directive
from sphinx.locale import _ as convertLocale
class wxdeprecated_node(nodes.Admonition, nodes.Element): pass
def visit_wxdeprecated_node(self, node):
F... | # Author: Samuel Dunn
# Intent: Provide an admonishment for wx deprecations
# Date: 2 / 19 / 18
from docutils import nodes
from docutils.parsers.rst import Directive
from sphinx.locale import _ as convertLocale
class wxdeprecated_node(nodes.Admonition, nodes.Element): pass
def visit_wxdeprecated_node(self, node):
F... | for c in ('admonition', 'wxdeprecated'):
if not c in node.get('classes'):
node.get('classes').append(c)
self.visit_admonition(node)
| for c in ('admonition', 'wxdeprecated'):
if not c in node.get('classes'):
node.get('classes').append(c)
self.visit_admonition(node)
| 12 | 545 | 61 | 606 | # Author: Samuel Dunn
# Intent: Provide an admonishment for wx deprecations
# Date: 2 / 19 / 18
from docutils import nodes
from docutils.parsers.rst import Directive
from sphinx.locale import _ as convertLocale
class wxdeprecated_node(nodes.Admonition, nodes.Element): pass
def visit_wxdeprecated_node(self, node):
F... | # Author: Samuel Dunn
# Intent: Provide an admonishment for wx deprecations
# Date: 2 / 19 / 18
from docutils import nodes
from docutils.parsers.rst import Directive
from sphinx.locale import _ as convertLocale
class wxdeprecated_node(nodes.Admonition, nodes.Element): pass
def visit_wxdeprecated_node(self, node):
F... | |
41,797 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/deprecation.py | 27,28 | 24,58 | run | wxDeprecated | 28,58 | 28,58 | class wxDeprecated(Directive):
has_content = True
def run(self):
FILL_FUNC_BODY | class wxDeprecated(Directive):
has_content = True
def run(self):
FILL_FUNC_BODY | # docutils will assign magic-members to the instance
# before invoking run.
# convenience reference to the build environment:
env = self.state.document.settings.env
targetid = "deprecated-{}".format(env.new_serialno('deprecated'))
targetnode = nodes.target("", "", ids=[... | # docutils will assign magic-members to the instance
# before invoking run.
# convenience reference to the build environment:
env = self.state.document.settings.env
targetid = "deprecated-{}".format(env.new_serialno('deprecated'))
targetnode = nodes.target("", "", ids=[... | 84 | 34 | 322 | 356 | # Author: Samuel Dunn
# Intent: Provide an admonishment for wx deprecations
# Date: 2 / 19 / 18
from docutils import nodes
from docutils.parsers.rst import Directive
from sphinx.locale import _ as convertLocale
class wxdeprecated_node(nodes.Admonition, nodes.Element): pass
def visit_wxdeprecated_node(self, node):
... | # Author: Samuel Dunn
# Intent: Provide an admonishment for wx deprecations
# Date: 2 / 19 / 18
from docutils import nodes
from docutils.parsers.rst import Directive
from sphinx.locale import _ as convertLocale
class wxdeprecated_node(nodes.Admonition, nodes.Element): pass
def visit_wxdeprecated_node(self, node):
... |
41,798 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/CloseEvent.Veto.1.py | 23,24 | 10,32 | OnClose | MainWindow | 24,32 | 24,32 | class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose handler
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.Show()
self.close_attempts = 0
def OnClose(self, event):
FIL... | class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose handler
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.Show()
self.close_attempts = 0
def OnClose(self, event):
FIL... |
# Veto the event the user can not close the main
# window in any way
self.close_attempts += 1
print('I am immortal %d'%self.close_attempts)
event.Veto()
|
# Veto the event the user can not close the main
# window in any way
self.close_attempts += 1
print('I am immortal %d'%self.close_attempts)
event.Veto()
| 24 | 116 | 70 | 186 | ##Andrea Gavana
#!/usr/bin/env python
# This sample makes the main frame "immortal", i.e., non-closable
# by the user. The main window can not be close by pressing Alt+F4
# or by clicking on the "X" button in the titlebar
import wx
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame... | ##Andrea Gavana
#!/usr/bin/env python
# This sample makes the main frame "immortal", i.e., non-closable
# by the user. The main window can not be close by pressing Alt+F4
# or by clicking on the "X" button in the titlebar
import wx
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame... |
41,799 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/EvtHandler.Bind.1.py | 21,22 | 9,34 | OnClose | MainWindow | 22,34 | 22,34 | class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose handler
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.Show()
def OnClose(self, event):
FILL_FUNC_BODY | class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose handler
self.Bind(wx.EVT_CLOSE, self.OnClose)
self.Show()
def OnClose(self, event):
FILL_FUNC_BODY |
# This displays a message box asking the user to confirm
# she wants to quit the application
dlg = wx.MessageDialog(self, 'Are you sure you want to quit?', 'Question',
wx.YES_NO | wx.NO_DEFAULT | wx.ICON_QUESTION)
if dlg.ShowModal() == wx.ID_YES:
... |
# This displays a message box asking the user to confirm
# she wants to quit the application
dlg = wx.MessageDialog(self, 'Are you sure you want to quit?', 'Question',
wx.YES_NO | wx.NO_DEFAULT | wx.ICON_QUESTION)
if dlg.ShowModal() == wx.ID_YES:
... | 41 | 105 | 121 | 226 | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows a simple example of how to use the
# "Bind" method to handle an event
import wx
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose h... | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows a simple example of how to use the
# "Bind" method to handle an event
import wx
class MainWindow(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind the "close window" event to the OnClose h... |
41,800 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/GridBagSizer.1.py | 37,38 | 36,43 | OnInit | MyApp | 38,43 | 38,43 | class MyApp(wx.App):
def OnInit(self):
FILL_FUNC_BODY | class MyApp(wx.App):
def OnInit(self):
FILL_FUNC_BODY | frame = MyFrame(None, -1, "wx.gridbagsizer.py")
frame.Show(True)
self.SetTopWindow(frame)
return True
| frame = MyFrame(None, -1, "wx.gridbagsizer.py")
frame.Show(True)
self.SetTopWindow(frame)
return True
| 9 | 27 | 50 | 77 | ##Chris Barker
#!/usr/bin/env python
"""
A simple test of the GridBagSizer
http://wiki.wxpython.org/index.cgi/WriteItYourself
"""
import wx
class MyFrame(wx.Frame):
def __init__(self, parent, ID, title):
wx.Frame.__init__(self, parent, ID, title, wx.DefaultPosition)
Buttons = []
for i ... | ##Chris Barker
#!/usr/bin/env python
"""
A simple test of the GridBagSizer
http://wiki.wxpython.org/index.cgi/WriteItYourself
"""
import wx
class MyFrame(wx.Frame):
def __init__(self, parent, ID, title):
wx.Frame.__init__(self, parent, ID, title, wx.DefaultPosition)
Buttons = []
for i ... |
41,801 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/GridBagSizer.2.py | 33,34 | 32,39 | OnInit | App | 34,39 | 34,39 | class App(wx.App):
def OnInit(self):
FILL_FUNC_BODY | class App(wx.App):
def OnInit(self):
FILL_FUNC_BODY | frame = TestFrame(None, title="GridBagSizer Test")
self.SetTopWindow(frame)
frame.Show(True)
return True
| frame = TestFrame(None, title="GridBagSizer Test")
self.SetTopWindow(frame)
frame.Show(True)
return True
| 9 | 26 | 47 | 73 | ##Chris Barker
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(s... | ##Chris Barker
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(s... |
41,802 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/GridBagSizer.2.py | 29,30 | 6,32 | OnCloseWindow | TestFrame | 30,32 | 30,32 | class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(self, label="Exit")
exitBut.Bind(wx.EVT_BU... | class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(self, label="Exit")
exitBut.Bind(wx.EVT_BU... | self.Destroy()
| self.Destroy()
| 1 | 315 | 10 | 325 | ##Chris Barker
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(s... | ##Chris Barker
#!/usr/bin/env python
import wx
class TestFrame(wx.Frame):
def __init__(self, *args, **kwargs):
wx.Frame.__init__(self, *args, **kwargs)
t = wx.TextCtrl(self)
b1 = wx.Button(self, label="Button1")
b2 = wx.Button(self, label="Button2")
exitBut = wx.Button(s... |
41,803 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/MoveEvent.1.py | 25,26 | 9,34 | OnMove | MovingFrame | 26,34 | 26,34 | class MovingFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
wx.StaticText(self, label='x:', pos=(10, 10))
wx.StaticText(self, label='y:', pos=(10, 30))
self.st1 = wx.StaticText(self, label='', pos=(30, 10))
self.st2 = wx.St... | class MovingFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
wx.StaticText(self, label='x:', pos=(10, 10))
wx.StaticText(self, label='y:', pos=(10, 30))
self.st1 = wx.StaticText(self, label='', pos=(30, 10))
self.st2 = wx.St... |
# Capture the mouse position (in screen coordinates) and
# assign its x, y values to the statictexts
x, y = event.GetPosition()
self.st1.SetLabel('%d'%x)
self.st2.SetLabel('%d'%y)
|
# Capture the mouse position (in screen coordinates) and
# assign its x, y values to the statictexts
x, y = event.GetPosition()
self.st1.SetLabel('%d'%x)
self.st2.SetLabel('%d'%y)
| 24 | 194 | 82 | 276 | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows how to listen to a move change event for a
# top-level window (wx.Frame, wx.Dialog). This is MSW-specific
import wx
class MovingFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
wx.StaticTe... | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows how to listen to a move change event for a
# top-level window (wx.Frame, wx.Dialog). This is MSW-specific
import wx
class MovingFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
wx.StaticTe... |
41,804 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/Notebook.1.py | 40,41 | 11,72 | OnOpen | NotebookFrame | 41,72 | 41,72 | class NotebookFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Create the notebook
self.notebook = wx.Notebook(self, style=wx.NB_BOTTOM)
# Setting up the menu
file_menu = wx.Menu()
# wx.ID_OPEN
menu_item =... | class NotebookFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Create the notebook
self.notebook = wx.Notebook(self, style=wx.NB_BOTTOM)
# Setting up the menu
file_menu = wx.Menu()
# wx.ID_OPEN
menu_item =... |
# This is how you pre-establish a file filter so that the dialog
# only shows the extension(s) you want it to.
wildcard = 'Python source (*.py)|*.py'
dlg = wx.FileDialog(None, message="Choose a Python file", defaultDir=os.getcwd(),
defaultFile="", wildcard=w... |
# This is how you pre-establish a file filter so that the dialog
# only shows the extension(s) you want it to.
wildcard = 'Python source (*.py)|*.py'
dlg = wx.FileDialog(None, message="Choose a Python file", defaultDir=os.getcwd(),
defaultFile="", wildcard=w... | 139 | 283 | 391 | 674 | ##Andrea Gavana
#!/usr/bin/env python
# This sample creates a "File->Open" menu, and lets the user select
# a Python file. Upon selection, the file is read in memory and a new
# wx.TextCtrl showing the file content is added as a page of a wx.Notebook
import wx
import os
class NotebookFrame(wx.Frame):
def __init... | ##Andrea Gavana
#!/usr/bin/env python
# This sample creates a "File->Open" menu, and lets the user select
# a Python file. Upon selection, the file is read in memory and a new
# wx.TextCtrl showing the file content is added as a page of a wx.Notebook
import wx
import os
class NotebookFrame(wx.Frame):
def __init... |
41,805 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/PaintDC.1.py | 22,23 | 10,42 | OnPaint | PaintFrame | 23,42 | 23,42 | class PaintFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind a "paint" event for the frame to the
# "OnPaint" method
self.Bind(wx.EVT_PAINT, self.OnPaint)
self.Show()
def OnPaint(self, event):
FILL_FUNC_BODY | class PaintFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title)
# Bind a "paint" event for the frame to the
# "OnPaint" method
self.Bind(wx.EVT_PAINT, self.OnPaint)
self.Show()
def OnPaint(self, event):
FILL_FUNC_BODY |
dc = wx.PaintDC(self)
w, h = self.GetClientSize()
# Use a blue pen, for example...
dc.SetPen(wx.Pen('BLUE'))
# Remember the signature of wx.DC.DrawLine:
# DrawLine(x1, y1, x2, y2)
for i in range(100):
x1 = random.randint(1, w-1)
y1 = r... |
dc = wx.PaintDC(self)
w, h = self.GetClientSize()
# Use a blue pen, for example...
dc.SetPen(wx.Pen('BLUE'))
# Remember the signature of wx.DC.DrawLine:
# DrawLine(x1, y1, x2, y2)
for i in range(100):
x1 = random.randint(1, w-1)
y1 = r... | 50 | 115 | 206 | 321 | ##Andrea Gavana
#!/usr/bin/env python
# This sample uses the random module to draw 100 random lines iinside
# a wx.Frame client area, as a demonstration of how to handle a wx.PaintDC
import wx
import random
class PaintFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, t... | ##Andrea Gavana
#!/usr/bin/env python
# This sample uses the random module to draw 100 random lines iinside
# a wx.Frame client area, as a demonstration of how to handle a wx.PaintDC
import wx
import random
class PaintFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, t... |
41,806 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/Process.1.py | 48,49 | 9,69 | OnIdle | ProcessFrame | 50,57 | 49,57 | class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(self)
self.label = wx.TextCtrl(panel, style=wx.TE_MULTILINE)
self.btn = wx.Button(panel, label="Start")
self.process = None
... | class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(self)
self.label = wx.TextCtrl(panel, style=wx.TE_MULTILINE)
self.btn = wx.Button(panel, label="Start")
self.process = None
... |
if self.process is not None:
stream = self.process.GetInputStream()
if stream.CanRead():
text = stream.read()
self.label.AppendText(text)
| """ This event handler catches the process stdout. """
if self.process is not None:
stream = self.process.GetInputStream()
if stream.CanRead():
text = stream.read()
self.label.AppendText(text)
| 14 | 495 | 57 | 552 | ##Andrea Gavana
#!/usr/bin/env python
# This sample demonstrates a simple use of wx.Process/wx.Execute to
# monitor an external program stdout
import wx
class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(se... | ##Andrea Gavana
#!/usr/bin/env python
# This sample demonstrates a simple use of wx.Process/wx.Execute to
# monitor an external program stdout
import wx
class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(se... |
41,807 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/functions.CallAfter.1.py | 29,30 | 11,53 | OnButton | MainFrame | 31,38 | 30,38 | class MainFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='CallAfter example')
panel = wx.Panel(self)
self.label = wx.StaticText(panel, label="Ready")
self.btn = wx.Button(panel, label="Start")
self.gauge = wx.Gauge(panel)
sizer =... | class MainFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='CallAfter example')
panel = wx.Panel(self)
self.label = wx.StaticText(panel, label="Ready")
self.btn = wx.Button(panel, label="Start")
self.gauge = wx.Gauge(panel)
sizer =... | self.btn.Enable(False)
self.gauge.SetValue(0)
self.label.SetLabel("Running")
thread = threading.Thread(target=self.LongRunning)
thread.start()
| """ This event handler starts the separate thread. """
self.btn.Enable(False)
self.gauge.SetValue(0)
self.label.SetLabel("Running")
thread = threading.Thread(target=self.LongRunning)
thread.start()
| 7 | 409 | 64 | 473 | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows hot to take advantage of wx.CallAfter when running a
# separate thread and updating the GUI in the main thread
import wx
import threading
import time
class MainFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Ca... | ##Andrea Gavana
#!/usr/bin/env python
# This sample shows hot to take advantage of wx.CallAfter when running a
# separate thread and updating the GUI in the main thread
import wx
import threading
import time
class MainFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Ca... |
41,808 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/docs/sphinx/rest_substitutions/snippets/python/contrib/functions.Execute.1.py | 57,58 | 9,69 | OnProcessEnded | ProcessFrame | 58,69 | 58,69 | class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(self)
self.label = wx.TextCtrl(panel, style=wx.TE_MULTILINE)
self.btn = wx.Button(panel, label="Start")
self.process = None
... | class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(self)
self.label = wx.TextCtrl(panel, style=wx.TE_MULTILINE)
self.btn = wx.Button(panel, label="Start")
self.process = None
... |
stream = self.process.GetInputStream()
if stream.CanRead():
text = stream.read()
self.label.AppendText(text)
self.btn.Enable(True)
self.label.AppendText('Finished')
|
stream = self.process.GetInputStream()
if stream.CanRead():
text = stream.read()
self.label.AppendText(text)
self.btn.Enable(True)
self.label.AppendText('Finished')
| 11 | 480 | 76 | 556 | ##Andrea Gavana
#!/usr/bin/env python
# This sample demonstrates a simple use of wx.Process/wx.Execute to
# monitor an external program stdout
import wx
class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(se... | ##Andrea Gavana
#!/usr/bin/env python
# This sample demonstrates a simple use of wx.Process/wx.Execute to
# monitor an external program stdout
import wx
class ProcessFrame(wx.Frame):
def __init__(self, parent):
wx.Frame.__init__(self, parent, title='Process/Execute example')
panel = wx.Panel(se... |
41,810 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_adv.py | 70,71 | 1,105 | run | 71,103 | 71,103 | #---------------------------------------------------------------------------
# Name: etg/_adv.py
# Author: Robin Dunn
#
# Created: 22-Mar-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_adv.py
# Author: Robin Dunn
#
# Created: 22-Mar-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | 83 | 610 | 317 | 927 | #---------------------------------------------------------------------------
# Name: etg/_adv.py
# Author: Robin Dunn
#
# Created: 22-Mar-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_adv.py
# Author: Robin Dunn
#
# Created: 22-Mar-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | |
41,811 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_aui.py | 51,52 | 1,79 | run | 52,77 | 52,77 | #---------------------------------------------------------------------------
# Name: etg/_aui.py
# Author: Robin Dunn
#
# Created: 25-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_aui.py
# Author: Robin Dunn
#
# Created: 25-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | 56 | 509 | 251 | 760 | #---------------------------------------------------------------------------
# Name: etg/_aui.py
# Author: Robin Dunn
#
# Created: 25-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_aui.py
# Author: Robin Dunn
#
# Created: 25-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | |
41,813 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_dataview.py | 52,53 | 1,79 | run | 53,77 | 53,77 | #---------------------------------------------------------------------------
# Name: etg/_dataview.py
# Author: Kevin Ollivier
# Robin Dunn
#
# Created: 12-Sept-2011
# Copyright: (c) 2011 by Kevin Ollivier
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows Lic... | #---------------------------------------------------------------------------
# Name: etg/_dataview.py
# Author: Kevin Ollivier
# Robin Dunn
#
# Created: 12-Sept-2011
# Copyright: (c) 2011 by Kevin Ollivier
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows Lic... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING, check4unittest=False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the modul... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING, check4unittest=False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the modul... | 52 | 553 | 227 | 780 | #---------------------------------------------------------------------------
# Name: etg/_dataview.py
# Author: Kevin Ollivier
# Robin Dunn
#
# Created: 12-Sept-2011
# Copyright: (c) 2011 by Kevin Ollivier
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows Lic... | #---------------------------------------------------------------------------
# Name: etg/_dataview.py
# Author: Kevin Ollivier
# Robin Dunn
#
# Created: 12-Sept-2011
# Copyright: (c) 2011 by Kevin Ollivier
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows Lic... | |
41,814 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_glcanvas.py | 46,47 | 1,147 | run | 47,145 | 47,145 | #---------------------------------------------------------------------------
# Name: etg/_glcanvas.py
# Author: Robin Dunn
#
# Created: 3-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_glcanvas.py
# Author: Robin Dunn
#
# Created: 3-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | 243 | 446 | 1,180 | 1,626 | #---------------------------------------------------------------------------
# Name: etg/_glcanvas.py
# Author: Robin Dunn
#
# Created: 3-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_glcanvas.py
# Author: Robin Dunn
#
# Created: 3-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | |
41,815 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_grid.py | 48,49 | 1,75 | run | 49,73 | 49,73 | #---------------------------------------------------------------------------
# Name: etg/_grid.py
# Author: Robin Dunn
#
# Created: 20-Dec-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_grid.py
# Author: Robin Dunn
#
# Created: 20-Dec-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING, check4unittest=False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the modul... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING, check4unittest=False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the modul... | 52 | 493 | 227 | 720 | #---------------------------------------------------------------------------
# Name: etg/_grid.py
# Author: Robin Dunn
#
# Created: 20-Dec-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_grid.py
# Author: Robin Dunn
#
# Created: 20-Dec-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | |
41,816 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_html.py | 66,67 | 1,106 | run | 67,104 | 67,104 | #---------------------------------------------------------------------------
# Name: etg/_html.py
# Author: Robin Dunn
#
# Created: 27-Oct-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_html.py
# Author: Robin Dunn
#
# Created: 27-Oct-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | 95 | 599 | 406 | 1,005 | #---------------------------------------------------------------------------
# Name: etg/_html.py
# Author: Robin Dunn
#
# Created: 27-Oct-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_html.py
# Author: Robin Dunn
#
# Created: 27-Oct-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | |
41,817 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_html2.py | 48,49 | 1,75 | run | 49,73 | 49,73 | #---------------------------------------------------------------------------
# Name: etg/_html2.py
# Author: Robin Dunn
#
# Created: 20-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_html2.py
# Author: Robin Dunn
#
# Created: 20-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | 55 | 489 | 233 | 722 | #---------------------------------------------------------------------------
# Name: etg/_html2.py
# Author: Robin Dunn
#
# Created: 20-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_html2.py
# Author: Robin Dunn
#
# Created: 20-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | |
41,818 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_media.py | 52,53 | 1,80 | run | 53,78 | 53,78 | #---------------------------------------------------------------------------
# Name: etg/_media.py
# Author: Dietmar Schwertberger
#
# Created: 13-Nov-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_media.py
# Author: Dietmar Schwertberger
#
# Created: 13-Nov-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | 55 | 524 | 235 | 759 | #---------------------------------------------------------------------------
# Name: etg/_media.py
# Author: Dietmar Schwertberger
#
# Created: 13-Nov-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_media.py
# Author: Dietmar Schwertberger
#
# Created: 13-Nov-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------... | |
41,819 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_msw.py | 47,48 | 1,77 | run | 48,75 | 48,75 | # ---------------------------------------------------------------------------
# Name: etg/_msw.py
# Author: Dietmar Schwertberger
#
# Created: 13-Nov-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
# -----------------------------------------------------------... | # ---------------------------------------------------------------------------
# Name: etg/_msw.py
# Author: Dietmar Schwertberger
#
# Created: 13-Nov-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
# -----------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
# -----------------------------------------------------------------
# Tweak the parsed meta objects... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
# -----------------------------------------------------------------
# Tweak the parsed meta objects... | 83 | 478 | 306 | 784 | # ---------------------------------------------------------------------------
# Name: etg/_msw.py
# Author: Dietmar Schwertberger
#
# Created: 13-Nov-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
# -----------------------------------------------------------... | # ---------------------------------------------------------------------------
# Name: etg/_msw.py
# Author: Dietmar Schwertberger
#
# Created: 13-Nov-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
# -----------------------------------------------------------... | |
41,820 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_propgrid.py | 49,50 | 1,83 | run | 50,81 | 50,81 | #---------------------------------------------------------------------------
# Name: etg/_propgrid.py
# Author: Robin Dunn
#
# Created: 23-Feb-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_propgrid.py
# Author: Robin Dunn
#
# Created: 23-Feb-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | 61 | 458 | 316 | 774 | #---------------------------------------------------------------------------
# Name: etg/_propgrid.py
# Author: Robin Dunn
#
# Created: 23-Feb-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_propgrid.py
# Author: Robin Dunn
#
# Created: 23-Feb-2015
# Copyright: (c) 2015-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | |
41,821 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_ribbon.py | 52,53 | 1,78 | run | 53,75 | 53,75 | #---------------------------------------------------------------------------
# Name: etg/_ribbon.py
# Author: Robin Dunn
#
# Created: 20-Jun-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_ribbon.py
# Author: Robin Dunn
#
# Created: 20-Jun-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING,
check4unittest = False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak th... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING,
check4unittest = False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak th... | 54 | 526 | 224 | 750 | #---------------------------------------------------------------------------
# Name: etg/_ribbon.py
# Author: Robin Dunn
#
# Created: 20-Jun-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_ribbon.py
# Author: Robin Dunn
#
# Created: 20-Jun-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | |
41,822 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_richtext.py | 57,58 | 1,93 | run | 58,91 | 58,91 | #---------------------------------------------------------------------------
# Name: etg/_richtext.py
# Author: Robin Dunn
#
# Created: 27-Oct-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_richtext.py
# Author: Robin Dunn
#
# Created: 27-Oct-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING,
check4unittest = False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak th... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING,
check4unittest = False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak th... | 84 | 571 | 329 | 900 | #---------------------------------------------------------------------------
# Name: etg/_richtext.py
# Author: Robin Dunn
#
# Created: 27-Oct-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_richtext.py
# Author: Robin Dunn
#
# Created: 27-Oct-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | |
41,824 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/_xml.py | 48,49 | 1,112 | run | 49,110 | 49,110 | #---------------------------------------------------------------------------
# Name: etg/_xml.py
# Author: Robin Dunn
#
# Created: 28-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_xml.py
# Author: Robin Dunn
#
# Created: 28-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
module.check4unittest = False
#-----------------------------------------------------------------
# Tweak the parsed meta objects ... | 120 | 447 | 614 | 1,061 | #---------------------------------------------------------------------------
# Name: etg/_xml.py
# Author: Robin Dunn
#
# Created: 28-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/_xml.py
# Author: Robin Dunn
#
# Created: 28-Nov-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------------... | |
41,826 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/aboutdlg.py | 25,26 | 1,62 | run | 26,59 | 26,59 | #---------------------------------------------------------------------------
# Name: etg/aboutdlg.py
# Author: Robin Dunn
#
# Created: 22-Mar-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/aboutdlg.py
# Author: Robin Dunn
#
# Created: 22-Mar-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 93 | 215 | 351 | 566 | #---------------------------------------------------------------------------
# Name: etg/aboutdlg.py
# Author: Robin Dunn
#
# Created: 22-Mar-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/aboutdlg.py
# Author: Robin Dunn
#
# Created: 22-Mar-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | |
41,827 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/accel.py | 26,27 | 1,127 | run | 27,124 | 27,124 | #---------------------------------------------------------------------------
# Name: etg/accel.py
# Author: Kevin Ollivier
# Robin Dunn
#
# Created: 06-Sept-2011
# Copyright: (c) 2011 by Wide Open Technologies
# Copyright: (c) 2013-2020 by Total Control Software
# License: wxWindows... | #---------------------------------------------------------------------------
# Name: etg/accel.py
# Author: Kevin Ollivier
# Robin Dunn
#
# Created: 06-Sept-2011
# Copyright: (c) 2011 by Wide Open Technologies
# Copyright: (c) 2013-2020 by Total Control Software
# License: wxWindows... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 335 | 245 | 1,210 | 1,455 | #---------------------------------------------------------------------------
# Name: etg/accel.py
# Author: Kevin Ollivier
# Robin Dunn
#
# Created: 06-Sept-2011
# Copyright: (c) 2011 by Wide Open Technologies
# Copyright: (c) 2013-2020 by Total Control Software
# License: wxWindows... | #---------------------------------------------------------------------------
# Name: etg/accel.py
# Author: Kevin Ollivier
# Robin Dunn
#
# Created: 06-Sept-2011
# Copyright: (c) 2011 by Wide Open Technologies
# Copyright: (c) 2013-2020 by Total Control Software
# License: wxWindows... | |
41,828 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/access.py | 25,26 | 1,69 | run | 26,66 | 26,66 | #---------------------------------------------------------------------------
# Name: etg/access.py
# Author: Robin Dunn
#
# Created: 08-Oct-2018
# Copyright: (c) 2018-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/access.py
# Author: Robin Dunn
#
# Created: 08-Oct-2018
# Copyright: (c) 2018-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 102 | 210 | 488 | 698 | #---------------------------------------------------------------------------
# Name: etg/access.py
# Author: Robin Dunn
#
# Created: 08-Oct-2018
# Copyright: (c) 2018-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/access.py
# Author: Robin Dunn
#
# Created: 08-Oct-2018
# Copyright: (c) 2018-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | |
41,829 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/activityindicator.py | 25,26 | 1,48 | run | 26,45 | 26,45 | #---------------------------------------------------------------------------
# Name: etg/activityindicator.py
# Author: Robin Dunn
#
# Created: 29-Oct-2019
# Copyright: (c) 2019-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/activityindicator.py
# Author: Robin Dunn
#
# Created: 29-Oct-2019
# Copyright: (c) 2019-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 51 | 216 | 188 | 404 | #---------------------------------------------------------------------------
# Name: etg/activityindicator.py
# Author: Robin Dunn
#
# Created: 29-Oct-2019
# Copyright: (c) 2019-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/activityindicator.py
# Author: Robin Dunn
#
# Created: 29-Oct-2019
# Copyright: (c) 2019-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------... | |
41,830 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/affinematrix2d.py | 27,28 | 1,61 | run | 28,58 | 28,58 | #---------------------------------------------------------------------------
# Name: etg/affinematrix2d.py
# Author: Robin Dunn
#
# Created: 04-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/affinematrix2d.py
# Author: Robin Dunn
#
# Created: 04-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 76 | 244 | 325 | 569 | #---------------------------------------------------------------------------
# Name: etg/affinematrix2d.py
# Author: Robin Dunn
#
# Created: 04-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/affinematrix2d.py
# Author: Robin Dunn
#
# Created: 04-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------... | |
41,831 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/animate.py | 30,31 | 1,115 | run | 31,112 | 31,112 | #---------------------------------------------------------------------------
# Name: etg/animate.py
# Author: Robin Dunn
#
# Created: 21-May-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/animate.py
# Author: Robin Dunn
#
# Created: 21-May-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 229 | 252 | 839 | 1,091 | #---------------------------------------------------------------------------
# Name: etg/animate.py
# Author: Robin Dunn
#
# Created: 21-May-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/animate.py
# Author: Robin Dunn
#
# Created: 21-May-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | |
41,832 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/anybutton.py | 24,25 | 1,46 | run | 25,43 | 25,43 | #---------------------------------------------------------------------------
# Name: etg/anybutton.py
# Author: Robin Dunn
#
# Created: 03-Nov-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/anybutton.py
# Author: Robin Dunn
#
# Created: 03-Nov-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING, False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as nee... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING, False)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as nee... | 54 | 210 | 184 | 394 | #---------------------------------------------------------------------------
# Name: etg/anybutton.py
# Author: Robin Dunn
#
# Created: 03-Nov-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/anybutton.py
# Author: Robin Dunn
#
# Created: 03-Nov-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | |
41,834 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/apptrait.py | 24,25 | 1,66 | run | 25,63 | 25,63 | #---------------------------------------------------------------------------
# Name: etg/apptrait.py
# Author: Robin Dunn
#
# Created: 22-Nov-2010
# Copyright: (c) 2010-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/apptrait.py
# Author: Robin Dunn
#
# Created: 22-Nov-2010
# Copyright: (c) 2010-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 96 | 213 | 360 | 573 | #---------------------------------------------------------------------------
# Name: etg/apptrait.py
# Author: Robin Dunn
#
# Created: 22-Nov-2010
# Copyright: (c) 2010-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/apptrait.py
# Author: Robin Dunn
#
# Created: 22-Nov-2010
# Copyright: (c) 2010-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | |
41,835 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/artprov.py | 25,26 | 1,65 | run | 26,62 | 26,62 | #---------------------------------------------------------------------------
# Name: etg/artprov.py
# Author: Robin Dunn
#
# Created: 07-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/artprov.py
# Author: Robin Dunn
#
# Created: 07-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 90 | 212 | 365 | 577 | #---------------------------------------------------------------------------
# Name: etg/artprov.py
# Author: Robin Dunn
#
# Created: 07-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/artprov.py
# Author: Robin Dunn
#
# Created: 07-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | |
41,836 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/auibar.py | 29,30 | 1,68 | run | 30,65 | 30,65 | #---------------------------------------------------------------------------
# Name: etg/auibar.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auibar.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 91 | 258 | 508 | 766 | #---------------------------------------------------------------------------
# Name: etg/auibar.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auibar.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | |
41,837 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/auibook.py | 32,33 | 1,112 | run | 33,109 | 33,109 | #---------------------------------------------------------------------------
# Name: etg/auibook.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auibook.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 255 | 285 | 1,445 | 1,730 | #---------------------------------------------------------------------------
# Name: etg/auibook.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auibook.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | |
41,838 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/auidockart.py | 26,27 | 1,49 | run | 27,46 | 27,46 | #---------------------------------------------------------------------------
# Name: etg/auidockart.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auidockart.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 50 | 231 | 180 | 411 | #---------------------------------------------------------------------------
# Name: etg/auidockart.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auidockart.py
# Author: Robin Dunn
#
# Created: 26-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#------------------------------------------------------------------... | |
41,839 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/auiframemanager.py | 30,31 | 1,86 | run | 31,83 | 31,83 | #---------------------------------------------------------------------------
# Name: etg/auiframemanager.py
# Author: Robin Dunn
#
# Created: 25-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auiframemanager.py
# Author: Robin Dunn
#
# Created: 25-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 118 | 270 | 738 | 1,008 | #---------------------------------------------------------------------------
# Name: etg/auiframemanager.py
# Author: Robin Dunn
#
# Created: 25-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auiframemanager.py
# Author: Robin Dunn
#
# Created: 25-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------... | |
41,840 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/auitabmdi.py | 27,28 | 1,64 | run | 28,61 | 28,61 | #---------------------------------------------------------------------------
# Name: etg/auitabmdi.py
# Author: Robin Dunn
#
# Created: 27-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auitabmdi.py
# Author: Robin Dunn
#
# Created: 27-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 75 | 245 | 359 | 604 | #---------------------------------------------------------------------------
# Name: etg/auitabmdi.py
# Author: Robin Dunn
#
# Created: 27-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/auitabmdi.py
# Author: Robin Dunn
#
# Created: 27-Oct-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#-------------------------------------------------------------------... | |
41,841 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/axbase.py | 25,26 | 1,102 | run | 26,99 | 26,99 | #---------------------------------------------------------------------------
# Name: etg/axbase.py
# Author: Robin Dunn
#
# Created: 13-May-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/axbase.py
# Author: Robin Dunn
#
# Created: 13-May-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# The wxPyAxBaseWindow class does not come from the parsed Doxygen... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# The wxPyAxBaseWindow class does not come from the parsed Doxygen... | 244 | 228 | 915 | 1,143 | #---------------------------------------------------------------------------
# Name: etg/axbase.py
# Author: Robin Dunn
#
# Created: 13-May-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/axbase.py
# Author: Robin Dunn
#
# Created: 13-May-2016
# Copyright: (c) 2016-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------------... | |
41,842 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/bannerwindow.py | 25,26 | 1,54 | run | 26,51 | 26,51 | #---------------------------------------------------------------------------
# Name: etg/bannerwindow.py
# Author: Robin Dunn
#
# Created: 21-May-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/bannerwindow.py
# Author: Robin Dunn
#
# Created: 21-May-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 80 | 216 | 286 | 502 | #---------------------------------------------------------------------------
# Name: etg/bannerwindow.py
# Author: Robin Dunn
#
# Created: 21-May-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/bannerwindow.py
# Author: Robin Dunn
#
# Created: 21-May-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#----------------------------------------------------------------... | |
41,844 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/bmpbndl.py | 27,28 | 1,113 | run | 28,110 | 28,110 | #---------------------------------------------------------------------------
# Name: etg/bmpbndl.py
# Author: Scott Talbert
#
# Created: 13-Apr-2022
# Copyright: (c) 2022 by Scott Talbert
# License: wxWindows License
#---------------------------------------------------------------------------
imp... | #---------------------------------------------------------------------------
# Name: etg/bmpbndl.py
# Author: Scott Talbert
#
# Created: 13-Apr-2022
# Copyright: (c) 2022 by Scott Talbert
# License: wxWindows License
#---------------------------------------------------------------------------
imp... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 270 | 231 | 1,290 | 1,521 | #---------------------------------------------------------------------------
# Name: etg/bmpbndl.py
# Author: Scott Talbert
#
# Created: 13-Apr-2022
# Copyright: (c) 2022 by Scott Talbert
# License: wxWindows License
#---------------------------------------------------------------------------
imp... | #---------------------------------------------------------------------------
# Name: etg/bmpbndl.py
# Author: Scott Talbert
#
# Created: 13-Apr-2022
# Copyright: (c) 2022 by Scott Talbert
# License: wxWindows License
#---------------------------------------------------------------------------
imp... | |
41,845 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/bmpbuttn.py | 24,25 | 1,51 | run | 25,48 | 25,48 | #---------------------------------------------------------------------------
# Name: etg/bmpbuttn.py
# Author: Robin Dunn
#
# Created: 31-Aug-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/bmpbuttn.py
# Author: Robin Dunn
#
# Created: 31-Aug-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 57 | 215 | 234 | 449 | #---------------------------------------------------------------------------
# Name: etg/bmpbuttn.py
# Author: Robin Dunn
#
# Created: 31-Aug-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/bmpbuttn.py
# Author: Robin Dunn
#
# Created: 31-Aug-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | |
41,846 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/bmpcbox.py | 25,26 | 1,104 | run | 26,101 | 26,101 | #---------------------------------------------------------------------------
# Name: etg/bmpcbox.py
# Author: Robin Dunn
#
# Created: 05-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/bmpcbox.py
# Author: Robin Dunn
#
# Created: 05-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 277 | 219 | 980 | 1,199 | #---------------------------------------------------------------------------
# Name: etg/bmpcbox.py
# Author: Robin Dunn
#
# Created: 05-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/bmpcbox.py
# Author: Robin Dunn
#
# Created: 05-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | |
41,847 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/bookctrl.py | 27,28 | 1,55 | run | 28,52 | 28,52 | #---------------------------------------------------------------------------
# Name: etg/bookctrl.py
# Author: Robin Dunn
#
# Created: 31-Aug-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/bookctrl.py
# Author: Robin Dunn
#
# Created: 31-Aug-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 69 | 238 | 241 | 479 | #---------------------------------------------------------------------------
# Name: etg/bookctrl.py
# Author: Robin Dunn
#
# Created: 31-Aug-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/bookctrl.py
# Author: Robin Dunn
#
# Created: 31-Aug-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | |
41,848 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/brush.py | 24,25 | 1,109 | run | 25,106 | 25,106 | #---------------------------------------------------------------------------
# Name: etg/brush.py
# Author: Robin Dunn
#
# Created: 2-Sept-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/brush.py
# Author: Robin Dunn
#
# Created: 2-Sept-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 309 | 215 | 1,168 | 1,383 | #---------------------------------------------------------------------------
# Name: etg/brush.py
# Author: Robin Dunn
#
# Created: 2-Sept-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/brush.py
# Author: Robin Dunn
#
# Created: 2-Sept-2011
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | |
41,849 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/busyinfo.py | 26,27 | 1,54 | run | 27,51 | 27,51 | #---------------------------------------------------------------------------
# Name: etg/busyinfo.py
# Author: Robin Dunn
#
# Created: 16-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/busyinfo.py
# Author: Robin Dunn
#
# Created: 16-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 67 | 224 | 261 | 485 | #---------------------------------------------------------------------------
# Name: etg/busyinfo.py
# Author: Robin Dunn
#
# Created: 16-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/busyinfo.py
# Author: Robin Dunn
#
# Created: 16-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#--------------------------------------------------------------------... | |
41,850 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/button.py | 25,26 | 1,50 | run | 26,47 | 26,47 | #---------------------------------------------------------------------------
# Name: etg/button.py
# Author: Kevin Ollivier
#
# Created: 27-Aug-2011
# Copyright: (c) 2011 by Wide Open Technologies
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#----------------... | #---------------------------------------------------------------------------
# Name: etg/button.py
# Author: Kevin Ollivier
#
# Created: 27-Aug-2011
# Copyright: (c) 2011 by Wide Open Technologies
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#----------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 51 | 228 | 202 | 430 | #---------------------------------------------------------------------------
# Name: etg/button.py
# Author: Kevin Ollivier
#
# Created: 27-Aug-2011
# Copyright: (c) 2011 by Wide Open Technologies
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#----------------... | #---------------------------------------------------------------------------
# Name: etg/button.py
# Author: Kevin Ollivier
#
# Created: 27-Aug-2011
# Copyright: (c) 2011 by Wide Open Technologies
# Copyright: (c) 2011-2020 by Total Control Software
# License: wxWindows License
#----------------... | |
41,851 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/calctrl.py | 27,28 | 1,100 | run | 28,97 | 28,97 | #---------------------------------------------------------------------------
# Name: etg/calctrl.py
# Author: Robin Dunn
#
# Created: 09-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/calctrl.py
# Author: Robin Dunn
#
# Created: 09-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 200 | 227 | 1,111 | 1,338 | #---------------------------------------------------------------------------
# Name: etg/calctrl.py
# Author: Robin Dunn
#
# Created: 09-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/calctrl.py
# Author: Robin Dunn
#
# Created: 09-Apr-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------... | |
41,852 | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix | /home/hieuvd/dung_repo/raw/stars_02/wxWidgets_Phoenix/Phoenix/etg/caret.py | 25,26 | 1,55 | run | 26,52 | 26,52 | #---------------------------------------------------------------------------
# Name: etg/caret.py
# Author: Robin Dunn
#
# Created: 17-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/caret.py
# Author: Robin Dunn
#
# Created: 17-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | # Parse the XML file(s) building a collection of Extractor objects
module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING)
etgtools.parseDoxyXML(module, ITEMS)
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for... | 66 | 212 | 296 | 508 | #---------------------------------------------------------------------------
# Name: etg/caret.py
# Author: Robin Dunn
#
# Created: 17-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... | #---------------------------------------------------------------------------
# Name: etg/caret.py
# Author: Robin Dunn
#
# Created: 17-Jun-2012
# Copyright: (c) 2012-2020 by Total Control Software
# License: wxWindows License
#-----------------------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.