Class: Wx::DateEvent

Inherits:
CommandEvent show all
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

Requires:

  • USE_DATETIME

Direct Known Subclasses

CalendarEvent

Instance Method Summary collapse

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

#initializeWx::DateEvent #initialize(win, dt, type) ⇒ Wx::DateEvent

Returns a new instance of DateEvent.

Overloads:



33
# File 'lib/wx/doc/gen/date_event.rb', line 33

def initialize(*args) end

Instance Method Details

#get_dateWx::DateTime Also known as: date

Returns the date.

Returns:

  • (Wx::DateTime)


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.

Parameters:

  • date (Time, Date, DateTime)


43
# File 'lib/wx/doc/gen/date_event.rb', line 43

def set_date(date) end