wxInitDialogEvent(3)
π 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
- 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