wxMiniFrame(3erl)
π NAME π
Hey bestie, welcome to wxMiniFrame(3erl) β yep, that's the Erlang Module Definition page for the wxMiniFrame class. It's literally wxMiniFrame β Functions for wxMiniFrame class. β¨
π¦ DESCRIPTION π¦
Okay so picture this: a miniframe is a frame with a small title bar. It's giving floating-toolbar realness, and it's suitable for floating toolbars that must not take up too much screen area. Iconic, lowkey. π
You can see an example of a mini frame in page_samples_dialogs, using the "Mini frame" command of the "Generic dialogs" submenu. Go look, bestie, it's right there. π
π Styles π
This class supports the following styles: β and then the page immediately hits us with the remark, so no actual styles are listed here. Don't come for me, I'm just the messenger ππ
Remark: This class has miniframe functionality under Windows and GTK, i.e. the presence of mini frame will not be noted in the task bar and focus behaviour is different. On other platforms, it behaves like a normal frame. πͺπ§
See: wxMDIParentFrame, wxMDIChildFrame, wxFrame, wxDialog. Those are the references, periodt.
This class is derived (and can use functions) from: wxFrame wxTopLevelWindow wxWindow wxEvtHandler. So yes, it's got the whole family tree situation going on. π³
wxWidgets docs: wxMiniFrame β the official docs hookup. π
πΈ DATA TYPES πΈ
wxMiniFrame() = wx:wx_object()
π EXPORTS π
π new() -> wxMiniFrame()
Default ctor. That's the default constructor, bestie. Easy.
β¨ new(Parent, Id, Title) -> wxMiniFrame()
Types:
Parent = wxWindow:wxWindow()
Id = integer()
Title = unicode:chardata()
Here's the three-argument flavor. π
π new(Parent, Id, Title, Options :: [Option]) -> wxMiniFrame()
Types:
Parent = wxWindow:wxWindow()
Id = integer()
Title = unicode:chardata()
Option =
{pos, {X :: integer(), Y :: integer()}} |
{size, {W :: integer(), H :: integer()}} |
{style, integer()}
Constructor, creating the window. Main character constructor energy. π₯
Remark: The frame behaves like a normal frame on non-Windows platforms.
See: create/5. Go check it out. π
π«Ά destroy(This :: wxMiniFrame()) -> ok
Destructor. It destroys all child windows and menu bar if present. Cleanup slay. π§Ήβ¨
π¦ create(This, Parent, Id, Title) -> boolean()
Types:
This = wxMiniFrame()
Parent = wxWindow:wxWindow()
Id = integer()
Title = unicode:chardata()
Four-argument create, bestie. π¦
π create(This, Parent, Id, Title, Options :: [Option]) -> boolean()
Types:
This = wxMiniFrame()
Parent = wxWindow:wxWindow()
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. That's the whole tea. β
And that's the page, bestie! Footer shoutout: the wxWidgets team, wx 2.2.2.1, and page wxMiniFrame(3erl) β no date listed in this footer, just pure manual energy. Byeee! ππ
π¦ 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