wxIconizeEvent(3)

๐Ÿ“ฆ
version 29.0.6 ยท 3 versions
, in ubuntu stonking

๐Ÿ’– 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/2
  • wxTopLevelWindow: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