.. index:: pair: struct; EE::Window::DataDrop .. _doxid-struct_e_e_1_1_window_1_1_data_drop: struct EE::Window::DataDrop =========================== .. toctree:: :hidden: Overview ~~~~~~~~ A drop received through setDataDropHandler(). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct DataDrop { // fields std::vector> :ref:`items`; :ref:`Math::Vector2f` :ref:`position`; // methods const std::string* :ref:`find`(std::string_view mimeType) const; }; .. _details-struct_e_e_1_1_window_1_1_data_drop: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A drop received through setDataDropHandler(). Fields ------ .. index:: pair: variable; items .. _doxid-struct_e_e_1_1_window_1_1_data_drop_1a6a1e6a91ae5bc653c0022f3d3814aefe: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector> items Each requested MIME type the drag offered, with its contents, in the requested order. .. index:: pair: variable; position .. _doxid-struct_e_e_1_1_window_1_1_data_drop_1ab86d38fc563a66de60dc874941da5e93: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`Math::Vector2f` position Where it was dropped, in window coordinates. Methods ------- .. index:: pair: function; find .. _doxid-struct_e_e_1_1_window_1_1_data_drop_1a8da8ad978dda650cfe435ba38cdb98b8: .. ref-code-block:: cpp :class: doxyrest-title-code-block const std::string* find(std::string_view mimeType) const The contents offered as mimeType, or nullptr.