GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.ListEvent — wxPython 4.3.2 Docs
|
Constructor. |
|
For |
|
For |
|
The column position: it is only used with |
|
The data. |
|
The image. |
|
The item index. |
|
An item object, used by some events. |
|
Key code if the event is a keypress event. |
|
The (new) item label for |
|
The mask. |
|
The position of the mouse pointer if the event is a drag event. |
|
The text. |
|
This method only makes sense for |
|
Properties Summary¶See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
Class API¶Possible constructors:
ListEvent(commandType=wxEVT_NULL, id=0) -> None
A list event holds information about events associated with ListCtrl objects.
Constructor.
commandType (wx.EventType)
id (int)
None
For EVT_LIST_CACHE_HINT event only: return the first item which the list control advises us to cache.
int
For EVT_LIST_CACHE_HINT event only: return the last item (inclusive) which the list control advises us to cache.
int
The column position: it is only used with COL events.
For the column dragging events, it is the column to the left of the divider being dragged, for the column click events it may be -1 if the user clicked in the list control header outside any column.
int
The data.
int
The image.
int
The item index.
int
An item object, used by some events.
See also wx.ListCtrl.SetItem .
Key code if the event is a keypress event.
int
The (new) item label for EVT_LIST_END_LABEL_EDIT event.
str
The mask.
int
The position of the mouse pointer if the event is a drag event.
The text.
str
This method only makes sense for EVT_LIST_END_LABEL_EDIT message and returns True if it the label editing has been cancelled by the user ( GetLabel returns an empty string in this case but it doesn’t allow the application to distinguish between really cancelling the edit and the admittedly rare case when the user wants to rename it to an empty string).
bool
cacheFrom (long)
None
See also
cacheTo (long)
None
See also
item (wx.ListItem)
None
See also
code (int)
None
See also
See GetCacheFrom and SetCacheFrom
See GetCacheTo and SetCacheTo
See GetKeyCode and SetKeyCode