Class: Wx::DateEvent
- Inherits:
-
CommandEvent
- Object
- Object
- Event
- CommandEvent
- Wx::DateEvent
- Defined in:
- lib/wx/doc/gen/date_event.rb
Overview
This event class holds information about a date change and is used together with DatePickerCtrl.
It also serves as a base class for CalendarEvent.
Category: Events
Direct Known Subclasses
Instance Method Summary collapse
-
#get_date ⇒ Wx::DateTime
(also: #date)
Returns the date.
-
#initialize(*args) ⇒ DateEvent
constructor
A new instance of DateEvent.
-
#set_date(date) ⇒ void
(also: #date=)
Sets the date carried by the event, normally only used by the library internally.
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 ⇒ Wx::DateEvent #initialize(win, dt, type) ⇒ Wx::DateEvent
Returns a new instance of DateEvent.
33 |
# File 'lib/wx/doc/gen/date_event.rb', line 33 def initialize(*args) end |
Instance Method Details
#get_date ⇒ Wx::DateTime Also known as: date
Returns the date.
37 |
# File 'lib/wx/doc/gen/date_event.rb', line 37 def get_date; end |
#set_date(date) ⇒ void Also known as: date=
This method returns an undefined value.
Sets the date carried by the event, normally only used by the library internally.
43 |
# File 'lib/wx/doc/gen/date_event.rb', line 43 def set_date(date) end |