Module CustomTreeCtrl :: Class TreeTextCtrl
[hide private]
[frames] | no frames]

Class TreeTextCtrl
source code

     object --+                    
              |                    
         Object --+                
                  |                
         EvtHandler --+            
                      |            
                 Window --+        
                          |        
              _core.Control --+    
                              |    
          wx._controls.TextCtrl --+
                                  |
                                 TreeTextCtrl

Control used for in-place edit.

Instance Methods [hide private]
  AcceptChanges(self)
Accepts/refuses the changes made by the user.
  Finish(self)
Finish editing.
  OnChar(self, event)
Handles the wx.EVT_CHAR event for TreeTextCtrl.
  OnKeyUp(self, event)
Handles the wx.EVT_KEY_UP event for TreeTextCtrl.
  OnKillFocus(self, event)
Handles the wx.EVT_KILL_FOCUS event for TreeTextCtrl.
  StopEditing(self)
Suddenly stops the editing.
  __init__(self, owner, item=None)
Default class constructor.
  item(self)
Returns the item currently edited.

Inherited from wx._controls.TextCtrl: AppendText, CanCopy, CanCut, CanPaste, CanRedo, CanUndo, Clear, Copy, Create, Cut, DiscardEdits, EmulateKeyPress, GetDefaultStyle, GetInsertionPoint, GetLastPosition, GetLineLength, GetLineText, GetNumberOfLines, GetRange, GetSelection, GetString, GetStringSelection, GetStyle, GetValue, HideNativeCaret, HitTest, HitTestPos, IsEditable, IsModified, IsMultiLine, IsSingleLine, LoadFile, MarkDirty, Paste, PositionToXY, Redo, Remove, Replace, SaveFile, SelectAll, SetDefaultStyle, SetEditable, SetInsertionPoint, SetInsertionPointEnd, SetMaxLength, SetSelection, SetStyle, SetValue, ShowNativeCaret, ShowPosition, Undo, WriteText, XYToPosition, __repr__, write

Inherited from wx._core.Control: Command, GetLabel, SetLabel

Inherited from wx._core.Window: AcceptsFocus, AcceptsFocusFromKeyboard, AddChild, AssociateHandle, CacheBestSize, CaptureMouse, Center, CenterOnParent, CenterOnScreen, Centre, CentreOnParent, CentreOnScreen, ClearBackground, ClientToScreen, ClientToScreenXY, Close, ConvertDialogPointToPixels, ConvertDialogSizeToPixels, ConvertPixelPointToDialog, ConvertPixelSizeToDialog, DLG_PNT, DLG_SZE, Destroy, DestroyChildren, Disable, DissociateHandle, DragAcceptFiles, Enable, FindWindowById, FindWindowByName, Fit, FitInside, Freeze, GetAcceleratorTable, GetAdjustedBestSize, GetAutoLayout, GetBackgroundColour, GetBackgroundStyle, GetBestFittingSize, GetBestSize, GetBestSizeTuple, GetBestVirtualSize, GetBorder, GetCaret, GetCharHeight, GetCharWidth, GetChildren, GetClientAreaOrigin, GetClientRect, GetClientSize, GetClientSizeTuple, GetConstraints, GetContainingSizer, GetCursor, GetDefaultAttributes, GetDefaultItem, GetDropTarget, GetEventHandler, GetExtraStyle, GetFont, GetForegroundColour, GetFullTextExtent, GetGrandParent, GetHandle, GetHelpText, GetId, GetMaxHeight, GetMaxSize, GetMaxWidth, GetMinHeight, GetMinSize, GetMinWidth, GetName, GetParent, GetPosition, GetPositionTuple, GetRect, GetScrollPos, GetScrollRange, GetScrollThumb, GetSize, GetSizeTuple, GetSizer, GetTextExtent, GetThemeEnabled, GetTitle, GetToolTip, GetUpdateClientRect, GetUpdateRegion, GetValidator, GetVirtualSize, GetVirtualSizeTuple, GetWindowStyle, GetWindowStyleFlag, GetWindowVariant, HasCapture, HasFlag, HasScrollbar, HasTransparentBackground, Hide, HitTestXY, InheritAttributes, InheritsBackgroundColour, InitDialog, InvalidateBestSize, IsBeingDeleted, IsEnabled, IsExposed, IsExposedPoint, IsExposedRect, IsRetained, IsShown, IsTopLevel, Layout, LineDown, LineUp, Lower, MakeModal, Move, MoveAfterInTabOrder, MoveBeforeInTabOrder, MoveXY, Navigate, OnPaint, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PrepareDC, PushEventHandler, Raise, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendSizeEvent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetBestFittingSize, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetCursor, SetDefaultItem, SetDimensions, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, SetFont, SetForegroundColour, SetHelpText, SetHelpTextForId, SetId, SetMaxSize, SetMinSize, SetName, SetOwnBackgroundColour, SetOwnFont, SetOwnForegroundColour, SetPosition, SetRect, SetScrollPos, SetScrollbar, SetSize, SetSizeHints, SetSizeHintsSz, SetSizeWH, SetSizer, SetSizerAndFit, SetThemeEnabled, SetTitle, SetTmpDefaultItem, SetToolTip, SetToolTipString, SetValidator, SetVirtualSize, SetVirtualSizeHints, SetVirtualSizeHintsSz, SetVirtualSizeWH, SetWindowStyle, SetWindowStyleFlag, SetWindowVariant, ShouldInheritColours, Show, Thaw, TransferDataFromWindow, TransferDataToWindow, UnregisterHotKey, Update, UpdateWindowUI, UseBgCol, Validate, WarpPointer

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, ProcessPendingEvents, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind

Inherited from wx._core.EvtHandler (private): _setOORInfo

Inherited from wx._core.Object: GetClassName

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__


Static Methods [hide private]

Inherited from wx._controls.TextCtrl: GetClassDefaultAttributes

Inherited from wx._core.Window: FindFocus, GetCapture, NewControlId, NextControlId, PrevControlId


Class Variables [hide private]

Inherited from object: __class__


Method Details [hide private]

AcceptChanges(self)

source code 
Accepts/refuses the changes made by the user.

Finish(self)

source code 
Finish editing.

OnChar(self, event)

source code 
Handles the wx.EVT_CHAR event for TreeTextCtrl.

OnKeyUp(self, event)

source code 
Handles the wx.EVT_KEY_UP event for TreeTextCtrl.

OnKillFocus(self, event)

source code 
Handles the wx.EVT_KILL_FOCUS event for TreeTextCtrl.

StopEditing(self)

source code 
Suddenly stops the editing.

__init__(self, owner, item=None)
(Constructor)

source code 
Default class constructor. For internal use: do not call it in your code!"
Overrides: wx._controls.TextCtrl.__init__

item(self)

source code 
Returns the item currently edited.