.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.agw.aui.framemanager .. highlight:: python .. _wx.lib.agw.aui.framemanager.AuiSingleDockingGuide: ========================================================================================================================================== |phoenix_title| **wx.lib.agw.aui.framemanager.AuiSingleDockingGuide** ========================================================================================================================================== A docking guide window for single docking hint (not diamond-shaped HUD). | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class AuiSingleDockingGuide:
| |super_classes| Known Superclasses ================================== :class:`wx.lib.agw.aui.framemanager.AuiDockingGuide` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.__init__` Default class constructor. Used internally, do not call it in your code! :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.AeroMove` Moves the docking window to the new position. Overridden in children classes. :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.CreateShapesWithStyle` Creates the docking guide window shape based on which docking bitmaps are used. :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.HitTest` Checks if the mouse position is inside the target window rect. :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.IsValid` Returns whether the docking direction is valid. :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.SetGuideShape` Sets the correct shape for the docking guide window. :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.SetShape` If the platform supports it, sets the shape of the window to that depicted by `region`. :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.SetValid` Sets the docking direction as valid or invalid. :meth:`~wx.lib.agw.aui.framemanager.AuiSingleDockingGuide.UpdateDockGuide` Updates the docking guide images depending on the mouse position, using focused ================================================================================ ================================================================================ | |api| Class API =============== .. class:: AuiSingleDockingGuide(AuiDockingGuide) A docking guide window for single docking hint (not diamond-shaped HUD). .. method:: __init__(self, parent, direction=0) Default class constructor. Used internally, do not call it in your code! :param `parent`: the :class:`AuiManager` parent; :param integer `direction`: one of ``wx.TOP``, ``wx.BOTTOM``, ``wx.LEFT``, ``wx.RIGHT``. .. method:: AeroMove(self, pos) Moves the docking window to the new position. Overridden in children classes. :param wx.Point `pos`: the new docking guide position. .. method:: CreateShapesWithStyle(self, useWhidbey) Creates the docking guide window shape based on which docking bitmaps are used. :param bool `useWhidbey`: if ``True``, use Whidbey-style bitmaps; if ``False``, use the Aero-style bitmaps. .. method:: HitTest(self, x, y) Checks if the mouse position is inside the target window rect. :param integer `x`: the `x` mouse position; :param integer `y`: the `y` mouse position. .. method:: IsValid(self) Returns whether the docking direction is valid. .. method:: SetGuideShape(self, event=None) Sets the correct shape for the docking guide window. :param `event`: on wxGTK, a :class:`wx.WindowCreateEvent` event to process. .. method:: SetShape(self, region) If the platform supports it, sets the shape of the window to that depicted by `region`. The system will not display or respond to any mouse event for the pixels that lie outside of the region. To reset the window to the normal rectangular shape simply call :meth:`SetShape` again with an empty region. :param Region `region`: the shape of the frame. .. note:: Overridden for wxMAC. .. method:: SetValid(self, valid) Sets the docking direction as valid or invalid. :param bool `valid`: whether the docking direction is allowed or not. .. method:: UpdateDockGuide(self, pos) Updates the docking guide images depending on the mouse position, using focused images if the mouse is inside the docking guide or unfocused images if it is outside. :param wx.Point `pos`: the mouse position.