wxIconizeEvent(3)
๐ wxIconizeEvent ๐
okay bestie, this is the Erlang module definition for wxIconizeEvent โ literally the event that gets sent when a frame gets iconized (aka minimized, the lil "bye bye window" button) or restored (aka "hi again bestie, I'm back"). ๐ฆ
โจ NAME โจ
wxIconizeEvent โ an event being sent when the frame is iconized (minimized) or restored. that's it, that's the whole vibe. ๐
๐ธ DESCRIPTION ๐ธ
go look at these, fr fr:
- Overview events
wxTopLevelWindow:iconize/2wxTopLevelWindow:isIconized/1
and also, this class is derived from โ and can use functions from โ this icon:
wxEvent
wxWidgets docs: wxIconizeEvent ๐
๐ซถ Events
so to actually receive these events, you use wxEvtHandler:connect/3 together with wxIconizeEventType to subscribe to events of this type. that's the whole subscription situation. no cap. ๐
โญ DATA TYPES โญ
wxIconize()โ:: #wxIconize{}.wxIconizeEvent()โ:: wx:wx_object().wxIconizeEventType()โ:: iconize.
๐ FUNCTIONS ๐
isIconized(This) -> boolean() when This :: wxIconizeEvent().
Returns true if the frame has been iconized, false if it has been restored. that's the whole fortune teller moment. ๐ฎ if it says true, bestie is minimized. if it says false, bestie is back on screen and thriving. main character energy restored. ๐
๐ reminder: the event fires for both directions โ iconized and restored. don't assume it only means "minimized", because then your code will lowkey do the opposite of what you want. iykyk.
this lil page came to you from Ericsson AB and it's wx 2.6 โ eat it up, slay, periodt. ๐โจ๐ฆ๐ ๐
๐ฆ 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