Dusk Audio Framework
Loading...
Searching...
No Matches
Window::FileDropEvent Struct Reference

#include <Window.hpp>

Public Member Functions

 FileDropEvent () noexcept

Public Attributes

Point< double > pos
const char *const * files
uint numFiles
uint mod
uint time

Detailed Description

A drag of files from another application over this window, see setAcceptingFileDrops(). Valid during the call it is passed to.

Constructor & Destructor Documentation

◆ FileDropEvent()

Window::FileDropEvent::FileDropEvent ( )
inlinenoexcept

Constructor for default/null values

Member Data Documentation

◆ pos

Point<double> Window::FileDropEvent::pos

Pointer position, in the coordinates the window's top-level widgets get mouse events in.

◆ files

const char* const* Window::FileDropEvent::files

The files: numFiles absolute local paths, UTF-8 and NUL-terminated, at least one.

◆ mod

uint Window::FileDropEvent::mod

Keyboard modifiers held, as far as the platform can tell.

See also
Modifier X11 asks the server, Wayland knows them only while one of the application's windows has the keyboard focus, and a drag that started in a Wayland client hides them from an XWayland window. macOS reads the keys held.

◆ time

uint Window::FileDropEvent::time

Event timestamp in milliseconds (if any).


The documentation for this struct was generated from the following file: