wxFileDataObject(3erl)
β¨ wxFileDataObject(3erl) β¨
okay so welcome to wxFileDataObject(3erl), bestie β this is an Erlang Module Definition page and the whole vibe is βfile names but make it wxWidgets.β π
πΈ NAME πΈ
wxFileDataObject β Functions for wxFileDataObject class. yes, thatβs the name, short and iconic π«Ά
π DESCRIPTION π
wxFileDataObject is a specialization of wxDataObject for file names. The program works with it just as if it were a list of absolute file names, but internally it uses the same format as Explorer and other compatible programs under Windows or GNOME/KDE file manager under Unix which makes it possible to receive files from them using this class. no cap, thatβs the whole trick β¨
See: wxDataObject, wxDataObjectSimple (not implemented in wx), wxTextDataObject, wxBitmapDataObject, wxDataObject.
This class is derived (and can use functions) from: wxDataObject
wxWidgets docs: wxFileDataObject
𧬠DATA TYPES π§¬
One data type, one little guy:
wxFileDataObject() = wx:wx_object()
π EXPORTS π
new() -> wxFileDataObject()
Constructor. literally the birth of the object, slay π
addFile(This, File) -> ok
Types
This = wxFileDataObject()File = unicode:chardata()
Adds a file to the file list represented by this data object (Windows only).
Windows only, bestie πͺ β do not expect this one to show up on your Unix setup.
getFilenames(This) -> [unicode:charlist()]
Types
This = wxFileDataObject()
Returns the array of file names.
destroy(This :: wxFileDataObject()) -> ok
Destroys the object. bye-bye, object ππ
mwah π shoutout to the wxWidgets team β the source/version situation says wx 2.2.2.1, the footer tag is wxFileDataObject(3erl), and thereβs no separate date on the page, so no invented timestamp, periodt ππ«Ά
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms