.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2018 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. module:: wx.lib.calendar

.. currentmodule:: wx.lib.calendar

.. highlight:: python



.. _wx.lib.calendar:

==========================================================================================================================================
|phoenix_title|  **wx.lib.calendar**
==========================================================================================================================================

A module with a calendar control and a calendar dialog and some utility
methods and classes.


|function_summary| Functions Summary
====================================

================================================================================ ================================================================================
:func:`~wx.lib.calendar.DefaultColors`                                           Define some default colors.
:func:`~wx.lib.calendar.GetMonthList`                                            Get a list of the defined month names.
:func:`~wx.lib.calendar.MakeColor`                                               Try and create a :class:`wx.Colour`.
================================================================================ ================================================================================


|


|class_summary| Classes Summary
===============================

================================================================================ ================================================================================
`~wx.lib.calendar.CalDraw`                                                       A class to draw a calendar.
`~wx.lib.calendar.Calendar`                                                      A calendar control class.
`~wx.lib.calendar.CalenDlg`                                                      A dialog with a calendar control.
`~wx.lib.calendar.PrtCalDraw`                                                    A class to optimize :class:`CalDraw` for printing.
================================================================================ ================================================================================


|


.. toctree::
   :maxdepth: 1
   :hidden:

   wx.lib.calendar.CalDraw
   wx.lib.calendar.Calendar
   wx.lib.calendar.CalenDlg
   wx.lib.calendar.PrtCalDraw





Functions
------------

.. function:: DefaultColors()

   Define some default colors.


.. function:: GetMonthList()

   Get a list of the defined month names.
   
   rtype: `list`


.. function:: MakeColor(in_color)

   Try and create a :class:`wx.Colour`.
   
   :returns: a :class:`wx.Colour` instance to `in_colour`