wxPopupWindow(3erl) | Erlang Module Definition | wxPopupWindow(3erl) |
wxPopupWindow - Functions for wxPopupWindow class
A special kind of top level window used for popup menus, combobox popups and such.
Styles
This class supports the following styles:
See: wxDialog, wxFrame
This class is derived (and can use functions) from: wxWindow wxEvtHandler
wxWidgets docs: wxPopupWindow
wxPopupWindow() = wx:wx_object()
new() -> wxPopupWindow()
Default constructor.
new(Parent) -> wxPopupWindow()
Types:
new(Parent, Options :: [Option]) -> wxPopupWindow()
Types:
Constructor.
create(This, Parent) -> boolean()
Types:
create(This, Parent, Options :: [Option]) -> boolean()
Types:
Create method for two-step creation.
position(This, PtOrigin, SizePopup) -> ok
Types:
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.
destroy(This :: wxPopupWindow()) -> ok
Destroys the object.
wx 2.2.1 | wxWidgets team. |