1wxPopupWindow(3)           Erlang Module Definition           wxPopupWindow(3)
2
3
4

NAME

6       wxPopupWindow - Functions for wxPopupWindow class
7

DESCRIPTION

9       A  special kind of top level window used for popup menus, combobox pop‐
10       ups and such.
11
12       Styles
13
14       This class supports the following styles:
15
16       See: wxDialog, wxFrame
17
18       This class is derived  (and  can  use  functions)  from:  wxWindow  wx‐
19       EvtHandler
20
21       wxWidgets docs: wxPopupWindow
22

DATA TYPES

24       wxPopupWindow() = wx:wx_object()
25

EXPORTS

27       new() -> wxPopupWindow()
28
29              Default constructor.
30
31       new(Parent) -> wxPopupWindow()
32
33              Types:
34
35                 Parent = wxWindow:wxWindow()
36
37       new(Parent, Options :: [Option]) -> wxPopupWindow()
38
39              Types:
40
41                 Parent = wxWindow:wxWindow()
42                 Option = {flags, integer()}
43
44              Constructor.
45
46       create(This, Parent) -> boolean()
47
48              Types:
49
50                 This = wxPopupWindow()
51                 Parent = wxWindow:wxWindow()
52
53       create(This, Parent, Options :: [Option]) -> boolean()
54
55              Types:
56
57                 This = wxPopupWindow()
58                 Parent = wxWindow:wxWindow()
59                 Option = {flags, integer()}
60
61              Create method for two-step creation.
62
63       position(This, PtOrigin, SizePopup) -> ok
64
65              Types:
66
67                 This = wxPopupWindow()
68                 PtOrigin = {X :: integer(), Y :: integer()}
69                 SizePopup = {W :: integer(), H :: integer()}
70
71              Move  the  popup window to the right position, i.e. such that it
72              is entirely visible.
73
74              The popup is positioned at ptOrigin + size if it opens below and
75              to  the  right  (default),  at  ptOrigin - sizePopup if it opens
76              above and to the left etc.
77
78       destroy(This :: wxPopupWindow()) -> ok
79
80              Destroys the object.
81
82
83
84wxWidgets team.                    wx 2.2.1                   wxPopupWindow(3)
Impressum