.. 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.agw.flatnotebook

.. highlight:: python



.. _wx.lib.agw.flatnotebook.FNBDragInfo:

==========================================================================================================================================
|phoenix_title|  **wx.lib.agw.flatnotebook.FNBDragInfo**
==========================================================================================================================================

Stores all the information to allow drag and drop between different
:class:`FlatNotebook` instances.



|

|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>FNBDragInfo</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.agw.flatnotebook.FNBDragInfo_inheritance.svg" alt="Inheritance diagram of FNBDragInfo" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.agw.flatnotebook.FNBDragInfo.html" title="Stores all the information to allow drag and drop between different" alt="" coords="5,5,297,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


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

================================================================================ ================================================================================
:meth:`~wx.lib.agw.flatnotebook.FNBDragInfo.__init__`                            Default class constructor.
:meth:`~wx.lib.agw.flatnotebook.FNBDragInfo.GetContainer`                        Returns the :class:`FlatNotebook` page (usually a panel).
:meth:`~wx.lib.agw.flatnotebook.FNBDragInfo.GetPageIndex`                        Returns the page index associated with a page.
================================================================================ ================================================================================


|


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


.. class:: FNBDragInfo(object)

   Stores all the information to allow drag and drop between different
   :class:`FlatNotebook` instances.

   .. method:: __init__(self, container, pageindex)

      Default class constructor.
      
      :param `container`: the drag and drop container, a page in :class:`FlatNotebook`;
      :param `pageindex`: the index of the tab that is actually being dragged.


   .. method:: GetContainer(self)

      Returns the :class:`FlatNotebook` page (usually a panel). 


   .. method:: GetPageIndex(self)

      Returns the page index associated with a page. 


