This event is sent just after the actual window associated with a Window object
has been created. Since it is derived from CommandEvent, the event propagates up
the window hierarchy. This means that a frame can observe the creation
of child windows within it.
To process a window creation event, use the evt_create
event hook to
handle the event with a block. The block can optionally receive a
WindowCreateEvent argument. id
should be the id of the window whose
creation should be handled. It is possible to observe the creation of
any window by using the special identifier Wx::ID_ANY
. If this
identifier is used, the newly created window can be obtained from the
event object; call the get_event_object
method of the event.
evt_create(id) { | event | … } | Process a EVT_CREATE event. |
Event handling overview, WindowDestroyEvent
Constructor. Unlikely to be used in user code, except if simulating
event sequences.
[This page automatically generated from the Textile source at 2023-06-03 08:07:36 +0000]