1wxPopupTransientWindow(3) Erlang Module Definition wxPopupTransientWindow(3)
2
3
4
6 wxPopupTransientWindow - Functions for wxPopupTransientWindow class
7
9 A wxPopupWindow which disappears automatically when the user clicks
10 mouse outside it or if it loses focus in any other way.
11
12 This window can be useful for implementing custom combobox-like con‐
13 trols for example.
14
15 See: wxPopupWindow
16
17 This class is derived (and can use functions) from: wxPopupWindow
18 wxWindow wxEvtHandler
19
20 wxWidgets docs: wxPopupTransientWindow
21
23 wxPopupTransientWindow() = wx:wx_object()
24
26 new() -> wxPopupTransientWindow()
27
28 Default constructor.
29
30 new(Parent) -> wxPopupTransientWindow()
31
32 Types:
33
34 Parent = wxWindow:wxWindow()
35
36 new(Parent, Options :: [Option]) -> wxPopupTransientWindow()
37
38 Types:
39
40 Parent = wxWindow:wxWindow()
41 Option = {style, integer()}
42
43 Constructor.
44
45 popup(This) -> ok
46
47 Types:
48
49 This = wxPopupTransientWindow()
50
51 popup(This, Options :: [Option]) -> ok
52
53 Types:
54
55 This = wxPopupTransientWindow()
56 Option = {focus, wxWindow:wxWindow()}
57
58 Popup the window (this will show it too).
59
60 If focus is non-NULL, it will be kept focused while this window
61 is shown if supported by the current platform, otherwise the
62 popup itself will receive focus. In any case, the popup will
63 disappear automatically if it loses focus because of a user ac‐
64 tion.
65
66 See: dismiss/1
67
68 dismiss(This) -> ok
69
70 Types:
71
72 This = wxPopupTransientWindow()
73
74 Hide the window.
75
76 destroy(This :: wxPopupTransientWindow()) -> ok
77
78 Destroys the object.
79
80
81
82wxWidgets team. wx 2.1.4 wxPopupTransientWindow(3)