wx.lib.editor.editor.Editor¶ScrolledWindow() ScrolledWindow(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=ScrolledWindowStyle, name=PanelNameStr)
Scrolled window derived from wxPanel.
Methods Summary¶Initialize self. See help(type(self)) for accurate signature. |
|
AdjustScrollbars() |
|
get length of longest line on screen |
|
CanScroll(orient) -> bool |
|
Move(x, y, flags=SIZE_USE_EXISTING) |
|
Class API¶Editor(wx.ScrolledWindow)¶ScrolledWindow() ScrolledWindow(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=ScrolledWindowStyle, name=PanelNameStr)
Scrolled window derived from wxPanel.
__init__(self, parent, id, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0)¶Initialize self. See help(type(self)) for accurate signature.
AboveScreen(self, row)¶AdjustScrollbars(self)¶AdjustScrollbars()
AltKey(self, event, key)¶BackSpace(self, event)¶BelowScreen(self, row)¶BreakLine(self, event)¶BufferWasTouched(self)¶CalcMaxLineLen(self)¶get length of longest line on screen
CanScroll(self)¶CanScroll(orient) -> bool
Returns true if this window can have a scroll bar in this orientation.
cHoriz(self, num)¶ControlKey(self, event, key)¶CopySelection(self, event)¶CopyToClipboard(self, linesOfText)¶CurrentLineLength(self)¶cVert(self, num)¶Delete(self, event)¶DeleteChar(self, x, y, oldtext)¶Dispatch(self, keySettingFunction, key, event)¶Draw(self, odc=None)¶DrawCursor(self, dc = None)¶DrawEditText(self, t, x, y, dc)¶DrawEofMarker(self, dc)¶DrawLine(self, line, dc)¶DrawSimpleCursor(self, xp, yp, dc = None, old=False)¶Escape(self, event)¶FindSelection(self)¶GetText(self)¶GetTextLine(self, lineNum)¶HandleAboveScreen(self, row)¶HandleBelowScreen(self, row)¶HandleLeftOfScreen(self, col)¶HandleRightOfScreen(self, col)¶HorizBoundaries(self)¶HorizScroll(self, event, eventType)¶InitCoords(self)¶InitDoubleBuffering(self)¶InitFonts(self)¶InitScrolling(self)¶InsertChar(self, char)¶IsLine(self, lineNum)¶JoinLines(self)¶KeepCursorOnScreen(self)¶LeftOfScreen(self, col)¶LinesInFile(self)¶LoadImages(self)¶MapEvents(self)¶ModifierKey(self, key, event, modifierKeyDown, MappingFunc)¶MouseToCol(self, mouseX)¶MouseToCursor(self, event)¶MouseToRow(self, mouseY)¶Move(self, keySettingFunction, key, event)¶Move(x, y, flags=SIZE_USE_EXISTING) Move(pt, flags=SIZE_USE_EXISTING)
Moves the window to the given position.
MoveDown(self, event)¶MoveEnd(self, event)¶MoveEndOfFile(self, event)¶MoveHome(self, event)¶MoveLeft(self, event)¶MovePageDown(self, event)¶MovePageUp(self, event)¶MoveRight(self, event)¶MoveSpecialControlKey(self, event, key)¶MoveSpecialKey(self, event, key)¶MoveStartOfFile(self, event)¶MoveUp(self, event)¶MultipleLineCopy(self, bRow, bCol, eRow, eCol)¶MultipleLineDelete(self, bRow, bCol, eRow, eCol)¶MultipleLinePaste(self, pastedLines)¶NiceFontForPlatform(self)¶NormalChar(self, event, key)¶NormalizedSelect(self)¶OnChar(self, event)¶OnClick(self)¶OnCopySelection(self, event)¶OnCutSelection(self, event)¶OnDeleteSelection(self, event)¶OnDestroy(self, event)¶OnEraseBackground(self, evt)¶OnLeftDown(self, event)¶OnLeftUp(self, event)¶OnMotion(self, event)¶OnPaint(self, event)¶OnPaste(self, event)¶OnScroll(self, event)¶OnSize(self, event)¶OnTimer(self, event)¶RightOfScreen(self, col)¶SelectNotify(self, Selecting, SelectionBegin, SelectionEnd)¶SelectOff(self)¶SelectUpdate(self)¶SetAltFuncs(self, action)¶SetCharDimensions(self)¶SetColors(self)¶SetControlFuncs(self, action)¶SetMoveSpecialControlFuncs(self, action)¶SetMoveSpecialFuncs(self, action)¶SetScrollTimer(self)¶SetShiftFuncs(self, action)¶SetSpecialControlFuncs(self, action)¶SetSpecialFuncs(self, action)¶SetText(self, lines)¶SetTextLine(self, lineNum, text)¶ShiftKey(self, event, key)¶SingleLineCopy(self, Row, bCol, eCol)¶SingleLineDelete(self, Row, bCol, eCol)¶SingleLineInsert(self, newText)¶SpecialControlKey(self, event, key)¶TabKey(self, event)¶TouchBuffer(self)¶UnixKeyHack(self, key)¶UnTouchBuffer(self)¶UpdateView(self, dc = None)¶VertBoundaries(self)¶VertScroll(self, event, eventType)¶