1wxMDIClientWindow(3) Erlang Module Definition wxMDIClientWindow(3)
2
3
4
6 wxMDIClientWindow - Functions for wxMDIClientWindow class
7
9 An MDI client window is a child of wxMDIParentFrame, and manages zero
10 or more wxMDIChildFrame objects.
11
12 The client window is the area where MDI child windows exist. It doesn't
13 have to cover the whole parent frame; other windows such as toolbars
14 and a help window might coexist with it. There can be scrollbars on a
15 client window, which are controlled by the parent window style.
16
17 The wxMDIClientWindow class is usually adequate without further deriva‐
18 tion, and it is created automatically when the MDI parent frame is cre‐
19 ated. If the application needs to derive a new class, the function
20 wxMDIParentFrame::OnCreateClient() (not implemented in wx) must be
21 overridden in order to give an opportunity to use a different class of
22 client window.
23
24 Under wxMSW, the client window will automatically have a sunken border
25 style when the active child is not maximized, and no border style when
26 a child is maximized.
27
28 See: wxMDIChildFrame, wxMDIParentFrame, wxFrame
29
30 This class is derived (and can use functions) from: wxWindow wx‐
31 EvtHandler
32
33 wxWidgets docs: wxMDIClientWindow
34
36 wxMDIClientWindow() = wx:wx_object()
37
39 new() -> wxMDIClientWindow()
40
41 Default constructor.
42
43 Objects of this class are only created by wxMDIParentFrame which
44 uses the default constructor and calls createClient/3 immedi‐
45 ately afterwards.
46
47 createClient(This, Parent) -> boolean()
48
49 Types:
50
51 This = wxMDIClientWindow()
52 Parent = wxMDIParentFrame:wxMDIParentFrame()
53
54 createClient(This, Parent, Options :: [Option]) -> boolean()
55
56 Types:
57
58 This = wxMDIClientWindow()
59 Parent = wxMDIParentFrame:wxMDIParentFrame()
60 Option = {style, integer()}
61
62 Called by wxMDIParentFrame immediately after creating the client
63 window.
64
65 This function may be overridden in the derived class but the
66 base class version must usually be called first to really create
67 the window.
68
69 destroy(This :: wxMDIClientWindow()) -> ok
70
71 Destroys the object.
72
73
74
75wxWidgets team. wx 2.3.1 wxMDIClientWindow(3)