wxMDIChildFrame(3erl)
π NAME
okay bestie, welcome to wxMDIChildFrame(3erl) β thatβs the Erlang Module Definition for wxMDIChildFrame, and itβs literally all about functions for the wxMDIChildFrame class π
π¦ DESCRIPTION
So hereβs the vibe: an MDI child frame is a frame that can only exist inside a wxMDIClientWindow, and that client window is itself a child of wxMDIParentFrame. no cap, thatβs the whole family tree π³β¨
π Styles
This class supports these styles: all of the standard wxFrame styles can be used, but most of them are ignored by TDI-based MDI implementations. slay for the ones that actually show up π
π Remark
Okay so this is the important lore: although internally an MDI child frame is a child of the MDI client window, in wxWidgets you create it as a child of wxMDIParentFrame. In fact, you can usually forget that the client window exists. MDI child frames are clipped to the area of the MDI client window, and may be iconized on the client window. You can associate a menubar with a child frame as usual, although an MDI child doesn't display its menubar under its own title bar. The MDI parent frame's menubar will be changed to reflect the currently active child frame. If there are currently no children, the parent frame's own menubar will be displayed. π«Ά
π See
wxMDIClientWindowwxMDIParentFramewxFrame
𧬠Inheritance tea
This class is derived (and can use functions) from: wxFrame wxTopLevelWindow wxWindow wxEvtHandler β iconic lineage, honestly π
wxWidgets docs: wxMDIChildFrame
πΈ DATA TYPES
wxMDIChildFrame() = wx:wx_object()
β¨ EXPORTS
π new() -> wxMDIChildFrame()
Default constructor. blank canvas energy π¨
π new(Parent, Id, Title) -> wxMDIChildFrame()
Types:
Parent = wxMDIParentFrame:wxMDIParentFrame()
Id = integer()
Title = unicode:chardata()
π new(Parent, Id, Title, Options :: [Option]) -> wxMDIChildFrame()
Types:
Parent = wxMDIParentFrame:wxMDIParentFrame()
Id = integer()
Title = unicode:chardata()
Option =
{pos, {X :: integer(), Y :: integer()}} |
{size, {W :: integer(), H :: integer()}} |
{style, integer()}
Constructor, creating the window.
See: create/5
π«§ destroy(This :: wxMDIChildFrame()) -> ok
Destructor.
Destroys all child windows and menu bar if present.
β activate(This) -> ok
Types:
This = wxMDIChildFrame()
Activates this MDI child frame.
See: maximize/2, restore/1
π¦ create(This, Parent, Id, Title) -> boolean()
Types:
This = wxMDIChildFrame()
Parent = wxMDIParentFrame:wxMDIParentFrame()
Id = integer()
Title = unicode:chardata()
π¦ create(This, Parent, Id, Title, Options :: [Option]) -> boolean()
Types:
This = wxMDIChildFrame()
Parent = wxMDIParentFrame:wxMDIParentFrame()
Id = integer()
Title = unicode:chardata()
Option =
{pos, {X :: integer(), Y :: integer()}} |
{size, {W :: integer(), H :: integer()}} |
{style, integer()}
Used in two-step frame construction.
See new/4 for further details.
π₯ maximize(This) -> ok
Types:
This = wxMDIChildFrame()
π₯ maximize(This, Options :: [Option]) -> ok
Types:
This = wxMDIChildFrame()
Option = {maximize, boolean()}
Maximizes this MDI child frame.
This function doesn't do anything if IsAlwaysMaximized() (not implemented in wx) returns true.
See: activate/1, restore/1
π restore(This) -> ok
Types:
This = wxMDIChildFrame()
Restores this MDI child frame (unmaximizes).
This function doesn't do anything if IsAlwaysMaximized() (not implemented in wx) returns true.
See: activate/1, maximize/2
Sign-off source/version: wxWidgets team. Β· wx 2.2.2.1 Β· manual name wxMDIChildFrame(3erl). The original footer doesnβt print a date, so Iβm not inventing one β mwah, bestie πππ
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms