Did I find the right examples for you? yes no

All Samples(17)  |  Call(9)  |  Derive(4)  |  Import(4)
If the platform has a native calendar widget then this class will
provide a way to use it, otherwise the `GenericCalendarCtrl` will
be used.

src/e/t/etm-891/etm/etmInfo.py   etm(Download)
        self.parent.selecteddate = None
        sd = wx.DateTime_Now()
        cal = wx.calendar.CalendarCtrl(self, -1, date=sd,
                size = (-1, -1),
                style = wx.calendar.CAL_SHOW_HOLIDAYS

src/e/t/etm-891/etm/etmWX.py   etm(Download)
        self.tdy.SetFont(dfont)
        if sundayfirst:
            self.cal = wx.calendar.CalendarCtrl(panel, -1, wx.DateTime_Now(),
                    size = (-1,-1),
                    style = wx.calendar.CAL_SHOW_HOLIDAYS
                    )
        else:
            self.cal = wx.calendar.CalendarCtrl(panel, -1,  wx.DateTime_Now(),
                size = (-1,-1),
                style = wx.calendar.CAL_SHOW_HOLIDAYS

src/w/a/wammu-HEAD/Wammu/Editor.py   wammu(Download)
    def __init__(self, parent):
        wx.PopupTransientWindow.__init__(self, parent, wx.SIMPLE_BORDER)
        self.cal = wx.calendar.CalendarCtrl(self, -1, pos = (0, 0), style = wx.calendar.CAL_SEQUENTIAL_MONTH_SELECTION)
        sz = self.cal.GetBestSize()
        self.SetSize(sz)

src/p/o/pomni-HEAD/mnemosyne/mnemosyne/ppygui_ui/emulator/api.py   pomni(Download)
 
    self.cal = calen.CalendarCtrl (
      self, -1, #wx.DateTime_Now(),
      style =   calen.CAL_MONDAY_FIRST
              | calen.CAL_SHOW_HOLIDAYS

src/d/i/digsby-HEAD/digsby/src/gui/pastbrowser.py   digsby(Download)
from wx import DateTimeFromDMY
 
from wx.calendar import CAL_SUNDAY_FIRST, CAL_SEQUENTIAL_MONTH_SELECTION, CAL_SHOW_HOLIDAYS, \
                        EVT_CALENDAR_MONTH, EVT_CALENDAR_YEAR, EVT_CALENDAR_SEL_CHANGED, \
                        CalendarCtrl, CalendarDateAttr
 
        style = wx.NO_BORDER | CAL_SUNDAY_FIRST | CAL_SEQUENTIAL_MONTH_SELECTION | CAL_SHOW_HOLIDAYS
        cal = self.cal = CalendarCtrl(self, -1, wx.DateTime.Now(), wx.DefaultPosition, wx.DefaultSize, style)
 
        cal.SetForegroundColour(wx.Color(160, 160, 160))

src/a/s/ashiba-HEAD/enaml/enaml/wx/wx_calendar.py   ashiba(Download)
# The full license is in the file COPYING.txt, distributed with this software.
#------------------------------------------------------------------------------
from wx.calendar import CalendarCtrl, EVT_CALENDAR
 
from atom.api import Typed
    def create_widget(self):
        """ Create the calender widget.
 
        """
        self.widget = CalendarCtrl(self.parent_widget())

src/e/n/enaml-0.9.1/enaml/wx/wx_calendar.py   enaml(Download)
# The full license is in the file COPYING.txt, distributed with this software.
#------------------------------------------------------------------------------
from wx.calendar import CalendarCtrl, EVT_CALENDAR
 
from atom.api import Typed
    def create_widget(self):
        """ Create the calender widget.
 
        """
        self.widget = CalendarCtrl(self.parent_widget())

src/e/n/enaml-HEAD/enaml/wx/wx_calendar.py   enaml(Download)
# The full license is in the file COPYING.txt, distributed with this software.
#------------------------------------------------------------------------------
from wx.calendar import CalendarCtrl, EVT_CALENDAR
 
from atom.api import Typed
    def create_widget(self):
        """ Create the calender widget.
 
        """
        self.widget = CalendarCtrl(self.parent_widget())

src/d/a/Dabo-0.9.6/dabo/ui/uiwx/dCalendar.py   Dabo(Download)
class BaseCalendar(dcm.dControlMixin, wxcal.CalendarCtrl):
	"""
	This is the base wrapper of the wx calendar control. Do not
	use this directly; instead, use either the 'dCalendar' or the
	'dExtendedCalendar' subclasses.

src/d/a/dabo-HEAD/dabo/ui/uiwx/dCalendar.py   dabo(Download)
class BaseCalendar(dcm.dControlMixin, wxcal.CalendarCtrl):
	"""
	This is the base wrapper of the wx calendar control. Do not
	use this directly; instead, use either the 'dCalendar' or the
	'dExtendedCalendar' subclasses.

  1 | 2  Next