Phoenix Logo

phoenix_title wx.adv.DateEvent

This event class holds information about a date change and is used together with wx.adv.DatePickerCtrl.

It also serves as a base class for wx.adv.CalendarEvent.


class_hierarchy Class Hierarchy

Inheritance diagram for class DateEvent:

sub_classes Known Subclasses

wx.adv.CalendarEvent


method_summary Methods Summary

__init__  
GetDate Returns the date.
PyGetDate Return the date as a Python datetime.date object.
SetDate Sets the date carried by the event, normally only used by the library internally.

property_summary Properties Summary

Date See GetDate and SetDate

api Class API



class wx.adv.DateEvent(CommandEvent)

Possible constructors:

DateEvent()

DateEvent(win, dt, type)

This event class holds information about a date change and is used together with DatePickerCtrl.


Methods



__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)



__init__ (self, win, dt, type)

Parameters:





GetDate(self)

Returns the date.

Return type:DateTime


PyGetDate(self)

Return the date as a Python datetime.date object.

Deprecated since version 4.0.1: Use GetDate instead.



SetDate(self, date)

Sets the date carried by the event, normally only used by the library internally.

Parameters:date (wx.DateTime) –

Properties



Date

See GetDate and SetDate