//---------------------------------------------------------------------------
%{
-// A wxDocArt lcass that knows how to forward virtuals to Python methods
+// A wxDocArt class that knows how to forward virtuals to Python methods
class wxPyDockArt : public wxDefaultDockArt
{
wxPyDockArt() : wxDefaultDockArt() {}
};
+//---------------------------------------------------------------------------
+
+%extend wxAuiMultiNotebook {
+ %property(PageCount, GetPageCount, doc="See `GetPageCount`");
+ %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+}
+
+
+%extend wxAuiNotebookEvent {
+ %property(OldSelection, GetOldSelection, SetOldSelection, doc="See `GetOldSelection` and `SetOldSelection`");
+ %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+}
+
+
+%extend wxAuiTabContainer {
+ %property(ActivePage, GetActivePage, SetActivePage, doc="See `GetActivePage` and `SetActivePage`");
+ %property(PageCount, GetPageCount, doc="See `GetPageCount`");
+ %property(Pages, GetPages, doc="See `GetPages`");
+}
+
+
+%extend wxFrameManager {
+ %property(AllPanes, GetAllPanes, doc="See `GetAllPanes`");
+ %property(ArtProvider, GetArtProvider, SetArtProvider, doc="See `GetArtProvider` and `SetArtProvider`");
+ %property(Flags, GetFlags, SetFlags, doc="See `GetFlags` and `SetFlags`");
+ %property(ManagedWindow, GetManagedWindow, SetManagedWindow, doc="See `GetManagedWindow` and `SetManagedWindow`");
+}
+
+
+%extend wxFrameManagerEvent {
+ %property(Button, GetButton, SetButton, doc="See `GetButton` and `SetButton`");
+ %property(DC, GetDC, SetDC, doc="See `GetDC` and `SetDC`");
+ %property(Pane, GetPane, SetPane, doc="See `GetPane` and `SetPane`");
+}
+
+
+//---------------------------------------------------------------------------
#undef wxUSE_AUI
#undef WXDLLIMPEXP_AUI
wxColour GetBorderColour() const;
wxFont GetFont() const;
wxCalendarDateBorder GetBorder() const;
+
+ %property(BackgroundColour, GetBackgroundColour, SetBackgroundColour, doc="See `GetBackgroundColour` and `SetBackgroundColour`");
+ %property(Border, GetBorder, SetBorder, doc="See `GetBorder` and `SetBorder`");
+ %property(BorderColour, GetBorderColour, SetBorderColour, doc="See `GetBorderColour` and `SetBorderColour`");
+ %property(Font, GetFont, SetFont, doc="See `GetFont` and `SetFont`");
+ %property(TextColour, GetTextColour, SetTextColour, doc="See `GetTextColour` and `SetTextColour`");
};
//---------------------------------------------------------------------------
"""returns datetime.date object"""
return _wxdate2pydate(self.GetDate())
}
+
+ %property(WeekDay, GetWeekDay, SetWeekDay, doc="See `GetWeekDay` and `SetWeekDay`");
};
"""returns datetime.date object"""
return _wxdate2pydate(self.GetUpperDateLimit())
}
+
+ %property(Date, GetDate, SetDate, doc="See `GetDate` and `SetDate`");
+ %property(HeaderColourBg, GetHeaderColourBg, doc="See `GetHeaderColourBg`");
+ %property(HeaderColourFg, GetHeaderColourFg, doc="See `GetHeaderColourFg`");
+ %property(HighlightColourBg, GetHighlightColourBg, doc="See `GetHighlightColourBg`");
+ %property(HighlightColourFg, GetHighlightColourFg, doc="See `GetHighlightColourFg`");
+ %property(HolidayColourBg, GetHolidayColourBg, doc="See `GetHolidayColourBg`");
+ %property(HolidayColourFg, GetHolidayColourFg, doc="See `GetHolidayColourFg`");
+ %property(LowerDateLimit, GetLowerDateLimit, SetLowerDateLimit, doc="See `GetLowerDateLimit` and `SetLowerDateLimit`");
+ %property(MonthControl, GetMonthControl, doc="See `GetMonthControl`");
+ %property(UpperDateLimit, GetUpperDateLimit, SetUpperDateLimit, doc="See `GetUpperDateLimit` and `SetUpperDateLimit`");
+ %property(YearControl, GetYearControl, doc="See `GetYearControl`");
};
%pythoncode {
GetMultiLineTextExtent(wxString string, Font font=None) ->
(width, height, lineHeight)
- Get the width, height, decent and leading of the text using the
+ Get the width, height, and line height of the text using the
current or specified font. Works for single as well as multi-line
strings.
"""
GetFrame = wx._deprecated(GetManagedWindow,
"GetFrame is deprecated, use `GetManagedWindow` instead.")
+ AllPanes = property(GetAllPanes,doc="See `GetAllPanes`")
+ ArtProvider = property(GetArtProvider,SetArtProvider,doc="See `GetArtProvider` and `SetArtProvider`")
+ Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
+ ManagedWindow = property(GetManagedWindow,SetManagedWindow,doc="See `GetManagedWindow` and `SetManagedWindow`")
_aui.FrameManager_swigregister(FrameManager)
class FrameManagerEvent(_core.Event):
veto_flag = property(_aui.FrameManagerEvent_veto_flag_get, _aui.FrameManagerEvent_veto_flag_set)
canveto_flag = property(_aui.FrameManagerEvent_canveto_flag_get, _aui.FrameManagerEvent_canveto_flag_set)
dc = property(_aui.FrameManagerEvent_dc_get, _aui.FrameManagerEvent_dc_set)
+ Button = property(GetButton,SetButton,doc="See `GetButton` and `SetButton`")
+ DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`")
+ Pane = property(GetPane,SetPane,doc="See `GetPane` and `SetPane`")
_aui.FrameManagerEvent_swigregister(FrameManagerEvent)
class DockInfo(object):
old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+ OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
_aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
class AuiNotebookPage(object):
"""AddButton(self, int id, Bitmap bmp)"""
return _aui.AuiTabContainer_AddButton(*args, **kwargs)
+ ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`")
+ PageCount = property(GetPageCount,doc="See `GetPageCount`")
+ Pages = property(GetPages,doc="See `GetPages`")
_aui.AuiTabContainer_swigregister(AuiTabContainer)
class AuiTabCtrl(_core.Control,AuiTabContainer):
"""GetPage(self, size_t page_idx) -> Window"""
return _aui.AuiMultiNotebook_GetPage(*args, **kwargs)
+ PageCount = property(GetPageCount,doc="See `GetPageCount`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
_aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
def PreAuiMultiNotebook(*args, **kwargs):
}
-// A wxDocArt lcass that knows how to forward virtuals to Python methods
+// A wxDocArt class that knows how to forward virtuals to Python methods
class wxPyDockArt : public wxDefaultDockArt
{
wxPyDockArt() : wxDefaultDockArt() {}
"""GetBorder(self) -> int"""
return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
+ BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
+ Border = property(GetBorder,SetBorder,doc="See `GetBorder` and `SetBorder`")
+ BorderColour = property(GetBorderColour,SetBorderColour,doc="See `GetBorderColour` and `SetBorderColour`")
+ Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
+ TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_calendar.CalendarDateAttr_swigregister(CalendarDateAttr)
class CalendarEvent(_core.DateEvent):
"""returns datetime.date object"""
return _wxdate2pydate(self.GetDate())
+ WeekDay = property(GetWeekDay,SetWeekDay,doc="See `GetWeekDay` and `SetWeekDay`")
_calendar.CalendarEvent_swigregister(CalendarEvent)
wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED
"""returns datetime.date object"""
return _wxdate2pydate(self.GetUpperDateLimit())
+ Date = property(GetDate,SetDate,doc="See `GetDate` and `SetDate`")
+ HeaderColourBg = property(GetHeaderColourBg,doc="See `GetHeaderColourBg`")
+ HeaderColourFg = property(GetHeaderColourFg,doc="See `GetHeaderColourFg`")
+ HighlightColourBg = property(GetHighlightColourBg,doc="See `GetHighlightColourBg`")
+ HighlightColourFg = property(GetHighlightColourFg,doc="See `GetHighlightColourFg`")
+ HolidayColourBg = property(GetHolidayColourBg,doc="See `GetHolidayColourBg`")
+ HolidayColourFg = property(GetHolidayColourFg,doc="See `GetHolidayColourFg`")
+ LowerDateLimit = property(GetLowerDateLimit,SetLowerDateLimit,doc="See `GetLowerDateLimit` and `SetLowerDateLimit`")
+ MonthControl = property(GetMonthControl,doc="See `GetMonthControl`")
+ UpperDateLimit = property(GetUpperDateLimit,SetUpperDateLimit,doc="See `GetUpperDateLimit` and `SetUpperDateLimit`")
+ YearControl = property(GetYearControl,doc="See `GetYearControl`")
_calendar.CalendarCtrl_swigregister(CalendarCtrl)
cvar = _calendar.cvar
CalendarNameStr = cvar.CalendarNameStr
GetMultiLineTextExtent(wxString string, Font font=None) ->
(width, height, lineHeight)
- Get the width, height, decent and leading of the text using the
+ Get the width, height, and line height of the text using the
current or specified font. Works for single as well as multi-line
strings.
"""
GetFrame = wx._deprecated(GetManagedWindow,
"GetFrame is deprecated, use `GetManagedWindow` instead.")
+ AllPanes = property(GetAllPanes,doc="See `GetAllPanes`")
+ ArtProvider = property(GetArtProvider,SetArtProvider,doc="See `GetArtProvider` and `SetArtProvider`")
+ Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
+ ManagedWindow = property(GetManagedWindow,SetManagedWindow,doc="See `GetManagedWindow` and `SetManagedWindow`")
_aui.FrameManager_swigregister(FrameManager)
class FrameManagerEvent(_core.Event):
veto_flag = property(_aui.FrameManagerEvent_veto_flag_get, _aui.FrameManagerEvent_veto_flag_set)
canveto_flag = property(_aui.FrameManagerEvent_canveto_flag_get, _aui.FrameManagerEvent_canveto_flag_set)
dc = property(_aui.FrameManagerEvent_dc_get, _aui.FrameManagerEvent_dc_set)
+ Button = property(GetButton,SetButton,doc="See `GetButton` and `SetButton`")
+ DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`")
+ Pane = property(GetPane,SetPane,doc="See `GetPane` and `SetPane`")
_aui.FrameManagerEvent_swigregister(FrameManagerEvent)
class DockInfo(object):
old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+ OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
_aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
class AuiNotebookPage(object):
"""AddButton(self, int id, Bitmap bmp)"""
return _aui.AuiTabContainer_AddButton(*args, **kwargs)
+ ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`")
+ PageCount = property(GetPageCount,doc="See `GetPageCount`")
+ Pages = property(GetPages,doc="See `GetPages`")
_aui.AuiTabContainer_swigregister(AuiTabContainer)
class AuiTabCtrl(_core.Control,AuiTabContainer):
"""GetPage(self, size_t page_idx) -> Window"""
return _aui.AuiMultiNotebook_GetPage(*args, **kwargs)
+ PageCount = property(GetPageCount,doc="See `GetPageCount`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
_aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
def PreAuiMultiNotebook(*args, **kwargs):
}
-// A wxDocArt lcass that knows how to forward virtuals to Python methods
+// A wxDocArt class that knows how to forward virtuals to Python methods
class wxPyDockArt : public wxDefaultDockArt
{
wxPyDockArt() : wxDefaultDockArt() {}
"""GetBorder(self) -> int"""
return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
+ BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
+ Border = property(GetBorder,SetBorder,doc="See `GetBorder` and `SetBorder`")
+ BorderColour = property(GetBorderColour,SetBorderColour,doc="See `GetBorderColour` and `SetBorderColour`")
+ Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
+ TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_calendar.CalendarDateAttr_swigregister(CalendarDateAttr)
class CalendarEvent(_core.DateEvent):
"""returns datetime.date object"""
return _wxdate2pydate(self.GetDate())
+ WeekDay = property(GetWeekDay,SetWeekDay,doc="See `GetWeekDay` and `SetWeekDay`")
_calendar.CalendarEvent_swigregister(CalendarEvent)
wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED
"""returns datetime.date object"""
return _wxdate2pydate(self.GetUpperDateLimit())
+ Date = property(GetDate,SetDate,doc="See `GetDate` and `SetDate`")
+ HeaderColourBg = property(GetHeaderColourBg,doc="See `GetHeaderColourBg`")
+ HeaderColourFg = property(GetHeaderColourFg,doc="See `GetHeaderColourFg`")
+ HighlightColourBg = property(GetHighlightColourBg,doc="See `GetHighlightColourBg`")
+ HighlightColourFg = property(GetHighlightColourFg,doc="See `GetHighlightColourFg`")
+ HolidayColourBg = property(GetHolidayColourBg,doc="See `GetHolidayColourBg`")
+ HolidayColourFg = property(GetHolidayColourFg,doc="See `GetHolidayColourFg`")
+ LowerDateLimit = property(GetLowerDateLimit,SetLowerDateLimit,doc="See `GetLowerDateLimit` and `SetLowerDateLimit`")
+ MonthControl = property(GetMonthControl,doc="See `GetMonthControl`")
+ UpperDateLimit = property(GetUpperDateLimit,SetUpperDateLimit,doc="See `GetUpperDateLimit` and `SetUpperDateLimit`")
+ YearControl = property(GetYearControl,doc="See `GetYearControl`")
_calendar.CalendarCtrl_swigregister(CalendarCtrl)
cvar = _calendar.cvar
CalendarNameStr = cvar.CalendarNameStr
GetMultiLineTextExtent(wxString string, Font font=None) ->
(width, height, lineHeight)
- Get the width, height, decent and leading of the text using the
+ Get the width, height, and line height of the text using the
current or specified font. Works for single as well as multi-line
strings.
"""
GetFrame = wx._deprecated(GetManagedWindow,
"GetFrame is deprecated, use `GetManagedWindow` instead.")
+ AllPanes = property(GetAllPanes,doc="See `GetAllPanes`")
+ ArtProvider = property(GetArtProvider,SetArtProvider,doc="See `GetArtProvider` and `SetArtProvider`")
+ Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
+ ManagedWindow = property(GetManagedWindow,SetManagedWindow,doc="See `GetManagedWindow` and `SetManagedWindow`")
_aui.FrameManager_swigregister(FrameManager)
class FrameManagerEvent(_core.Event):
veto_flag = property(_aui.FrameManagerEvent_veto_flag_get, _aui.FrameManagerEvent_veto_flag_set)
canveto_flag = property(_aui.FrameManagerEvent_canveto_flag_get, _aui.FrameManagerEvent_canveto_flag_set)
dc = property(_aui.FrameManagerEvent_dc_get, _aui.FrameManagerEvent_dc_set)
+ Button = property(GetButton,SetButton,doc="See `GetButton` and `SetButton`")
+ DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`")
+ Pane = property(GetPane,SetPane,doc="See `GetPane` and `SetPane`")
_aui.FrameManagerEvent_swigregister(FrameManagerEvent)
class DockInfo(object):
old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+ OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
_aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
class AuiNotebookPage(object):
"""AddButton(self, int id, Bitmap bmp)"""
return _aui.AuiTabContainer_AddButton(*args, **kwargs)
+ ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`")
+ PageCount = property(GetPageCount,doc="See `GetPageCount`")
+ Pages = property(GetPages,doc="See `GetPages`")
_aui.AuiTabContainer_swigregister(AuiTabContainer)
class AuiTabCtrl(_core.Control,AuiTabContainer):
"""GetPage(self, size_t page_idx) -> Window"""
return _aui.AuiMultiNotebook_GetPage(*args, **kwargs)
+ PageCount = property(GetPageCount,doc="See `GetPageCount`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
_aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
def PreAuiMultiNotebook(*args, **kwargs):
}
-// A wxDocArt lcass that knows how to forward virtuals to Python methods
+// A wxDocArt class that knows how to forward virtuals to Python methods
class wxPyDockArt : public wxDefaultDockArt
{
wxPyDockArt() : wxDefaultDockArt() {}
"""GetBorder(self) -> int"""
return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
+ BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
+ Border = property(GetBorder,SetBorder,doc="See `GetBorder` and `SetBorder`")
+ BorderColour = property(GetBorderColour,SetBorderColour,doc="See `GetBorderColour` and `SetBorderColour`")
+ Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
+ TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_calendar.CalendarDateAttr_swigregister(CalendarDateAttr)
class CalendarEvent(_core.DateEvent):
"""returns datetime.date object"""
return _wxdate2pydate(self.GetDate())
+ WeekDay = property(GetWeekDay,SetWeekDay,doc="See `GetWeekDay` and `SetWeekDay`")
_calendar.CalendarEvent_swigregister(CalendarEvent)
wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED
"""returns datetime.date object"""
return _wxdate2pydate(self.GetUpperDateLimit())
+ Date = property(GetDate,SetDate,doc="See `GetDate` and `SetDate`")
+ HeaderColourBg = property(GetHeaderColourBg,doc="See `GetHeaderColourBg`")
+ HeaderColourFg = property(GetHeaderColourFg,doc="See `GetHeaderColourFg`")
+ HighlightColourBg = property(GetHighlightColourBg,doc="See `GetHighlightColourBg`")
+ HighlightColourFg = property(GetHighlightColourFg,doc="See `GetHighlightColourFg`")
+ HolidayColourBg = property(GetHolidayColourBg,doc="See `GetHolidayColourBg`")
+ HolidayColourFg = property(GetHolidayColourFg,doc="See `GetHolidayColourFg`")
+ LowerDateLimit = property(GetLowerDateLimit,SetLowerDateLimit,doc="See `GetLowerDateLimit` and `SetLowerDateLimit`")
+ MonthControl = property(GetMonthControl,doc="See `GetMonthControl`")
+ UpperDateLimit = property(GetUpperDateLimit,SetUpperDateLimit,doc="See `GetUpperDateLimit` and `SetUpperDateLimit`")
+ YearControl = property(GetYearControl,doc="See `GetYearControl`")
_calendar.CalendarCtrl_swigregister(CalendarCtrl)
cvar = _calendar.cvar
CalendarNameStr = cvar.CalendarNameStr