A special kind of top level window used for popup menus, combobox popups and such.
__init__ |
Default constructor. |
Create |
Create method for two-step creation. |
Position |
Move the popup window to the right position, i.e. such that it is entirely visible. |
wx.
PopupWindow
(NonOwnedWindow)¶Possible constructors:
PopupWindow()
PopupWindow(parent, flags=BORDER_NONE)
A special kind of top level window used for popup menus, combobox popups and such.
__init__
(self, *args, **kw)¶__init__ (self)
Default constructor.
__init__ (self, parent, flags=BORDER_NONE)
Constructor.
Parameters: |
|
---|
Create
(self, parent, flags=BORDER_NONE)¶Create method for two-step creation.
Parameters: |
|
---|---|
Return type: | bool |
Position
(self, ptOrigin, sizePopup)¶Move the popup window to the right position, i.e. such that it is entirely visible.
The popup is positioned at ptOrigin + size if it opens below and to the right (default), at ptOrigin - sizePopup if it opens above and to the left etc.
Parameters: |
---|