AGW Logo

agw_title UltimateListTextCtrl

Control used for in-place edit.

This is a subclass of ExpandoTextCtrl as UltimateListCtrl supports multiline text items.

Note

To add a newline character in a multiline item, press Shift + Enter as the Enter key alone is consumed by UltimateListCtrl to finish the editing and Ctrl + Enter is consumed by the platform for tab navigation.

hierarchy Inheritance Diagram

Inheritance diagram for: UltimateListTextCtrl

Inheritance diagram of UltimateListTextCtrl


method_summary Methods Summary

__init__Default class constructor.
AcceptChangesAccepts/refuses the changes made by the user.
FinishFinish editing.
OnCharHandles the wx.EVT_CHAR event for UltimateListTextCtrl.
OnKeyUpHandles the wx.EVT_KEY_UP event for UltimateListTextCtrl.
OnKillFocusHandles the wx.EVT_KILL_FOCUS event for UltimateListTextCtrl.
StopEditingSuddenly stops the editing.

API Class API

class UltimateListTextCtrl(ExpandoTextCtrl)[source]

Control used for in-place edit.

This is a subclass of ExpandoTextCtrl as UltimateListCtrl supports multiline text items.

Note

To add a newline character in a multiline item, press Shift + Enter as the Enter key alone is consumed by UltimateListCtrl to finish the editing and Ctrl + Enter is consumed by the platform for tab navigation.



__init__(owner, itemEdit)[source]

Default class constructor. For internal use: do not call it in your code!

Parameters:


AcceptChanges()[source]

Accepts/refuses the changes made by the user.



Finish()[source]

Finish editing.



OnChar(event)[source]

Handles the wx.EVT_CHAR event for UltimateListTextCtrl.

Parameters:event – a wx.KeyEvent event to be processed.


OnKeyUp(event)[source]

Handles the wx.EVT_KEY_UP event for UltimateListTextCtrl.

Parameters:event – a wx.KeyEvent event to be processed.



OnKillFocus(event)[source]

Handles the wx.EVT_KILL_FOCUS event for UltimateListTextCtrl.

Parameters:event – a wx.FocusEvent event to be processed.


StopEditing()[source]

Suddenly stops the editing.

Tree

Table Of Contents

Previous topic

UltimateListRenameTimer

Next topic

ultimatelistctrl functions