rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
raise "\nERROR: Invalid Item" | raise Exception("\nERROR: Invalid Item") | def GetItemType(self, item): """ Returns the item type: 0: normal 1: checkbox item 2: radiobutton item """ | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def IsVisible(self, item): """Returns whether the item is visible or not.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def ItemHasChildren(self, item): """Returns whether the item has children or not.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def IsExpanded(self, item): """Returns whether the item is expanded or not.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def IsSelected(self, item): """Returns whether the item is selected or not.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def IsBold(self, item): """Returns whether the item font is bold or not.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def IsItalic(self, item): """Returns whether the item font is italic or not.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetItemParent(self, item): """Gets the item parent.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetFirstChild(self, item): """Gets the item first child.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetNextChild(self, item, cookie): """ Gets the item next child based on the 'cookie' parameter. This method has no sense if you do not call GetFirstChild() before. """ | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetLastChild(self, item): """Gets the item last child.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetNextSibling(self, item): """Gets the next sibling of an item.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetPrevSibling(self, item): """Gets the previous sibling of an item.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetNext(self, item): """Gets the next item. Only for internal use right now.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetNextVisible(self, item): """Returns the next visible item.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " raise "\nERROR: Not Implemented" | raise Exception("\nERROR: Invalid Tree Item. ") raise Exception("\nERROR: Not Implemented") | def GetPrevVisible(self, item): | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def DoInsertItem(self, parentId, previous, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Actually inserts an item in the tree.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def DoInsertItem(self, parentId, previous, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Actually inserts an item in the tree.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Item Type Should Be 0 (Normal), 1 (CheckBox) or 2 (RadioButton). " | raise Exception("\nERROR: Item Type Should Be 0 (Normal), 1 (CheckBox) or 2 (RadioButton). ") | def DoInsertItem(self, parentId, previous, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Actually inserts an item in the tree.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Tree Can Have Only One Root" | raise Exception("\nERROR: Tree Can Have Only One Root") | def AddRoot(self, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Adds a root to the CustomTreeCtrl. Only one root must exist.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def AddRoot(self, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Adds a root to the CustomTreeCtrl. Only one root must exist.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def AddRoot(self, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Adds a root to the CustomTreeCtrl. Only one root must exist.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Item Type Should Be 0 (Normal), 1 (CheckBox) or 2 (RadioButton). " | raise Exception("\nERROR: Item Type Should Be 0 (Normal), 1 (CheckBox) or 2 (RadioButton). ") | def AddRoot(self, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Adds a root to the CustomTreeCtrl. Only one root must exist.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def PrependItem(self, parent, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Appends an item as a first child of parent.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def PrependItem(self, parent, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Appends an item as a first child of parent.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def InsertItemByItem(self, parentId, idPrevious, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Auxiliary function to cope with the C++ hideous multifunction.""" if wnd is not None and not (self._windowStyle & TR_HAS_VARIABLE_ROW_HEIGHT): raise "\nERROR: In Order To Append/Insert Controls You Have To... | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def InsertItemByItem(self, parentId, idPrevious, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Auxiliary function to cope with the C++ hideous multifunction.""" if wnd is not None and not (self._windowStyle & TR_HAS_VARIABLE_ROW_HEIGHT): raise "\nERROR: In Order To Append/Insert Controls You Have To... | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "ERROR: Previous Item In CustomTreeCtrl.InsertItem() Is Not A Sibling" | raise Exception("ERROR: Previous Item In CustomTreeCtrl.InsertItem() Is Not A Sibling") | def InsertItemByItem(self, parentId, idPrevious, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Auxiliary function to cope with the C++ hideous multifunction.""" if wnd is not None and not (self._windowStyle & TR_HAS_VARIABLE_ROW_HEIGHT): raise "\nERROR: In Order To Append/Insert Controls You Have To... | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def InsertItemByIndex(self, parentId, before, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Auxiliary function to cope with the C++ hideous multifunction.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def InsertItemByIndex(self, parentId, before, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Auxiliary function to cope with the C++ hideous multifunction.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def InsertItem(self, parentId, input, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Inserts an item after the given previous.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def InsertItem(self, parentId, input, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Inserts an item after the given previous.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert Controls You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def AppendItem(self, parentId, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Appends an item as a last child of its parent.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT" | raise Exception("\nERROR: In Order To Append/Insert A MultiLine Text You Have To Use The Style TR_HAS_VARIABLE_ROW_HEIGHT") | def AppendItem(self, parentId, text, ct_type=0, wnd=None, image=-1, selImage=-1, data=None): """Appends an item as a last child of its parent.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def DeleteChildren(self, item): """Delete item children.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def Delete(self, item): """Delete an item.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def Expand(self, item): """ Expands an item, sending a EVT_TREE_ITEM_EXPANDING and EVT_TREE_ITEM_EXPANDED events. """ | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Can't Expand An Hidden Root. " | raise Exception("\nERROR: Can't Expand An Hidden Root. ") | def Expand(self, item): """ Expands an item, sending a EVT_TREE_ITEM_EXPANDING and EVT_TREE_ITEM_EXPANDED events. """ | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def ExpandAll(self, item): """Expands all the items.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def Collapse(self, item): """ Collapse an item, sending a EVT_TREE_ITEM_COLLAPSING and EVT_TREE_ITEM_COLLAPSED events. """ | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Can't Collapse An Hidden Root. " | raise Exception("\nERROR: Can't Collapse An Hidden Root. ") | def Collapse(self, item): """ Collapse an item, sending a EVT_TREE_ITEM_COLLAPSING and EVT_TREE_ITEM_COLLAPSED events. """ | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def DoSelectItem(self, item, unselect_others=True, extended_select=False): """Actually selects/unselects an item, sending a EVT_TREE_SEL_CHANGED event.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def SelectItem(self, item, select=True): """Selects/deselects an item.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
if item.HasChildren(): | if item.HasChildren() and item.IsExpanded(): | def FillArray(self, item, array=[]): """ Internal function. Used to populate an array of selected items when the style TR_MULTIPLE is used. """ | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def EnsureVisible(self, item): """Ensure that an item is visible in CustomTreeCtrl.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def SortChildren(self, item): """ Sorts the children of the given item using OnCompareItems method of CustomTreeCtrl. You should override that method to change the sort order (the default is ascending case-sensitive alphabetical order). """ | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Invalid Tree Item. " | raise Exception("\nERROR: Invalid Tree Item. ") | def GetBoundingRect(self, item, textOnly=False): """Gets the bounding rectangle of the item.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
raise "\nERROR: Thawing Unfrozen Tree Control?" | raise Exception("\nERROR: Thawing Unfrozen Tree Control?") | def Thaw(self): """Thaw CustomTreeCtrl.""" | e1463b9df091ad0e9d76292564d4389882b28de1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/e1463b9df091ad0e9d76292564d4389882b28de1/customtreectrl.py |
wxWindow.SetBackgroundColour(self, colour) | wxControl.SetBackgroundColour(self, colour) | def SetBackgroundColour(self, colour): wxWindow.SetBackgroundColour(self, colour) | 1278f7fcc56529b33d3874dae6c4e5e6a2aa49b0 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/1278f7fcc56529b33d3874dae6c4e5e6a2aa49b0/buttons.py |
sx -= parent._rlSize | sx -= parent.GetRowLabelSize() | def _GetInsertionInfo(self): parent = self.GetParent() sx = parent.GetViewStart()[0] * self.ux sx -= parent._rlSize x = self.GetPosition()[0] w = self.GetSize()[0] sCol = parent.XToCol(x + sx) eCol = parent.XToCol(x + w + sx) iPos = xPos = xCol = 99999 centerPos = x + sx + (w / 2) | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
sy -= parent._clSize | sy -= parent.GetColLabelSize() | def _GetInsertionInfo(self): parent = self.GetParent() sy = parent.GetViewStart()[1] * self.uy sy -= parent._clSize y = self.GetPosition()[1] h = self.GetSize()[1] sRow = parent.YToRow(y + sy) eRow = parent.YToRow(y + h + sy) iPos = yPos = yRow = 99999 centerPos = y + sy + (h / 2) | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
self.grid._rlSize = self.grid.GetRowLabelSize() | def __init__(self,grid): wx.EvtHandler.__init__(self) | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py | |
if px < 0 + self.grid._rlSize: px = 0 + self.grid._rlSize if px > w - self.colWin.GetSize()[0] + self.grid._rlSize: px = w - self.colWin.GetSize()[0] + self.grid._rlSize | if px < 0 + _rlSize: px = 0 + _rlSize if px > w - self.colWin.GetSize()[0] + _rlSize: px = w - self.colWin.GetSize()[0] + _rlSize | def OnMouseMove(self,evt): if self.isDragging: if abs(self.startX - evt.m_x) >= 3 \ and abs(evt.m_x - self.lastX) >= 3: self.lastX = evt.m_x self.didMove = True sx,y = self.grid.GetViewStart() w,h = self.lwin.GetClientSize() x = sx * self.ux | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
sx -= self.grid._rlSize | sx -= _rlSize | def OnPress(self,evt): self.startX = self.lastX = evt.m_x sx = self.grid.GetViewStart()[0] * self.ux sx -= self.grid._rlSize px,py = self.lwin.ClientToScreenXY(evt.m_x,evt.m_y) px,py = self.grid.ScreenToClientXY(px,py) | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
rect.x -= sx + self.grid._rlSize | rect.x -= sx + _rlSize | def OnPress(self,evt): self.startX = self.lastX = evt.m_x sx = self.grid.GetViewStart()[0] * self.ux sx -= self.grid._rlSize px,py = self.lwin.ClientToScreenXY(evt.m_x,evt.m_y) px,py = self.grid.ScreenToClientXY(px,py) | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
sx -= self.grid._rlSize | sx -= self.grid.GetRowLabelSize() | def OnRelease(self,evt): if self.isDragging: self.lwin.ReleaseMouse() self.colWin.Show(False) self.isDragging = False | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
self.grid._clSize = self.grid.GetColLabelSize() | def __init__(self,grid): wx.EvtHandler.__init__(self) | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py | |
if py < 0 + self.grid._clSize: py = 0 + self.grid._clSize if py > h - self.rowWin.GetSize()[1] + self.grid._clSize: py = h - self.rowWin.GetSize()[1] + self.grid._clSize | if py < 0 + _clSize: py = 0 + _clSize if py > h - self.rowWin.GetSize()[1] + _clSize: py = h - self.rowWin.GetSize()[1] + _clSize | def OnMouseMove(self,evt): if self.isDragging: if abs(self.startY - evt.m_y) >= 3 \ and abs(evt.m_y - self.lastY) >= 3: self.lastY = evt.m_y self.didMove = True x,sy = self.grid.GetViewStart() w,h = self.lwin.GetClientSizeTuple() y = sy * self.uy | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
sy -= self.grid._clSize | sy -= _clSize | def OnPress(self,evt): self.startY = self.lastY = evt.m_y sy = self.grid.GetViewStart()[1] * self.uy sy -= self.grid._clSize px,py = self.lwin.ClientToScreenXY(evt.m_x,evt.m_y) px,py = self.grid.ScreenToClientXY(px,py) | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
rect.y -= sy + self.grid._clSize | rect.y -= sy + _clSize | def OnPress(self,evt): self.startY = self.lastY = evt.m_y sy = self.grid.GetViewStart()[1] * self.uy sy -= self.grid._clSize px,py = self.lwin.ClientToScreenXY(evt.m_x,evt.m_y) px,py = self.grid.ScreenToClientXY(px,py) | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
sy -= self.grid._clSize | sy -= self.grid.GetColLabelSize() | def OnRelease(self,evt): if self.isDragging: self.lwin.ReleaseMouse() self.rowWin.Show(False) self.isDragging = False | a6c129111b38341eb561b110fd1566b260740675 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/a6c129111b38341eb561b110fd1566b260740675/gridmovers.py |
def SelectDay(self, key): sel_size = 1 # clear large selection if self.sel_key != None: (cfont, bgcolor) = self.__GetColorsForDay(self.sel_key) self.DrawRect(self.sel_key, bgcolor,cfont, sel_size) | dba0885d8c52d3a9a3e3f3887b525db57ba759f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/dba0885d8c52d3a9a3e3f3887b525db57ba759f7/calendar.py | ||
self.select_day = None | def SelectDay(self, key): sel_size = 1 # clear large selection if self.sel_key != None: (cfont, bgcolor) = self.__GetColorsForDay(self.sel_key) self.DrawRect(self.sel_key, bgcolor,cfont, sel_size) | dba0885d8c52d3a9a3e3f3887b525db57ba759f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/dba0885d8c52d3a9a3e3f3887b525db57ba759f7/calendar.py | |
self.result = None | def __init__(self, parent, month=None, day = None, year=None): wx.Dialog.__init__(self, parent, -1, "Event Calendar", wx.DefaultPosition, (280, 360)) | dba0885d8c52d3a9a3e3f3887b525db57ba759f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/dba0885d8c52d3a9a3e3f3887b525db57ba759f7/calendar.py | |
self.m_spin = wx.SpinButton(self, -1, (130, 20), (h*2, h), wx.SP_VERTICAL) | self.m_spin = wx.SpinButton(self, -1, (115, 20), (h*1.5, h), wx.SP_VERTICAL) | def __init__(self, parent, month=None, day = None, year=None): wx.Dialog.__init__(self, parent, -1, "Event Calendar", wx.DefaultPosition, (280, 360)) | dba0885d8c52d3a9a3e3f3887b525db57ba759f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/dba0885d8c52d3a9a3e3f3887b525db57ba759f7/calendar.py |
self.y_spin = wx.SpinButton(self, -1, (220, 20), (h*2, h), wx.SP_VERTICAL) | self.y_spin = wx.SpinButton(self, -1, (225, 20), (h*1.5, h), wx.SP_VERTICAL) | def __init__(self, parent, month=None, day = None, year=None): wx.Dialog.__init__(self, parent, -1, "Event Calendar", wx.DefaultPosition, (280, 360)) | dba0885d8c52d3a9a3e3f3887b525db57ba759f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/dba0885d8c52d3a9a3e3f3887b525db57ba759f7/calendar.py |
btn = wx.Button(self, -1, ' Ok ', (x_pos, y_pos), but_size) | btn = wx.Button(self, wx.ID_OK, ' Ok ', (x_pos, y_pos), but_size) | def __init__(self, parent, month=None, day = None, year=None): wx.Dialog.__init__(self, parent, -1, "Event Calendar", wx.DefaultPosition, (280, 360)) | dba0885d8c52d3a9a3e3f3887b525db57ba759f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/dba0885d8c52d3a9a3e3f3887b525db57ba759f7/calendar.py |
btn = wx.Button(self, -1, ' Close ', (x_pos + 120, y_pos), but_size) | btn = wx.Button(self, wx.ID_CANCEL, ' Close ', (x_pos + 120, y_pos), but_size) | def __init__(self, parent, month=None, day = None, year=None): wx.Dialog.__init__(self, parent, -1, "Event Calendar", wx.DefaultPosition, (280, 360)) | dba0885d8c52d3a9a3e3f3887b525db57ba759f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/dba0885d8c52d3a9a3e3f3887b525db57ba759f7/calendar.py |
def OnOk(self, event): | def OnOk(self, evt): self.result = ['None', str(self.calend.day), Month[self.calend.month], str(self.calend.year)] | def OnOk(self, event): self.EndModal(wx.ID_OK) | dba0885d8c52d3a9a3e3f3887b525db57ba759f7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/dba0885d8c52d3a9a3e3f3887b525db57ba759f7/calendar.py |
cmd = ['swig'] + swig_args + ['-I'+dir, '-c', '-o', cpp_file, i_file] | cmd = ['./wxSWIG/wxswig'] + swig_args + ['-I'+dir, '-c', '-o', cpp_file, i_file] | def run_swig(files, dir, gendir, package, USE_SWIG, force, swig_args, swig_deps=[]): from distutils.file_util import copy_file from distutils.dep_util import newer from distutils.spawn import spawn sources = [] for file in files: basefile = os.path.splitext(file)[0] i_file = os.path.join(dir, file) py_file = os.pa... | c90f71dd8c2ec6670edb45c39000a048bd163ae9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/c90f71dd8c2ec6670edb45c39000a048bd163ae9/my_distutils.py |
wxScrolledWindow.Refresh(self) | wxScrolledWindow.Refresh(self, false) | def Refresh(self): if self.doubleBuffered: self.painter.ClearBuffer() wxScrolledWindow.Refresh(self) | 5bfb891ef89f91b92ea270ab48f8a7375479430c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/5bfb891ef89f91b92ea270ab48f8a7375479430c/mvctree.py |
self.text = wxTextCtrl(self.frame, -1, "", style = wx.TE_MULTILINE | wx.TE_READONLY) | self.text = wx.TextCtrl(self.frame, -1, "", style = wx.TE_MULTILINE | wx.TE_READONLY) | def CreateOutputWindow(self, st): self.frame = wx.Frame(self.parent, -1, self.title, style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE) self.text = wxTextCtrl(self.frame, -1, "", style = wx.TE_MULTILINE | wx.TE_READONLY) self.frame.SetSize((450, 300)) self.frame.Show(True) EVT_CLOSE(self.frame, self.OnCloseW... | 64e8a1f072f09865b57ce399fa4401009e08d314 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/64e8a1f072f09865b57ce399fa4401009e08d314/_app_ex.py |
self.frame = wxFrame(None, -1, "Widget Tester", pos=(0,0), size=self.size) | self.frame = wx.Frame(None, -1, "Widget Tester", pos=(0,0), size=self.size) | def OnInit(self): self.frame = wxFrame(None, -1, "Widget Tester", pos=(0,0), size=self.size) self.SetTopWindow(self.frame) return True | 64e8a1f072f09865b57ce399fa4401009e08d314 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/64e8a1f072f09865b57ce399fa4401009e08d314/_app_ex.py |
def __str__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple()) | def __str__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple()) def __len__(self): return len(self.asTuple()) def __getitem__(self, index): return self.asTuple()[index] def __setitem__(self, index, val): if index == 0: self.width ... | def __str__(self): return str(self.asTuple()) | 211a46cf8271a93ad670effd0d2b742c6050f50f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/211a46cf8271a93ad670effd0d2b742c6050f50f/misc.py |
def __str__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple()) | def __str__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple()) def __len__(self): return len(self.asTuple()) def __getitem__(self, index): return self.asTuple()[index] def __setitem__(self, index, val): if index == 0: self.width ... | def __str__(self): return str(self.asTuple()) | 211a46cf8271a93ad670effd0d2b742c6050f50f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/211a46cf8271a93ad670effd0d2b742c6050f50f/misc.py |
def __str__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple()) | def __str__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple()) def __len__(self): return len(self.asTuple()) def __getitem__(self, index): return self.asTuple()[index] def __setitem__(self, index, val): if index == 0: self.x = va... | def __str__(self): return str(self.asTuple()) | 211a46cf8271a93ad670effd0d2b742c6050f50f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/211a46cf8271a93ad670effd0d2b742c6050f50f/misc.py |
def __str__(self): return str(self.asTuple()) def __repr__(self): return str(self.asTuple()) | def __str__(self): return str(self.asTuple()) | 211a46cf8271a93ad670effd0d2b742c6050f50f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/211a46cf8271a93ad670effd0d2b742c6050f50f/misc.py | |
def __del__(self,oglshapesc=oglshapesc): if self.thisown == 1 : oglshapesc.delete_wxOGLConstraint(self) | def __del__(self,oglshapesc=oglshapesc): if self.thisown == 1 : oglshapesc.delete_wxOGLConstraint(self) | 9ae9011bb432b6122e63b3b5a85ab78a3fac7442 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/9ae9011bb432b6122e63b3b5a85ab78a3fac7442/oglshapes.py | |
'six', 'seven', 'eight'], wxOK|wxCANCEL) | 'six', 'seven', 'eight'], wxDEFAULT_DIALOG_STYLE|wxOK|wxCANCEL) | def runTest(frame, nb, log): dlg = wxSingleChoiceDialog(frame, 'Test Single Choice', 'The Caption', ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight'], wxOK|wxCANCEL) if dlg.ShowModal() == wxID_OK: log.WriteText('You selected: %s\n' % dlg.GetStringSelection()) dlg.Destroy() | 8c14bc9170c549c44cef259546e6c80541be28e5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/8c14bc9170c549c44cef259546e6c80541be28e5/wxSingleChoiceDialog.py |
self.shiftkey = event.ShiftDown() self.ctrlkey = event.ControlDown() | def OnLeftEvent(self, event): self.click = 'LEFT' self.shiftkey = event.ShiftDown() self.ctrlkey = event.ControlDown() self.ProcessClick(event) | d819fba8aed9bb1bdbfa72867223835bb28e3a8e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/d819fba8aed9bb1bdbfa72867223835bb28e3a8e/calendar.py | |
b = wx.Button(self, -1, "Show the FloatBar sample", (50,50)) | b = wx.Button(self, -1, "Show the FloatCanvas sample", (50,50)) | def __init__(self, parent, log): self.log = log wx.Panel.__init__(self, parent, -1) | 9a8a6d250fffa398b692cd8e0cd98741fa3afd4f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/9a8a6d250fffa398b692cd8e0cd98741fa3afd4f/FloatCanvas.py |
self.html.SetPage(About.MyAboutBox.text % (wx.VERSION_STRING, py_version)) | self.html.SetPage(About.MyAboutBox.text % (wx.VERSION_STRING, ", ".join(wx.PlatformInfo[1:]), py_version)) | def __init__(self, parent, id=-1, size=wx.DefaultSize): | 89252543a53bd75f39d3708e4a1c5bde9264dbf3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/89252543a53bd75f39d3708e4a1c5bde9264dbf3/widgetTest.py |
libdirs = [opj(WXDIR, 'lib'), 'build\\ilib'] | libdirs = [ opj(WXDIR, 'lib') ] | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | d440a0e764687c595254539539b0cd6e3b075590 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/d440a0e764687c595254539539b0cd6e3b075590/setup.py |
libs = [wxdll] | libs = [ wxdll ] | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | d440a0e764687c595254539539b0cd6e3b075590 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/d440a0e764687c595254539539b0cd6e3b075590/setup.py |
libs = ['wx'+WXBCPPLIBVER] | libs = [ 'wx'+WXBCPPLIBVER ] | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | d440a0e764687c595254539539b0cd6e3b075590 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/d440a0e764687c595254539539b0cd6e3b075590/setup.py |
cflags = [ | cflags = [ '/Gy', | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | d440a0e764687c595254539539b0cd6e3b075590 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/d440a0e764687c595254539539b0cd6e3b075590/setup.py |
if bcpp_compiling: | if bcpp_compiling: | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | d440a0e764687c595254539539b0cd6e3b075590 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/d440a0e764687c595254539539b0cd6e3b075590/setup.py |
if not FINAL and HYBRID and not bcpp_compiling: cflags = cflags + ['/Od', '/Z7'] lflags = ['/DEBUG', ] elif bcpp_compiling and not FINAL: cflags = cflags + ['/Od', '/v', '/y'] lflags = lflags + ['/v', ] | if not FINAL: cflags = cflags + ['/Od', '/v', '/y'] lflags = lflags + ['/v', ] else: if FINAL: pass elif HYBRID : pass else: pass | def libFlag(): if FINAL: rv = '' elif HYBRID: rv = 'h' else: rv = 'd' if UNICODE: rv = 'u' + rv return rv | d440a0e764687c595254539539b0cd6e3b075590 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/d440a0e764687c595254539539b0cd6e3b075590/setup.py |
self.SetValue(calltip) | self.Clear() self.AppendText(calltip) | def display(self, calltip): """Receiver for Shell.calltip signal.""" self.SetValue(calltip) | 07b87e8d9b49b46bbe71d414feb35db2be278586 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/07b87e8d9b49b46bbe71d414feb35db2be278586/crust.py |
self._pen = wx.Pen(wx.BLACK, 1, wx.SOLID) | self._pen = BlackForegroundPen | def __init__(self, canvas = None): ShapeEvtHandler.__init__(self) self._eventHandler = self self.SetShape(self) self._id = 0 self._formatted = False self._canvas = canvas self._xpos = 0.0 self._ypos = 0.0 self._pen = wx.Pen(wx.BLACK, 1, wx.SOLID) self._brush = wx.WHITE_BRUSH self._font = wx.Font(10, wx.SWISS, wx.NORMA... | ca501b065e61b5cc3ecc72630e683779dc5eda01 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/ca501b065e61b5cc3ecc72630e683779dc5eda01/_basic.py |
self._font = wx.Font(10, wx.SWISS, wx.NORMAL, wx.NORMAL) | self._font = NormalFont | def __init__(self, canvas = None): ShapeEvtHandler.__init__(self) self._eventHandler = self self.SetShape(self) self._id = 0 self._formatted = False self._canvas = canvas self._xpos = 0.0 self._ypos = 0.0 self._pen = wx.Pen(wx.BLACK, 1, wx.SOLID) self._brush = wx.WHITE_BRUSH self._font = wx.Font(10, wx.SWISS, wx.NORMA... | ca501b065e61b5cc3ecc72630e683779dc5eda01 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/ca501b065e61b5cc3ecc72630e683779dc5eda01/_basic.py |
region.SetFont(wx.Font(10, wx.SWISS, wx.NORMAL, wx.NORMAL)) | region.SetFont(NormalFont) | def __init__(self, canvas = None): ShapeEvtHandler.__init__(self) self._eventHandler = self self.SetShape(self) self._id = 0 self._formatted = False self._canvas = canvas self._xpos = 0.0 self._ypos = 0.0 self._pen = wx.Pen(wx.BLACK, 1, wx.SOLID) self._brush = wx.WHITE_BRUSH self._font = wx.Font(10, wx.SWISS, wx.NORMA... | ca501b065e61b5cc3ecc72630e683779dc5eda01 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/ca501b065e61b5cc3ecc72630e683779dc5eda01/_basic.py |
if '-D__WXDEBUG__' in cflags: gl_libs = ['wx_gtkd_gl', 'GL', 'GLU'] else: gl_libs = ['wx_gtk_gl', 'GL', 'GLU'] | gl_libs = os.popen(WX_CONFIG + ' --gl-libs', 'r').read()[:-1] gl_libs = string.split(gl_libs) | def opj(*args): path = apply(os.path.join, args) return os.path.normpath(path) | 3a922bb4bd8dbcb04e31e324648c2912e167e0cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/3a922bb4bd8dbcb04e31e324648c2912e167e0cd/setup.py |
libraries = libs + gl_libs, extra_compile_args = cflags, extra_link_args = lflags, | libraries = libs, extra_compile_args = cflags, extra_link_args = gl_libs + lflags, | def opj(*args): path = apply(os.path.join, args) return os.path.normpath(path) | 3a922bb4bd8dbcb04e31e324648c2912e167e0cd /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/3a922bb4bd8dbcb04e31e324648c2912e167e0cd/setup.py |
self.resizeCloumn(self, minWidth) | self.resizeColumn(self, minWidth) | def resizeLastColumn(self, minWidth): """ Resize the last column appropriately. | cb78099221e64fa9c09a6181a37a6b73a9d65d80 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/cb78099221e64fa9c09a6181a37a6b73a9d65d80/listctrl.py |
def OnOvrSize(evt, ovr=self.ovr): ovr.SetSize(evt.GetSize()) | 11926a783769b28616e87133e6173eda2f940a5c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/11926a783769b28616e87133e6173eda2f940a5c/Main.py | ||
new_vs_x = cpos.x / sppu_x | new_vs_x = vs_x + (cpos.x / sppu_x) | def OnChildFocus(self, evt): # If the child window that gets the focus is not visible, # this handler will try to scroll enough to see it. evt.Skip() child = evt.GetWindow() | 80097f32fe00133de39e198f2af0a78fdbb258fc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/80097f32fe00133de39e198f2af0a78fdbb258fc/scrolledpanel.py |
new_vs_y = cpos.y / sppu_y | new_vs_y = vs_y + (cpos.y / sppu_y) | def OnChildFocus(self, evt): # If the child window that gets the focus is not visible, # this handler will try to scroll enough to see it. evt.Skip() child = evt.GetWindow() | 80097f32fe00133de39e198f2af0a78fdbb258fc /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/80097f32fe00133de39e198f2af0a78fdbb258fc/scrolledpanel.py |
def IsAcceptedKey(self, evt): """ Return True to allow the given key to start editing: the base class version only checks that the event has no modifiers. F2 is special and will always start the editor. """ self.log.write("MyCellEditor: IsAcceptedKey: %d\n" % (evt.GetKeyCode())) | 80445715595742d9dac76cabe11b4cd596beba9a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/80445715595742d9dac76cabe11b4cd596beba9a/GridCustEditor.py | ||
self.SetBackgroundColour(self._bc) | if wx.Platform != "__WXMAC__": self.SetBackgroundColour(self._bc) | def createDialog( self, parent, id, pos, size, style ): """Setup the graphic representation of the dialog""" wx.Panel.__init__ (self, parent, id, pos, size, style) self.SetMinSize(size) # play nice with sizers | acb7a89ad05f804dabf4e371b572e8c2cca29d35 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/12725/acb7a89ad05f804dabf4e371b572e8c2cca29d35/filebrowsebutton.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.