#include </home/zeitlin/src/wx/github/interface/wx/popupwin.h>
Inheritance diagram for wxPopupWindow:A special kind of top level window used for popup menus, combobox popups and such.
Public Member Functions | |
| wxPopupWindow () | |
| Default constructor. | |
| wxPopupWindow (wxWindow *parent, int flags=wxBORDER_NONE) | |
| Constructor. | |
| bool | Create (wxWindow *parent, int flags=wxBORDER_NONE) |
| Create method for two-step creation. | |
| virtual void | Position (const wxPoint &ptOrigin, const wxSize &sizePopup) |
| Move the popup window to the right position, i.e. | |
| wxPopupWindow::wxPopupWindow | ( | ) |
Default constructor.
| wxPopupWindow::wxPopupWindow | ( | wxWindow * | parent, |
| int | flags = wxBORDER_NONE |
||
| ) |
Constructor.
| bool wxPopupWindow::Create | ( | wxWindow * | parent, |
| int | flags = wxBORDER_NONE |
||
| ) |
Create method for two-step creation.
| virtual void wxPopupWindow::Position | ( | const wxPoint & | ptOrigin, |
| const wxSize & | sizePopup | ||
| ) | [virtual] |
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.
| ptOrigin | Must be given in screen coordinates! |
| sizePopup | The size of the popup window |