wxWindowCreateEvent(3erl)

🌸 NAME 🌸

okay bestie, this is wxWindowCreateEvent(3erl), the Erlang Module Definition page, and it's all about wxWindowCreateEvent β€” the functions for the wxWindowCreateEvent class. iconic. πŸ‘‘


✨ DESCRIPTION ✨

So this event is sent just after the actual window associated with a wxWindow object has been created. Like, the window is real, and then this event shows up. πŸŽ€

Since it is derived from wxCommandEvent, the event propagates up the window hierarchy. hierarchy glow-up, no cap. πŸ¦‹

See: Overview events, wxWindowDestroyEvent. πŸ‘€

This class is derived (and can use functions) from: wxCommandEvent, wxEvent. πŸ’…

wxWidgets docs: wxWindowCreateEvent. ✨


πŸ¦‹ EVENTS πŸ¦‹

Use wxEvtHandler:connect/3 with wxWindowCreateEventType to subscribe to events of this type. That's the whole subscription recipe, bestie. 🫢


πŸ’… DATA TYPES πŸ’…

wxWindowCreateEvent()

wxWindowCreateEvent() = wx:wx_object()

wxWindowCreate()

wxWindowCreate() =
    #wxWindowCreate{type =
                        wxWindowCreateEvent:wxWindowCreateEventType()}

wxWindowCreateEventType()

wxWindowCreateEventType() = create

The type value is literally create, and yes, that's the one listed here. 🌸


Footer glow-up: sourced from the wxWidgets team, version wx 2.2.2.1, page tag wxWindowCreateEvent(3erl) β€” and bestie, no date was printed on the original footer, so no invented date, periodt. πŸ’–

πŸ“¦ where this page comes from