wxMaximizeEvent(3erl)
π NAME π
bestie, welcome to the wxMaximizeEvent page from the 3erl manual β Functions for wxMaximizeEvent class. yes, we're doing this, and we're doing it adorably π
πΈ DESCRIPTION πΈ
okay so wxMaximizeEvent is the event that gets sent when a top level window is maximized. it's giving "window went full-screen mode" energy β¨
but important: it is not sent when the window is restored to its original size after it had been maximized β in that case, only a normal wxSizeEvent is generated. no cap, that's the rule π
and here's the lowkey catch: currently this event is only generated in the wxMSW, wxGTK and wxOSX/Cocoa ports, so portable programs should only rely on receiving wxEVT_SIZE and not necessarily this event when the window is maximized. fr fr, don't build your whole vibe around it if you want portability π«Ά
See: Overview events, wxTopLevelWindow:maximize/2, wxTopLevelWindow:isMaximized/1
This class is derived (and can use functions) from: wxEvent
wxWidgets docs: wxMaximizeEvent
β¨ EVENTS β¨
use wxEvtHandler:connect/3 with wxMaximizeEventType to subscribe to events of this type. that's the whole move, icon behavior only π
π¦ DATA TYPES π¦
wxMaximizeEvent() = wx:wx_object()
wxMaximize() =
#wxMaximize{type = wxMaximizeEvent:wxMaximizeEventType()}
wxMaximizeEventType() = maximize
later, bestie π β shoutout to the wxWidgets team for the source, version wx 2.2.2.1, and the wxMaximizeEvent(3erl) page. the footer isn't giving us a separate date, so we're not inventing one ππ
π¦ 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