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.FileCtrlEvent — wxPython 4.3.2 Docs
|
Constructor. |
|
Returns the current directory. |
|
Returns the file selected (assuming it is only one file). |
|
Returns the files selected. |
|
Returns the current file filter index. |
|
Sets the directory of this event. |
|
Sets the files changed by this event. |
|
Sets the filter index changed by this event. |
Properties Summary¶See |
|
See |
|
See |
Class API¶Possible constructors:
FileCtrlEvent(type, evtObject, id) -> None
A file control event holds information about events associated with FileCtrl objects.
Constructor.
type (wx.EventType)
evtObject (wx.Object)
id (int)
None
Returns the current directory.
In case of a EVT_FILECTRL_FOLDERCHANGED, this method returns the new directory.
str
Returns the file selected (assuming it is only one file).
str
Returns the files selected.
In case of a EVT_FILECTRL_SELECTIONCHANGED, this method returns the files selected after the event.
List[str]
Returns the current file filter index.
For a EVT_FILECTRL_FILTERCHANGED event, this method returns the new file filter index.
int
Added in version 2.9.1.
Sets the directory of this event.
directory (string)
None
Sets the files changed by this event.
files (list of strings)
None
Sets the filter index changed by this event.
index (int)
None
Added in version 2.9.1.
See GetDirectory and SetDirectory
See GetFilterIndex and SetFilterIndex