.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.pydocview

.. highlight:: python



.. _wx.lib.pydocview._DocFrameFileDropTarget:

==========================================================================================================================================
|phoenix_title|  **wx.lib.pydocview._DocFrameFileDropTarget**
==========================================================================================================================================

Class used to handle drops into the document frame.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>_DocFrameFileDropTarget</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.pydocview._DocFrameFileDropTarget_inheritance.svg" alt="Inheritance diagram of _DocFrameFileDropTarget" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.pydocview._DocFrameFileDropTarget.html" title="Class used to handle drops into the document frame." alt="" coords="5,159,348,188"/> <area shape="rect" id="node2" href="wx.FileDropTarget.html" title="This is a drop target which accepts files (dragged from File Manager or Explorer)." alt="" coords="97,82,256,111"/> <area shape="rect" id="node3" href="wx.DropTarget.html" title="This class represents a target for a drag and drop operation." alt="" coords="111,5,243,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|super_classes| Known Superclasses
==================================

:class:`wx.FileDropTarget`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.pydocview._DocFrameFileDropTarget.__init__`                       Initializes the FileDropTarget class with the active docManager and the docFrame.
:meth:`~wx.lib.pydocview._DocFrameFileDropTarget.OnDropFiles`                    Called when files are dropped in the drop target and tells the docManager to open
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: _DocFrameFileDropTarget(wx.FileDropTarget)

   Class used to handle drops into the document frame.

   .. method:: __init__(self, docManager, docFrame)

      Initializes the FileDropTarget class with the active docManager and the docFrame.


   .. method:: OnDropFiles(self, x, y, filenames)

      Called when files are dropped in the drop target and tells the docManager to open
      the files.


