wxMaximizeEvent(3)

πŸ“¦
version 29.0.6 Β· 3 versions
, in ubuntu stonking

✨ wxMaximizeEvent(3) ✨

This page is from the Erlang Module Definition manual, bestie. Welcome to the maximize-event lore. 🫢

🌸 NAME 🌸

wxMaximizeEvent β€” an event that gets sent when a top level window is maximized. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen: this event 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. periodt. 😭

Currently this event is only generated in 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. iykyk. πŸ‘‘

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.

πŸ’Ύ DATA TYPES πŸ’Ύ

wxMaximize() :: #wxMaximize{}.

wxMaximizeEvent() :: wx:wx_object().

wxMaximizeEventType() :: maximize.

πŸ› οΈ FUNCTIONS πŸ› οΈ

No functions listed here β€” that's the whole section, bestie. πŸ’…


sign-off vibes: Ericsson AB, wx 2.6, wxMaximizeEvent(3) β€” and no date on the footer, just moving on. πŸ’–βœ¨

πŸ“¦ where this page comes from