wxInitDialogEvent(3)

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

πŸ’– wxInitDialogEvent πŸ’–

okay so bestie, we're in the Erlang Module Definition corner of the wx docs, and today's main character is wxInitDialogEvent. it's giving ✨ event object ✨, she's cute, she's tiny, she's here to tell you a dialog or a panel is waking up. let's get into it 🫢


🌸 NAME 🌸

wxInitDialogEvent β€” a wxInitDialogEvent is sent as a dialog or panel is being initialised. literally that's her whole job πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, handlers for this event can transfer data to the window. that's the vibe. that's the whole point of her showing up. πŸ’–

the default handler calls wxWindow:transferDataToWindow/1. no cap, that's what it does.

See: Overview events

this class is derived, and can use functions, from:

  • wxEvent

wxWidgets docs: wxInitDialogEvent

πŸŽ€ Events πŸŽ€

use wxEvtHandler:connect/3 with wxInitDialogEventType to subscribe to events of this type. that's your ticket in, bestie 🎟️


🌈 DATA TYPES 🌈

  • wxInitDialog() :: #wxInitDialog{}.
  • wxInitDialogEvent() :: wx:wx_object().
  • wxInitDialogEventType() :: init_dialog.

πŸ‘‘ FUNCTIONS πŸ‘‘

okay so… this section is literally empty. nothing here. not a single function. she said "I contain multitudes and also zero functions" πŸ’€ the data types up top are doing all the heavy lifting, and honestly? iconic. periodt.


🫢 reminder bestie: handlers for this event can transfer data to the window, and the default handler calls wxWindow:transferDataToWindow/1. don't forget her whole reason for existing.

and that's the whole page, fr fr ✨ this one came to you courtesy of Ericsson AB, from wx 2.6, answering to the name wxInitDialogEvent(3). bye bestie, go transfer some data to a window πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from