wxMiniFrame(3)
β¨ NAME β¨
wxMiniFrame β a miniframe is a frame with a small title bar π
(yes bestie, it's the Erlang module definition for wxMiniFrame(3), we're doing this)
π¦ DESCRIPTION π¦
Okay so picture this: a frame, right, but tiny. It's giving floating toolbar energy, and it's literally designed for exactly that β the kind of floating toolbar that must not take up too much screen area. Small. Cute. Efficient. Iconic.
If you wanna see one in the wild π, there's an example of a mini frame in the page page_samples_dialogs, where you'd use the "Mini frame" command of the "Generic dialogs" submenu. Go look, it's a whole vibe.
πΈ Styles πΈ
This class supports the following styles, no cap:
wxICONIZE: Display the frame iconized (minimized) β Windows only.wxCAPTION: Puts a caption on the frame.wxMINIMIZE: Identical towxICONIZE.wxMINIMIZE_BOX: Displays a minimize box on the frame β Windows and Motif only.wxMAXIMIZE: Displays the frame maximized β Windows only.wxMAXIMIZE_BOX: Displays a maximize box on the frame β Windows and Motif only.wxCLOSE_BOX: Displays a close box on the frame.wxSTAY_ON_TOP: Stay on top of other windows β Windows only.wxSYSTEM_MENU: Displays a system menu β Windows and Motif only.wxRESIZE_BORDER: Displays a resizable border around the window.
Remark: This class has miniframe functionality under Windows and GTK β i.e. the presence of a mini frame will not be noted in the task bar, and focus behaviour is different. On other platforms, it behaves like a normal frame. So likeβ¦ know which one you're on, bestie. π
See:
wxMDIParentFramewxMDIChildFramewxFramewxDialog
This class is derived, and can use functions, from:
wxFramewxTopLevelWindowwxWindowwxEvtHandler
wxWidgets docs: wxMiniFrame π
π DATA TYPES π
wxMiniFrame() :: wx:wx_object().
π FUNCTIONS π
create(This, Parent, Id, Title, [Option]) -> boolean()
when
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.
destroy(This :: wxMiniFrame()) -> ok.
Destroys the object. Bye bye, frame ππ
new() -> wxMiniFrame().
Default ctor. The starter pack, the bare minimum, the "just vibes" constructor β¨
new(Parent, Id, Title, [Option]) -> wxMiniFrame()
when
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. πͺπ
Remark: The frame behaves like a normal frame on non-Windows platforms.
See: create/5
And that's the whole page, bestie β every flag, every type, every function, preserved with love π«Ά
Brought to you by Ericsson AB, wx 2.6, dated wxMiniFrame(3) β that's the source, the version and the date all wrapped up in one cute sign-off, mwah π
π
π¦ where this page comes from
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms