Class: Wx::WindowCreateEvent
- Inherits:
-
CommandEvent
- Object
- Object
- Event
- CommandEvent
- Wx::WindowCreateEvent
- Defined in:
- lib/wx/doc/gen/events.rb
Overview
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.
Events using this class
The following event-handler methods redirect the events to member method or handler blocks for WindowCreateEvent events. Event handler methods:
-
EvtHandler#evt_window_create(meth = nil, &block): Process a EVT_CREATE event.
Category: Events
Instance Method Summary collapse
-
#get_window ⇒ Wx::Window
(also: #window)
Return the window being created.
-
#initialize(win = nil) ⇒ Wx::WindowCreateEvent
constructor
Constructor.
Methods inherited from CommandEvent
#client_data, #client_data=, #get_client_data, #get_client_object, #get_int, #get_selection, #get_string, #is_checked, #is_selection, #set_client_data, #set_client_object, #set_extra_long, #set_int, #set_string
Methods inherited from Event
#clone, #get_event_category, #get_event_object, #get_event_type, #get_id, #get_skipped, #get_timestamp, #is_command_event, #resume_propagation, #set_event_object, #set_event_type, #set_id, #set_timestamp, #should_propagate, #skip, #stop_propagation
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize(win = nil) ⇒ Wx::WindowCreateEvent
Constructor.
2604 |
# File 'lib/wx/doc/gen/events.rb', line 2604 def initialize(win=nil) end |
Instance Method Details
#get_window ⇒ Wx::Window Also known as: window
Return the window being created.
2608 |
# File 'lib/wx/doc/gen/events.rb', line 2608 def get_window; end |