DocDeclStr(
void , SetValue(const wxString& value),
"Sets the default text value.", "");
+
+ %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`");
};
//---------------------------------------------------------------------------
fly you may wish to override this function (via
`wx.PyTextDataObject`.)", "");
+ %property(Text, GetText, SetText, doc="See `GetText` and `SetText`");
+ %property(TextLength, GetTextLength, doc="See `GetTextLength`");
};
def __str__(self):
return self.Format().encode(wx.GetDefaultPyEncoding())
}
+
+ %property(Days, GetDays, doc="See `GetDays`");
+ %property(Hours, GetHours, doc="See `GetHours`");
+ %property(Milliseconds, GetMilliseconds, doc="See `GetMilliseconds`");
+ %property(Minutes, GetMinutes, doc="See `GetMinutes`");
+ %property(Seconds, GetSeconds, doc="See `GetSeconds`");
+ %property(Weeks, GetWeeks, doc="See `GetWeeks`");
};
};
+enum wxLayoutDirection
+{
+ wxLayout_Default,
+ wxLayout_LeftToRight,
+ wxLayout_RightToLeft
+};
+
+
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
%newgroup
-enum wxLayoutDirection
-{
- wxLayout_Default,
- wxLayout_LeftToRight,
- wxLayout_RightToLeft
-};
-
-
enum wxLanguage
{
// user's default/preffered language as got from OS:
static void Enable(bool flag);
static void SetDelay(long milliseconds);
+
+ %property(Tip, GetTip, SetTip, doc="See `GetTip` and `SetTip`");
+ %property(Window, GetWindow, doc="See `GetWindow`");
};
#endif
// the tree control we use for showing the pages index tree
wxPyTreeCtrl* GetTreeCtrl() const;
+ %property(TreeCtrl, GetTreeCtrl, doc="See `GetTreeCtrl`");
};
// Not part of the wxBookctrl API, but must be called in OnIdle or
// by application to realize the toolbar and select the initial page.
void Realize();
+
+ %property(ToolBar, GetToolBar, doc="See `GetToolBar`");
};
static wxTextAttr Combine(const wxTextAttr& attr,
const wxTextAttr& attrDef,
const wxTextCtrl *text);
+
+ %property(Alignment, GetAlignment, SetAlignment, doc="See `GetAlignment` and `SetAlignment`");
+ %property(BackgroundColour, GetBackgroundColour, SetBackgroundColour, doc="See `GetBackgroundColour` and `SetBackgroundColour`");
+ %property(Flags, GetFlags, SetFlags, doc="See `GetFlags` and `SetFlags`");
+ %property(Font, GetFont, SetFont, doc="See `GetFont` and `SetFont`");
+ %property(LeftIndent, GetLeftIndent, SetLeftIndent, doc="See `GetLeftIndent` and `SetLeftIndent`");
+ %property(LeftSubIndent, GetLeftSubIndent, doc="See `GetLeftSubIndent`");
+ %property(RightIndent, GetRightIndent, SetRightIndent, doc="See `GetRightIndent` and `SetRightIndent`");
+ %property(Tabs, GetTabs, SetTabs, doc="See `GetTabs` and `SetTabs`");
+ %property(TextColour, GetTextColour, SetTextColour, doc="See `GetTextColour` and `SetTextColour`");
};
//---------------------------------------------------------------------------
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+ %property(DefaultStyle, GetDefaultStyle, SetDefaultStyle, doc="See `GetDefaultStyle` and `SetDefaultStyle`");
+ %property(InsertionPoint, GetInsertionPoint, SetInsertionPoint, doc="See `GetInsertionPoint` and `SetInsertionPoint`");
+ %property(LastPosition, GetLastPosition, doc="See `GetLastPosition`");
+ %property(NumberOfLines, GetNumberOfLines, doc="See `GetNumberOfLines`");
+ %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+ %property(StringSelection, GetStringSelection, doc="See `GetStringSelection`");
+ %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`");
};
//---------------------------------------------------------------------------
// get the end of the URL
long GetURLEnd() const;
+
+ %property(MouseEvent, GetMouseEvent, doc="See `GetMouseEvent`");
+ %property(URLEnd, GetURLEnd, doc="See `GetURLEnd`");
+ %property(URLStart, GetURLStart, doc="See `GetURLStart`");
};
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+ %property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`");
};
//---------------------------------------------------------------------------
"""NO-OP: Timers must be destroyed by normal reference counting"""
pass
}
+
+ %property(Id, GetId, doc="See `GetId`");
+ %property(Interval, GetInterval, doc="See `GetInterval`");
+ %property(Owner, GetOwner, SetOwner, doc="See `GetOwner` and `SetOwner`");
};
public:
wxTimerEvent(int timerid = 0, int interval = 0);
int GetInterval() const;
+
+ %property(Interval, GetInterval, doc="See `GetInterval`");
};
// modify the tip as soon as it is read. If return wxEmptyString, then
// the tip is skipped, and the next one is read.
virtual wxString PreprocessTip(const wxString& tip);
+
+ %property(CurrentTip, GetCurrentTip, doc="See `GetCurrentTip`");
+ %property(Tip, GetTip, doc="See `GetTip`");
};
SetBitmap1 = SetNormalBitmap
SetBitmap2 = SetDisabledBitmap
}
+
+ %property(Bitmap, GetBitmap, doc="See `GetBitmap`");
+ %property(ClientData, GetClientData, SetClientData, doc="See `GetClientData` and `SetClientData`");
+ %property(Control, GetControl, doc="See `GetControl`");
+ %property(DisabledBitmap, GetDisabledBitmap, SetDisabledBitmap, doc="See `GetDisabledBitmap` and `SetDisabledBitmap`");
+ %property(Id, GetId, doc="See `GetId`");
+ %property(Kind, GetKind, doc="See `GetKind`");
+ %property(Label, GetLabel, SetLabel, doc="See `GetLabel` and `SetLabel`");
+ %property(LongHelp, GetLongHelp, SetLongHelp, doc="See `GetLongHelp` and `SetLongHelp`");
+ %property(NormalBitmap, GetNormalBitmap, SetNormalBitmap, doc="See `GetNormalBitmap` and `SetNormalBitmap`");
+ %property(ShortHelp, GetShortHelp, SetShortHelp, doc="See `GetShortHelp` and `SetShortHelp`");
+ %property(Style, GetStyle, doc="See `GetStyle`");
+ %property(ToolBar, GetToolBar, doc="See `GetToolBar`");
};
bool IsVertical();
size_t GetToolsCount() const;
+
+ %property(Margins, GetMargins, SetMargins, doc="See `GetMargins` and `SetMargins`");
+ %property(MaxCols, GetMaxCols, doc="See `GetMaxCols`");
+ %property(MaxRows, GetMaxRows, doc="See `GetMaxRows`");
+ %property(ToolBitmapSize, GetToolBitmapSize, SetToolBitmapSize, doc="See `GetToolBitmapSize` and `SetToolBitmapSize`");
+ %property(ToolMargins, GetToolMargins, doc="See `GetToolMargins`");
+ %property(ToolPacking, GetToolPacking, SetToolPacking, doc="See `GetToolPacking` and `SetToolPacking`");
+ %property(ToolSeparation, GetToolSeparation, SetToolSeparation, doc="See `GetToolSeparation` and `SetToolSeparation`");
+ %property(ToolSize, GetToolSize, doc="See `GetToolSize`");
+ %property(ToolsCount, GetToolsCount, doc="See `GetToolsCount`");
};
virtual wxWindow *, GetTmpDefaultItem() const,
"Return the temporary default item, which can be None.", "");
+ %property(DefaultItem, GetDefaultItem, SetDefaultItem, doc="See `GetDefaultItem` and `SetDefaultItem`");
+ %property(Icon, GetIcon, SetIcon, doc="See `GetIcon` and `SetIcon`");
+ %property(Title, GetTitle, SetTitle, doc="See `GetTitle` and `SetTitle`");
+ %property(TmpDefaultItem, GetTmpDefaultItem, SetTmpDefaultItem, doc="See `GetTmpDefaultItem` and `SetTmpDefaultItem`");
};
%pythonAppend Destroy "args[0].thisown = 0"
%extend { void Destroy() { delete self; } }
+
+ %property(Data, GetData, SetData, doc="See `GetData` and `SetData`");
+ %property(Id, GetId, SetId, doc="See `GetId` and `SetId`");
};
// Set the tooltip for the item (for EVT_TREE_ITEM_GETTOOLTIP events)
void SetToolTip(const wxString& toolTip);
wxString GetToolTip();
+
+ %property(Item, GetItem, SetItem, doc="See `GetItem` and `SetItem`");
+ %property(KeyCode, GetKeyCode, doc="See `GetKeyCode`");
+ %property(KeyEvent, GetKeyEvent, SetKeyEvent, doc="See `GetKeyEvent` and `SetKeyEvent`");
+ %property(Label, GetLabel, SetLabel, doc="See `GetLabel` and `SetLabel`");
+ %property(OldItem, GetOldItem, SetOldItem, doc="See `GetOldItem` and `SetOldItem`");
+ %property(Point, GetPoint, SetPoint, doc="See `GetPoint` and `SetPoint`");
+ %property(ToolTip, GetToolTip, SetToolTip, doc="See `GetToolTip` and `SetToolTip`");
+ %property(EditCancelled, IsEditCancelled, SetEditCanceled, doc="See `IsEditCancelled` and `SetEditCanceled`");
};
//---------------------------------------------------------------------------
void SetQuickBestSize(bool q);
bool GetQuickBestSize() const;
+ %property(Count, GetCount, doc="See `GetCount`");
+ %property(EditControl, GetEditControl, doc="See `GetEditControl`");
+ %property(FirstVisibleItem, GetFirstVisibleItem, doc="See `GetFirstVisibleItem`");
+ %property(ImageList, GetImageList, SetImageList, doc="See `GetImageList` and `SetImageList`");
+ %property(Indent, GetIndent, SetIndent, doc="See `GetIndent` and `SetIndent`");
+ %property(QuickBestSize, GetQuickBestSize, SetQuickBestSize, doc="See `GetQuickBestSize` and `SetQuickBestSize`");
+ %property(RootItem, GetRootItem, doc="See `GetRootItem`");
+ %property(Selection, GetSelection, doc="See `GetSelection`");
+ %property(Selections, GetSelections, doc="See `GetSelections`");
+ %property(Spacing, GetSpacing, SetSpacing, doc="See `GetSpacing` and `SetSpacing`");
+ %property(StateImageList, GetStateImageList, SetStateImageList, doc="See `GetStateImageList` and `SetStateImageList`");
};
%property(HelpText, GetHelpText, SetHelpText, doc="See `GetHelpText` and `SetHelpText`");
%property(Id, GetId, SetId, doc="See `GetId` and `SetId`");
%property(Label, GetLabel, SetLabel, doc="See `GetLabel` and `SetLabel`");
+ %property(LayoutDirection, GetLayoutDirection, SetLayoutDirection, doc="See `GetLayoutDirection` and `SetLayoutDirection`");
%property(MaxHeight, GetMaxHeight, doc="See `GetMaxHeight`");
%property(MaxSize, GetMaxSize, SetMaxSize, doc="See `GetMaxSize` and `SetMaxSize`");
%property(MaxWidth, GetMaxWidth, doc="See `GetMaxWidth`");
return _controls_.TextAttr_Combine(*args, **kwargs)
Combine = staticmethod(Combine)
+ Alignment = property(GetAlignment,SetAlignment,doc="See `GetAlignment` and `SetAlignment`")
+ BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
+ Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
+ Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
+ LeftIndent = property(GetLeftIndent,SetLeftIndent,doc="See `GetLeftIndent` and `SetLeftIndent`")
+ LeftSubIndent = property(GetLeftSubIndent,doc="See `GetLeftSubIndent`")
+ RightIndent = property(GetRightIndent,SetRightIndent,doc="See `GetRightIndent` and `SetRightIndent`")
+ Tabs = property(GetTabs,SetTabs,doc="See `GetTabs` and `SetTabs`")
+ TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_controls_.TextAttr_swigregister(TextAttr)
TextCtrlNameStr = cvar.TextCtrlNameStr
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ DefaultStyle = property(GetDefaultStyle,SetDefaultStyle,doc="See `GetDefaultStyle` and `SetDefaultStyle`")
+ InsertionPoint = property(GetInsertionPoint,SetInsertionPoint,doc="See `GetInsertionPoint` and `SetInsertionPoint`")
+ LastPosition = property(GetLastPosition,doc="See `GetLastPosition`")
+ NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
+ StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.TextCtrl_swigregister(TextCtrl)
def PreTextCtrl(*args, **kwargs):
"""GetURLEnd(self) -> long"""
return _controls_.TextUrlEvent_GetURLEnd(*args, **kwargs)
+ MouseEvent = property(GetMouseEvent,doc="See `GetMouseEvent`")
+ URLEnd = property(GetURLEnd,doc="See `GetURLEnd`")
+ URLStart = property(GetURLStart,doc="See `GetURLStart`")
_controls_.TextUrlEvent_swigregister(TextUrlEvent)
EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1)
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.ToggleButton_swigregister(ToggleButton)
ToggleButtonNameStr = cvar.ToggleButtonNameStr
"""GetTreeCtrl(self) -> TreeCtrl"""
return _controls_.Treebook_GetTreeCtrl(*args, **kwargs)
+ TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
_controls_.Treebook_swigregister(Treebook)
def PreTreebook(*args, **kwargs):
"""Realize(self)"""
return _controls_.Toolbook_Realize(*args, **kwargs)
+ ToolBar = property(GetToolBar,doc="See `GetToolBar`")
_controls_.Toolbook_swigregister(Toolbook)
def PreToolbook(*args, **kwargs):
SetBitmap1 = SetNormalBitmap
SetBitmap2 = SetDisabledBitmap
+ Bitmap = property(GetBitmap,doc="See `GetBitmap`")
+ ClientData = property(GetClientData,SetClientData,doc="See `GetClientData` and `SetClientData`")
+ Control = property(GetControl,doc="See `GetControl`")
+ DisabledBitmap = property(GetDisabledBitmap,SetDisabledBitmap,doc="See `GetDisabledBitmap` and `SetDisabledBitmap`")
+ Id = property(GetId,doc="See `GetId`")
+ Kind = property(GetKind,doc="See `GetKind`")
+ Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ LongHelp = property(GetLongHelp,SetLongHelp,doc="See `GetLongHelp` and `SetLongHelp`")
+ NormalBitmap = property(GetNormalBitmap,SetNormalBitmap,doc="See `GetNormalBitmap` and `SetNormalBitmap`")
+ ShortHelp = property(GetShortHelp,SetShortHelp,doc="See `GetShortHelp` and `SetShortHelp`")
+ Style = property(GetStyle,doc="See `GetStyle`")
+ ToolBar = property(GetToolBar,doc="See `GetToolBar`")
_controls_.ToolBarToolBase_swigregister(ToolBarToolBase)
class ToolBarBase(_core.Control):
"""GetToolsCount(self) -> size_t"""
return _controls_.ToolBarBase_GetToolsCount(*args, **kwargs)
+ Margins = property(GetMargins,SetMargins,doc="See `GetMargins` and `SetMargins`")
+ MaxCols = property(GetMaxCols,doc="See `GetMaxCols`")
+ MaxRows = property(GetMaxRows,doc="See `GetMaxRows`")
+ ToolBitmapSize = property(GetToolBitmapSize,SetToolBitmapSize,doc="See `GetToolBitmapSize` and `SetToolBitmapSize`")
+ ToolMargins = property(GetToolMargins,doc="See `GetToolMargins`")
+ ToolPacking = property(GetToolPacking,SetToolPacking,doc="See `GetToolPacking` and `SetToolPacking`")
+ ToolSeparation = property(GetToolSeparation,SetToolSeparation,doc="See `GetToolSeparation` and `SetToolSeparation`")
+ ToolSize = property(GetToolSize,doc="See `GetToolSize`")
+ ToolsCount = property(GetToolsCount,doc="See `GetToolsCount`")
_controls_.ToolBarBase_swigregister(ToolBarBase)
class ToolBar(ToolBarBase):
args[0].thisown = 0
return val
+ Data = property(GetData,SetData,doc="See `GetData` and `SetData`")
+ Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
_controls_.TreeItemData_swigregister(TreeItemData)
#---------------------------------------------------------------------------
"""GetToolTip(self) -> String"""
return _controls_.TreeEvent_GetToolTip(*args, **kwargs)
+ Item = property(GetItem,SetItem,doc="See `GetItem` and `SetItem`")
+ KeyCode = property(GetKeyCode,doc="See `GetKeyCode`")
+ KeyEvent = property(GetKeyEvent,SetKeyEvent,doc="See `GetKeyEvent` and `SetKeyEvent`")
+ Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ OldItem = property(GetOldItem,SetOldItem,doc="See `GetOldItem` and `SetOldItem`")
+ Point = property(GetPoint,SetPoint,doc="See `GetPoint` and `SetPoint`")
+ ToolTip = property(GetToolTip,SetToolTip,doc="See `GetToolTip` and `SetToolTip`")
+ EditCancelled = property(IsEditCancelled,SetEditCanceled,doc="See `IsEditCancelled` and `SetEditCanceled`")
_controls_.TreeEvent_swigregister(TreeEvent)
#---------------------------------------------------------------------------
"""GetQuickBestSize(self) -> bool"""
return _controls_.TreeCtrl_GetQuickBestSize(*args, **kwargs)
+ Count = property(GetCount,doc="See `GetCount`")
+ EditControl = property(GetEditControl,doc="See `GetEditControl`")
+ FirstVisibleItem = property(GetFirstVisibleItem,doc="See `GetFirstVisibleItem`")
+ ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
+ Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
+ QuickBestSize = property(GetQuickBestSize,SetQuickBestSize,doc="See `GetQuickBestSize` and `SetQuickBestSize`")
+ RootItem = property(GetRootItem,doc="See `GetRootItem`")
+ Selection = property(GetSelection,doc="See `GetSelection`")
+ Selections = property(GetSelections,doc="See `GetSelections`")
+ Spacing = property(GetSpacing,SetSpacing,doc="See `GetSpacing` and `SetSpacing`")
+ StateImageList = property(GetStateImageList,SetStateImageList,doc="See `GetStateImageList` and `SetStateImageList`")
_controls_.TreeCtrl_swigregister(TreeCtrl)
def PreTreeCtrl(*args, **kwargs):
UPDATE_UI_NONE = _core_.UPDATE_UI_NONE
UPDATE_UI_RECURSE = _core_.UPDATE_UI_RECURSE
UPDATE_UI_FROMIDLE = _core_.UPDATE_UI_FROMIDLE
+Layout_Default = _core_.Layout_Default
+Layout_LeftToRight = _core_.Layout_LeftToRight
+Layout_RightToLeft = _core_.Layout_RightToLeft
#---------------------------------------------------------------------------
class Object(object):
def GetLayoutDirection(*args, **kwargs):
"""
- GetLayoutDirection(self) -> wxLayoutDirection
+ GetLayoutDirection(self) -> int
Return the layout direction for the current locale.
"""
PrevControlId = staticmethod(PrevControlId)
def GetLayoutDirection(*args, **kwargs):
"""
- GetLayoutDirection(self) -> wxLayoutDirection
+ GetLayoutDirection(self) -> int
Get the layout direction (LTR or RTL) for this window. Returns
``wx.Layout_Default`` if layout direction is not supported.
def SetLayoutDirection(*args, **kwargs):
"""
- SetLayoutDirection(self, wxLayoutDirection dir)
+ SetLayoutDirection(self, int dir)
Set the layout direction (LTR or RTL) for this window.
"""
HelpText = property(GetHelpText,SetHelpText,doc="See `GetHelpText` and `SetHelpText`")
Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ LayoutDirection = property(GetLayoutDirection,SetLayoutDirection,doc="See `GetLayoutDirection` and `SetLayoutDirection`")
MaxHeight = property(GetMaxHeight,doc="See `GetMaxHeight`")
MaxSize = property(GetMaxSize,SetMaxSize,doc="See `GetMaxSize` and `SetMaxSize`")
MaxWidth = property(GetMaxWidth,doc="See `GetMaxWidth`")
#define SWIGTYPE_p_wxJPEGHandler swig_types[67]
#define SWIGTYPE_p_wxKeyEvent swig_types[68]
#define SWIGTYPE_p_wxLayoutConstraints swig_types[69]
-#define SWIGTYPE_p_wxLayoutDirection swig_types[70]
-#define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
-#define SWIGTYPE_p_wxMemoryFSHandler swig_types[72]
-#define SWIGTYPE_p_wxMenu swig_types[73]
-#define SWIGTYPE_p_wxMenuBar swig_types[74]
-#define SWIGTYPE_p_wxMenuBarBase swig_types[75]
-#define SWIGTYPE_p_wxMenuEvent swig_types[76]
-#define SWIGTYPE_p_wxMenuItem swig_types[77]
-#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
-#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
-#define SWIGTYPE_p_wxMouseEvent swig_types[80]
-#define SWIGTYPE_p_wxMoveEvent swig_types[81]
-#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
-#define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[84]
-#define SWIGTYPE_p_wxObject swig_types[85]
-#define SWIGTYPE_p_wxOutputStream swig_types[86]
-#define SWIGTYPE_p_wxPCXHandler swig_types[87]
-#define SWIGTYPE_p_wxPNGHandler swig_types[88]
-#define SWIGTYPE_p_wxPNMHandler swig_types[89]
-#define SWIGTYPE_p_wxPaintEvent swig_types[90]
-#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
-#define SWIGTYPE_p_wxPaperSize swig_types[92]
-#define SWIGTYPE_p_wxPoint swig_types[93]
-#define SWIGTYPE_p_wxPoint2D swig_types[94]
-#define SWIGTYPE_p_wxPropagateOnce swig_types[95]
-#define SWIGTYPE_p_wxPropagationDisabler swig_types[96]
-#define SWIGTYPE_p_wxPyApp swig_types[97]
-#define SWIGTYPE_p_wxPyCommandEvent swig_types[98]
-#define SWIGTYPE_p_wxPyDropTarget swig_types[99]
-#define SWIGTYPE_p_wxPyEvent swig_types[100]
-#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[101]
-#define SWIGTYPE_p_wxPyImageHandler swig_types[102]
-#define SWIGTYPE_p_wxPyInputStream swig_types[103]
-#define SWIGTYPE_p_wxPySizer swig_types[104]
-#define SWIGTYPE_p_wxPyValidator swig_types[105]
-#define SWIGTYPE_p_wxQuantize swig_types[106]
-#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
-#define SWIGTYPE_p_wxRealPoint swig_types[108]
-#define SWIGTYPE_p_wxRect swig_types[109]
-#define SWIGTYPE_p_wxRegion swig_types[110]
-#define SWIGTYPE_p_wxScrollEvent swig_types[111]
-#define SWIGTYPE_p_wxScrollWinEvent swig_types[112]
-#define SWIGTYPE_p_wxSetCursorEvent swig_types[113]
-#define SWIGTYPE_p_wxShowEvent swig_types[114]
-#define SWIGTYPE_p_wxSize swig_types[115]
-#define SWIGTYPE_p_wxSizeEvent swig_types[116]
-#define SWIGTYPE_p_wxSizer swig_types[117]
-#define SWIGTYPE_p_wxSizerItem swig_types[118]
-#define SWIGTYPE_p_wxStaticBox swig_types[119]
-#define SWIGTYPE_p_wxStaticBoxSizer swig_types[120]
-#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[121]
-#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[122]
-#define SWIGTYPE_p_wxTIFFHandler swig_types[123]
-#define SWIGTYPE_p_wxToolTip swig_types[124]
-#define SWIGTYPE_p_wxUpdateUIEvent swig_types[125]
-#define SWIGTYPE_p_wxValidator swig_types[126]
-#define SWIGTYPE_p_wxVisualAttributes swig_types[127]
-#define SWIGTYPE_p_wxWindow swig_types[128]
-#define SWIGTYPE_p_wxWindowCreateEvent swig_types[129]
-#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[130]
-#define SWIGTYPE_p_wxXPMHandler swig_types[131]
-#define SWIGTYPE_p_wxZipFSHandler swig_types[132]
-static swig_type_info *swig_types[134];
-static swig_module_info swig_module = {swig_types, 133, 0, 0, 0, 0};
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
+#define SWIGTYPE_p_wxMemoryFSHandler swig_types[71]
+#define SWIGTYPE_p_wxMenu swig_types[72]
+#define SWIGTYPE_p_wxMenuBar swig_types[73]
+#define SWIGTYPE_p_wxMenuBarBase swig_types[74]
+#define SWIGTYPE_p_wxMenuEvent swig_types[75]
+#define SWIGTYPE_p_wxMenuItem swig_types[76]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
+#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[78]
+#define SWIGTYPE_p_wxMouseEvent swig_types[79]
+#define SWIGTYPE_p_wxMoveEvent swig_types[80]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[83]
+#define SWIGTYPE_p_wxObject swig_types[84]
+#define SWIGTYPE_p_wxOutputStream swig_types[85]
+#define SWIGTYPE_p_wxPCXHandler swig_types[86]
+#define SWIGTYPE_p_wxPNGHandler swig_types[87]
+#define SWIGTYPE_p_wxPNMHandler swig_types[88]
+#define SWIGTYPE_p_wxPaintEvent swig_types[89]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
+#define SWIGTYPE_p_wxPaperSize swig_types[91]
+#define SWIGTYPE_p_wxPoint swig_types[92]
+#define SWIGTYPE_p_wxPoint2D swig_types[93]
+#define SWIGTYPE_p_wxPropagateOnce swig_types[94]
+#define SWIGTYPE_p_wxPropagationDisabler swig_types[95]
+#define SWIGTYPE_p_wxPyApp swig_types[96]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[97]
+#define SWIGTYPE_p_wxPyDropTarget swig_types[98]
+#define SWIGTYPE_p_wxPyEvent swig_types[99]
+#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[100]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[101]
+#define SWIGTYPE_p_wxPyInputStream swig_types[102]
+#define SWIGTYPE_p_wxPySizer swig_types[103]
+#define SWIGTYPE_p_wxPyValidator swig_types[104]
+#define SWIGTYPE_p_wxQuantize swig_types[105]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[106]
+#define SWIGTYPE_p_wxRealPoint swig_types[107]
+#define SWIGTYPE_p_wxRect swig_types[108]
+#define SWIGTYPE_p_wxRegion swig_types[109]
+#define SWIGTYPE_p_wxScrollEvent swig_types[110]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[111]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[112]
+#define SWIGTYPE_p_wxShowEvent swig_types[113]
+#define SWIGTYPE_p_wxSize swig_types[114]
+#define SWIGTYPE_p_wxSizeEvent swig_types[115]
+#define SWIGTYPE_p_wxSizer swig_types[116]
+#define SWIGTYPE_p_wxSizerItem swig_types[117]
+#define SWIGTYPE_p_wxStaticBox swig_types[118]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[119]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[120]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[121]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[122]
+#define SWIGTYPE_p_wxToolTip swig_types[123]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[124]
+#define SWIGTYPE_p_wxValidator swig_types[125]
+#define SWIGTYPE_p_wxVisualAttributes swig_types[126]
+#define SWIGTYPE_p_wxWindow swig_types[127]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[128]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[129]
+#define SWIGTYPE_p_wxXPMHandler swig_types[130]
+#define SWIGTYPE_p_wxZipFSHandler swig_types[131]
+static swig_type_info *swig_types[133];
+static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
arg1 = reinterpret_cast< wxPyApp * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxPyApp const *)arg1)->GetLayoutDirection();
+ result = (wxLayoutDirection)((wxPyApp const *)arg1)->GetLayoutDirection();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((new wxLayoutDirection(static_cast< const wxLayoutDirection& >(result))), SWIGTYPE_p_wxLayoutDirection, SWIG_POINTER_OWN | 0 );
+ resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
arg1 = reinterpret_cast< wxWindow * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxWindow const *)arg1)->GetLayoutDirection();
+ result = (wxLayoutDirection)((wxWindow const *)arg1)->GetLayoutDirection();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((new wxLayoutDirection(static_cast< const wxLayoutDirection& >(result))), SWIGTYPE_p_wxLayoutDirection, SWIG_POINTER_OWN | 0 );
+ resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
wxLayoutDirection arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
- void *argp2 ;
- int res2 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char * kwnames[] = {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'");
}
arg1 = reinterpret_cast< wxWindow * >(argp1);
- {
- res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxLayoutDirection, 0 | 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
- }
- if (!argp2) {
- SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
- } else {
- wxLayoutDirection * temp = reinterpret_cast< wxLayoutDirection * >(argp2);
- arg2 = *temp;
- if (SWIG_IsNewObj(res2)) delete temp;
- }
- }
+ ecode2 = SWIG_AsVal_int(obj1, &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
+ }
+ arg2 = static_cast< wxLayoutDirection >(val2);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetLayoutDirection(arg2);
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_wxLayoutDirection = {"_p_wxLayoutDirection", "wxLayoutDirection *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
&_swigt__p_wxJPEGHandler,
&_swigt__p_wxKeyEvent,
&_swigt__p_wxLayoutConstraints,
- &_swigt__p_wxLayoutDirection,
&_swigt__p_wxMaximizeEvent,
&_swigt__p_wxMemoryFSHandler,
&_swigt__p_wxMenu,
static swig_cast_info _swigc__p_wxJPEGHandler[] = { {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxLayoutConstraints[] = { {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_wxLayoutDirection[] = { {&_swigt__p_wxLayoutDirection, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMaximizeEvent[] = { {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMemoryFSHandler[] = { {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
_swigc__p_wxJPEGHandler,
_swigc__p_wxKeyEvent,
_swigc__p_wxLayoutConstraints,
- _swigc__p_wxLayoutDirection,
_swigc__p_wxMaximizeEvent,
_swigc__p_wxMemoryFSHandler,
_swigc__p_wxMenu,
SWIG_Python_SetConstant(d, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE)));
SWIG_Python_SetConstant(d, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE)));
SWIG_Python_SetConstant(d, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE)));
+ SWIG_Python_SetConstant(d, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default)));
+ SWIG_Python_SetConstant(d, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight)));
+ SWIG_Python_SetConstant(d, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft)));
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get, EmptyString_set);
SWIG_Python_SetConstant(d, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID)));
#---------------------------------------------------------------------------
-Layout_Default = _gdi_.Layout_Default
-Layout_LeftToRight = _gdi_.Layout_LeftToRight
-Layout_RightToLeft = _gdi_.Layout_RightToLeft
LANGUAGE_DEFAULT = _gdi_.LANGUAGE_DEFAULT
LANGUAGE_UNKNOWN = _gdi_.LANGUAGE_UNKNOWN
LANGUAGE_ABKHAZIAN = _gdi_.LANGUAGE_ABKHAZIAN
wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
- SWIG_Python_SetConstant(d, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default)));
- SWIG_Python_SetConstant(d, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight)));
- SWIG_Python_SetConstant(d, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft)));
SWIG_Python_SetConstant(d, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT)));
SWIG_Python_SetConstant(d, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN)));
SWIG_Python_SetConstant(d, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN)));
return _misc_.ToolTip_SetDelay(*args, **kwargs)
SetDelay = staticmethod(SetDelay)
+ Tip = property(GetTip,SetTip,doc="See `GetTip` and `SetTip`")
+ Window = property(GetWindow,doc="See `GetWindow`")
_misc_.ToolTip_swigregister(ToolTip)
def ToolTip_Enable(*args, **kwargs):
"""PreprocessTip(self, String tip) -> String"""
return _misc_.TipProvider_PreprocessTip(*args, **kwargs)
+ CurrentTip = property(GetCurrentTip,doc="See `GetCurrentTip`")
+ Tip = property(GetTip,doc="See `GetTip`")
_misc_.TipProvider_swigregister(TipProvider)
class PyTipProvider(TipProvider):
"""NO-OP: Timers must be destroyed by normal reference counting"""
pass
+ Id = property(GetId,doc="See `GetId`")
+ Interval = property(GetInterval,doc="See `GetInterval`")
+ Owner = property(GetOwner,SetOwner,doc="See `GetOwner` and `SetOwner`")
_misc_.Timer_swigregister(Timer)
# For backwards compatibility with 2.4
"""GetInterval(self) -> int"""
return _misc_.TimerEvent_GetInterval(*args, **kwargs)
+ Interval = property(GetInterval,doc="See `GetInterval`")
_misc_.TimerEvent_swigregister(TimerEvent)
class TimerRunner(object):
def __str__(self):
return self.Format().encode(wx.GetDefaultPyEncoding())
+ Days = property(GetDays,doc="See `GetDays`")
+ Hours = property(GetHours,doc="See `GetHours`")
+ Milliseconds = property(GetMilliseconds,doc="See `GetMilliseconds`")
+ Minutes = property(GetMinutes,doc="See `GetMinutes`")
+ Seconds = property(GetSeconds,doc="See `GetSeconds`")
+ Weeks = property(GetWeeks,doc="See `GetWeeks`")
_misc_.TimeSpan_swigregister(TimeSpan)
def TimeSpan_Milliseconds(*args, **kwargs):
"""
return _misc_.TextDataObject_SetText(*args, **kwargs)
+ Text = property(GetText,SetText,doc="See `GetText` and `SetText`")
+ TextLength = property(GetTextLength,doc="See `GetTextLength`")
_misc_.TextDataObject_swigregister(TextDataObject)
class PyTextDataObject(TextDataObject):
"""
return _windows_.TopLevelWindow_GetTmpDefaultItem(*args, **kwargs)
+ DefaultItem = property(GetDefaultItem,SetDefaultItem,doc="See `GetDefaultItem` and `SetDefaultItem`")
+ Icon = property(GetIcon,SetIcon,doc="See `GetIcon` and `SetIcon`")
+ Title = property(GetTitle,SetTitle,doc="See `GetTitle` and `SetTitle`")
+ TmpDefaultItem = property(GetTmpDefaultItem,SetTmpDefaultItem,doc="See `GetTmpDefaultItem` and `SetTmpDefaultItem`")
_windows_.TopLevelWindow_swigregister(TopLevelWindow)
cvar = _windows_.cvar
FrameNameStr = cvar.FrameNameStr
"""
return _windows_.TextEntryDialog_SetValue(*args, **kwargs)
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_windows_.TextEntryDialog_swigregister(TextEntryDialog)
class PasswordEntryDialog(TextEntryDialog):
return _controls_.TextAttr_Combine(*args, **kwargs)
Combine = staticmethod(Combine)
+ Alignment = property(GetAlignment,SetAlignment,doc="See `GetAlignment` and `SetAlignment`")
+ BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
+ Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
+ Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
+ LeftIndent = property(GetLeftIndent,SetLeftIndent,doc="See `GetLeftIndent` and `SetLeftIndent`")
+ LeftSubIndent = property(GetLeftSubIndent,doc="See `GetLeftSubIndent`")
+ RightIndent = property(GetRightIndent,SetRightIndent,doc="See `GetRightIndent` and `SetRightIndent`")
+ Tabs = property(GetTabs,SetTabs,doc="See `GetTabs` and `SetTabs`")
+ TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_controls_.TextAttr_swigregister(TextAttr)
TextCtrlNameStr = cvar.TextCtrlNameStr
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ DefaultStyle = property(GetDefaultStyle,SetDefaultStyle,doc="See `GetDefaultStyle` and `SetDefaultStyle`")
+ InsertionPoint = property(GetInsertionPoint,SetInsertionPoint,doc="See `GetInsertionPoint` and `SetInsertionPoint`")
+ LastPosition = property(GetLastPosition,doc="See `GetLastPosition`")
+ NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
+ StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.TextCtrl_swigregister(TextCtrl)
def PreTextCtrl(*args, **kwargs):
"""GetURLEnd(self) -> long"""
return _controls_.TextUrlEvent_GetURLEnd(*args, **kwargs)
+ MouseEvent = property(GetMouseEvent,doc="See `GetMouseEvent`")
+ URLEnd = property(GetURLEnd,doc="See `GetURLEnd`")
+ URLStart = property(GetURLStart,doc="See `GetURLStart`")
_controls_.TextUrlEvent_swigregister(TextUrlEvent)
EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1)
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.ToggleButton_swigregister(ToggleButton)
ToggleButtonNameStr = cvar.ToggleButtonNameStr
"""GetTreeCtrl(self) -> TreeCtrl"""
return _controls_.Treebook_GetTreeCtrl(*args, **kwargs)
+ TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
_controls_.Treebook_swigregister(Treebook)
def PreTreebook(*args, **kwargs):
"""Realize(self)"""
return _controls_.Toolbook_Realize(*args, **kwargs)
+ ToolBar = property(GetToolBar,doc="See `GetToolBar`")
_controls_.Toolbook_swigregister(Toolbook)
def PreToolbook(*args, **kwargs):
SetBitmap1 = SetNormalBitmap
SetBitmap2 = SetDisabledBitmap
+ Bitmap = property(GetBitmap,doc="See `GetBitmap`")
+ ClientData = property(GetClientData,SetClientData,doc="See `GetClientData` and `SetClientData`")
+ Control = property(GetControl,doc="See `GetControl`")
+ DisabledBitmap = property(GetDisabledBitmap,SetDisabledBitmap,doc="See `GetDisabledBitmap` and `SetDisabledBitmap`")
+ Id = property(GetId,doc="See `GetId`")
+ Kind = property(GetKind,doc="See `GetKind`")
+ Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ LongHelp = property(GetLongHelp,SetLongHelp,doc="See `GetLongHelp` and `SetLongHelp`")
+ NormalBitmap = property(GetNormalBitmap,SetNormalBitmap,doc="See `GetNormalBitmap` and `SetNormalBitmap`")
+ ShortHelp = property(GetShortHelp,SetShortHelp,doc="See `GetShortHelp` and `SetShortHelp`")
+ Style = property(GetStyle,doc="See `GetStyle`")
+ ToolBar = property(GetToolBar,doc="See `GetToolBar`")
_controls_.ToolBarToolBase_swigregister(ToolBarToolBase)
class ToolBarBase(_core.Control):
"""GetToolsCount(self) -> size_t"""
return _controls_.ToolBarBase_GetToolsCount(*args, **kwargs)
+ Margins = property(GetMargins,SetMargins,doc="See `GetMargins` and `SetMargins`")
+ MaxCols = property(GetMaxCols,doc="See `GetMaxCols`")
+ MaxRows = property(GetMaxRows,doc="See `GetMaxRows`")
+ ToolBitmapSize = property(GetToolBitmapSize,SetToolBitmapSize,doc="See `GetToolBitmapSize` and `SetToolBitmapSize`")
+ ToolMargins = property(GetToolMargins,doc="See `GetToolMargins`")
+ ToolPacking = property(GetToolPacking,SetToolPacking,doc="See `GetToolPacking` and `SetToolPacking`")
+ ToolSeparation = property(GetToolSeparation,SetToolSeparation,doc="See `GetToolSeparation` and `SetToolSeparation`")
+ ToolSize = property(GetToolSize,doc="See `GetToolSize`")
+ ToolsCount = property(GetToolsCount,doc="See `GetToolsCount`")
_controls_.ToolBarBase_swigregister(ToolBarBase)
class ToolBar(ToolBarBase):
args[0].thisown = 0
return val
+ Data = property(GetData,SetData,doc="See `GetData` and `SetData`")
+ Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
_controls_.TreeItemData_swigregister(TreeItemData)
#---------------------------------------------------------------------------
"""GetToolTip(self) -> String"""
return _controls_.TreeEvent_GetToolTip(*args, **kwargs)
+ Item = property(GetItem,SetItem,doc="See `GetItem` and `SetItem`")
+ KeyCode = property(GetKeyCode,doc="See `GetKeyCode`")
+ KeyEvent = property(GetKeyEvent,SetKeyEvent,doc="See `GetKeyEvent` and `SetKeyEvent`")
+ Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ OldItem = property(GetOldItem,SetOldItem,doc="See `GetOldItem` and `SetOldItem`")
+ Point = property(GetPoint,SetPoint,doc="See `GetPoint` and `SetPoint`")
+ ToolTip = property(GetToolTip,SetToolTip,doc="See `GetToolTip` and `SetToolTip`")
+ EditCancelled = property(IsEditCancelled,SetEditCanceled,doc="See `IsEditCancelled` and `SetEditCanceled`")
_controls_.TreeEvent_swigregister(TreeEvent)
#---------------------------------------------------------------------------
"""GetQuickBestSize(self) -> bool"""
return _controls_.TreeCtrl_GetQuickBestSize(*args, **kwargs)
+ Count = property(GetCount,doc="See `GetCount`")
+ EditControl = property(GetEditControl,doc="See `GetEditControl`")
+ FirstVisibleItem = property(GetFirstVisibleItem,doc="See `GetFirstVisibleItem`")
+ ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
+ Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
+ QuickBestSize = property(GetQuickBestSize,SetQuickBestSize,doc="See `GetQuickBestSize` and `SetQuickBestSize`")
+ RootItem = property(GetRootItem,doc="See `GetRootItem`")
+ Selection = property(GetSelection,doc="See `GetSelection`")
+ Selections = property(GetSelections,doc="See `GetSelections`")
+ Spacing = property(GetSpacing,SetSpacing,doc="See `GetSpacing` and `SetSpacing`")
+ StateImageList = property(GetStateImageList,SetStateImageList,doc="See `GetStateImageList` and `SetStateImageList`")
_controls_.TreeCtrl_swigregister(TreeCtrl)
def PreTreeCtrl(*args, **kwargs):
UPDATE_UI_NONE = _core_.UPDATE_UI_NONE
UPDATE_UI_RECURSE = _core_.UPDATE_UI_RECURSE
UPDATE_UI_FROMIDLE = _core_.UPDATE_UI_FROMIDLE
+Layout_Default = _core_.Layout_Default
+Layout_LeftToRight = _core_.Layout_LeftToRight
+Layout_RightToLeft = _core_.Layout_RightToLeft
#---------------------------------------------------------------------------
class Object(object):
def GetLayoutDirection(*args, **kwargs):
"""
- GetLayoutDirection(self) -> wxLayoutDirection
+ GetLayoutDirection(self) -> int
Return the layout direction for the current locale.
"""
PrevControlId = staticmethod(PrevControlId)
def GetLayoutDirection(*args, **kwargs):
"""
- GetLayoutDirection(self) -> wxLayoutDirection
+ GetLayoutDirection(self) -> int
Get the layout direction (LTR or RTL) for this window. Returns
``wx.Layout_Default`` if layout direction is not supported.
def SetLayoutDirection(*args, **kwargs):
"""
- SetLayoutDirection(self, wxLayoutDirection dir)
+ SetLayoutDirection(self, int dir)
Set the layout direction (LTR or RTL) for this window.
"""
HelpText = property(GetHelpText,SetHelpText,doc="See `GetHelpText` and `SetHelpText`")
Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ LayoutDirection = property(GetLayoutDirection,SetLayoutDirection,doc="See `GetLayoutDirection` and `SetLayoutDirection`")
MaxHeight = property(GetMaxHeight,doc="See `GetMaxHeight`")
MaxSize = property(GetMaxSize,SetMaxSize,doc="See `GetMaxSize` and `SetMaxSize`")
MaxWidth = property(GetMaxWidth,doc="See `GetMaxWidth`")
#define SWIGTYPE_p_wxJPEGHandler swig_types[67]
#define SWIGTYPE_p_wxKeyEvent swig_types[68]
#define SWIGTYPE_p_wxLayoutConstraints swig_types[69]
-#define SWIGTYPE_p_wxLayoutDirection swig_types[70]
-#define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
-#define SWIGTYPE_p_wxMemoryFSHandler swig_types[72]
-#define SWIGTYPE_p_wxMenu swig_types[73]
-#define SWIGTYPE_p_wxMenuBar swig_types[74]
-#define SWIGTYPE_p_wxMenuBarBase swig_types[75]
-#define SWIGTYPE_p_wxMenuEvent swig_types[76]
-#define SWIGTYPE_p_wxMenuItem swig_types[77]
-#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
-#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
-#define SWIGTYPE_p_wxMouseEvent swig_types[80]
-#define SWIGTYPE_p_wxMoveEvent swig_types[81]
-#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
-#define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[84]
-#define SWIGTYPE_p_wxObject swig_types[85]
-#define SWIGTYPE_p_wxOutputStream swig_types[86]
-#define SWIGTYPE_p_wxPCXHandler swig_types[87]
-#define SWIGTYPE_p_wxPNGHandler swig_types[88]
-#define SWIGTYPE_p_wxPNMHandler swig_types[89]
-#define SWIGTYPE_p_wxPaintEvent swig_types[90]
-#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
-#define SWIGTYPE_p_wxPaperSize swig_types[92]
-#define SWIGTYPE_p_wxPoint swig_types[93]
-#define SWIGTYPE_p_wxPoint2D swig_types[94]
-#define SWIGTYPE_p_wxPropagateOnce swig_types[95]
-#define SWIGTYPE_p_wxPropagationDisabler swig_types[96]
-#define SWIGTYPE_p_wxPyApp swig_types[97]
-#define SWIGTYPE_p_wxPyCommandEvent swig_types[98]
-#define SWIGTYPE_p_wxPyDropTarget swig_types[99]
-#define SWIGTYPE_p_wxPyEvent swig_types[100]
-#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[101]
-#define SWIGTYPE_p_wxPyImageHandler swig_types[102]
-#define SWIGTYPE_p_wxPyInputStream swig_types[103]
-#define SWIGTYPE_p_wxPySizer swig_types[104]
-#define SWIGTYPE_p_wxPyValidator swig_types[105]
-#define SWIGTYPE_p_wxQuantize swig_types[106]
-#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
-#define SWIGTYPE_p_wxRealPoint swig_types[108]
-#define SWIGTYPE_p_wxRect swig_types[109]
-#define SWIGTYPE_p_wxRegion swig_types[110]
-#define SWIGTYPE_p_wxScrollEvent swig_types[111]
-#define SWIGTYPE_p_wxScrollWinEvent swig_types[112]
-#define SWIGTYPE_p_wxSetCursorEvent swig_types[113]
-#define SWIGTYPE_p_wxShowEvent swig_types[114]
-#define SWIGTYPE_p_wxSize swig_types[115]
-#define SWIGTYPE_p_wxSizeEvent swig_types[116]
-#define SWIGTYPE_p_wxSizer swig_types[117]
-#define SWIGTYPE_p_wxSizerItem swig_types[118]
-#define SWIGTYPE_p_wxStaticBox swig_types[119]
-#define SWIGTYPE_p_wxStaticBoxSizer swig_types[120]
-#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[121]
-#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[122]
-#define SWIGTYPE_p_wxTIFFHandler swig_types[123]
-#define SWIGTYPE_p_wxToolTip swig_types[124]
-#define SWIGTYPE_p_wxUpdateUIEvent swig_types[125]
-#define SWIGTYPE_p_wxValidator swig_types[126]
-#define SWIGTYPE_p_wxVisualAttributes swig_types[127]
-#define SWIGTYPE_p_wxWindow swig_types[128]
-#define SWIGTYPE_p_wxWindowCreateEvent swig_types[129]
-#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[130]
-#define SWIGTYPE_p_wxXPMHandler swig_types[131]
-#define SWIGTYPE_p_wxZipFSHandler swig_types[132]
-static swig_type_info *swig_types[134];
-static swig_module_info swig_module = {swig_types, 133, 0, 0, 0, 0};
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
+#define SWIGTYPE_p_wxMemoryFSHandler swig_types[71]
+#define SWIGTYPE_p_wxMenu swig_types[72]
+#define SWIGTYPE_p_wxMenuBar swig_types[73]
+#define SWIGTYPE_p_wxMenuBarBase swig_types[74]
+#define SWIGTYPE_p_wxMenuEvent swig_types[75]
+#define SWIGTYPE_p_wxMenuItem swig_types[76]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
+#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[78]
+#define SWIGTYPE_p_wxMouseEvent swig_types[79]
+#define SWIGTYPE_p_wxMoveEvent swig_types[80]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[83]
+#define SWIGTYPE_p_wxObject swig_types[84]
+#define SWIGTYPE_p_wxOutputStream swig_types[85]
+#define SWIGTYPE_p_wxPCXHandler swig_types[86]
+#define SWIGTYPE_p_wxPNGHandler swig_types[87]
+#define SWIGTYPE_p_wxPNMHandler swig_types[88]
+#define SWIGTYPE_p_wxPaintEvent swig_types[89]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
+#define SWIGTYPE_p_wxPaperSize swig_types[91]
+#define SWIGTYPE_p_wxPoint swig_types[92]
+#define SWIGTYPE_p_wxPoint2D swig_types[93]
+#define SWIGTYPE_p_wxPropagateOnce swig_types[94]
+#define SWIGTYPE_p_wxPropagationDisabler swig_types[95]
+#define SWIGTYPE_p_wxPyApp swig_types[96]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[97]
+#define SWIGTYPE_p_wxPyDropTarget swig_types[98]
+#define SWIGTYPE_p_wxPyEvent swig_types[99]
+#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[100]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[101]
+#define SWIGTYPE_p_wxPyInputStream swig_types[102]
+#define SWIGTYPE_p_wxPySizer swig_types[103]
+#define SWIGTYPE_p_wxPyValidator swig_types[104]
+#define SWIGTYPE_p_wxQuantize swig_types[105]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[106]
+#define SWIGTYPE_p_wxRealPoint swig_types[107]
+#define SWIGTYPE_p_wxRect swig_types[108]
+#define SWIGTYPE_p_wxRegion swig_types[109]
+#define SWIGTYPE_p_wxScrollEvent swig_types[110]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[111]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[112]
+#define SWIGTYPE_p_wxShowEvent swig_types[113]
+#define SWIGTYPE_p_wxSize swig_types[114]
+#define SWIGTYPE_p_wxSizeEvent swig_types[115]
+#define SWIGTYPE_p_wxSizer swig_types[116]
+#define SWIGTYPE_p_wxSizerItem swig_types[117]
+#define SWIGTYPE_p_wxStaticBox swig_types[118]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[119]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[120]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[121]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[122]
+#define SWIGTYPE_p_wxToolTip swig_types[123]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[124]
+#define SWIGTYPE_p_wxValidator swig_types[125]
+#define SWIGTYPE_p_wxVisualAttributes swig_types[126]
+#define SWIGTYPE_p_wxWindow swig_types[127]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[128]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[129]
+#define SWIGTYPE_p_wxXPMHandler swig_types[130]
+#define SWIGTYPE_p_wxZipFSHandler swig_types[131]
+static swig_type_info *swig_types[133];
+static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
arg1 = reinterpret_cast< wxPyApp * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxPyApp const *)arg1)->GetLayoutDirection();
+ result = (wxLayoutDirection)((wxPyApp const *)arg1)->GetLayoutDirection();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((new wxLayoutDirection(static_cast< const wxLayoutDirection& >(result))), SWIGTYPE_p_wxLayoutDirection, SWIG_POINTER_OWN | 0 );
+ resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
arg1 = reinterpret_cast< wxWindow * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxWindow const *)arg1)->GetLayoutDirection();
+ result = (wxLayoutDirection)((wxWindow const *)arg1)->GetLayoutDirection();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((new wxLayoutDirection(static_cast< const wxLayoutDirection& >(result))), SWIGTYPE_p_wxLayoutDirection, SWIG_POINTER_OWN | 0 );
+ resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
wxLayoutDirection arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
- void *argp2 ;
- int res2 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char * kwnames[] = {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'");
}
arg1 = reinterpret_cast< wxWindow * >(argp1);
- {
- res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxLayoutDirection, 0 | 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
- }
- if (!argp2) {
- SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
- } else {
- wxLayoutDirection * temp = reinterpret_cast< wxLayoutDirection * >(argp2);
- arg2 = *temp;
- if (SWIG_IsNewObj(res2)) delete temp;
- }
- }
+ ecode2 = SWIG_AsVal_int(obj1, &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
+ }
+ arg2 = static_cast< wxLayoutDirection >(val2);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetLayoutDirection(arg2);
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_wxLayoutDirection = {"_p_wxLayoutDirection", "wxLayoutDirection *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
&_swigt__p_wxJPEGHandler,
&_swigt__p_wxKeyEvent,
&_swigt__p_wxLayoutConstraints,
- &_swigt__p_wxLayoutDirection,
&_swigt__p_wxMaximizeEvent,
&_swigt__p_wxMemoryFSHandler,
&_swigt__p_wxMenu,
static swig_cast_info _swigc__p_wxJPEGHandler[] = { {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxLayoutConstraints[] = { {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_wxLayoutDirection[] = { {&_swigt__p_wxLayoutDirection, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMaximizeEvent[] = { {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMemoryFSHandler[] = { {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
_swigc__p_wxJPEGHandler,
_swigc__p_wxKeyEvent,
_swigc__p_wxLayoutConstraints,
- _swigc__p_wxLayoutDirection,
_swigc__p_wxMaximizeEvent,
_swigc__p_wxMemoryFSHandler,
_swigc__p_wxMenu,
SWIG_Python_SetConstant(d, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE)));
SWIG_Python_SetConstant(d, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE)));
SWIG_Python_SetConstant(d, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE)));
+ SWIG_Python_SetConstant(d, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default)));
+ SWIG_Python_SetConstant(d, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight)));
+ SWIG_Python_SetConstant(d, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft)));
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get, EmptyString_set);
SWIG_Python_SetConstant(d, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID)));
#---------------------------------------------------------------------------
-Layout_Default = _gdi_.Layout_Default
-Layout_LeftToRight = _gdi_.Layout_LeftToRight
-Layout_RightToLeft = _gdi_.Layout_RightToLeft
LANGUAGE_DEFAULT = _gdi_.LANGUAGE_DEFAULT
LANGUAGE_UNKNOWN = _gdi_.LANGUAGE_UNKNOWN
LANGUAGE_ABKHAZIAN = _gdi_.LANGUAGE_ABKHAZIAN
wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
- SWIG_Python_SetConstant(d, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default)));
- SWIG_Python_SetConstant(d, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight)));
- SWIG_Python_SetConstant(d, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft)));
SWIG_Python_SetConstant(d, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT)));
SWIG_Python_SetConstant(d, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN)));
SWIG_Python_SetConstant(d, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN)));
return _misc_.ToolTip_SetDelay(*args, **kwargs)
SetDelay = staticmethod(SetDelay)
+ Tip = property(GetTip,SetTip,doc="See `GetTip` and `SetTip`")
+ Window = property(GetWindow,doc="See `GetWindow`")
_misc_.ToolTip_swigregister(ToolTip)
def ToolTip_Enable(*args, **kwargs):
"""PreprocessTip(self, String tip) -> String"""
return _misc_.TipProvider_PreprocessTip(*args, **kwargs)
+ CurrentTip = property(GetCurrentTip,doc="See `GetCurrentTip`")
+ Tip = property(GetTip,doc="See `GetTip`")
_misc_.TipProvider_swigregister(TipProvider)
class PyTipProvider(TipProvider):
"""NO-OP: Timers must be destroyed by normal reference counting"""
pass
+ Id = property(GetId,doc="See `GetId`")
+ Interval = property(GetInterval,doc="See `GetInterval`")
+ Owner = property(GetOwner,SetOwner,doc="See `GetOwner` and `SetOwner`")
_misc_.Timer_swigregister(Timer)
# For backwards compatibility with 2.4
"""GetInterval(self) -> int"""
return _misc_.TimerEvent_GetInterval(*args, **kwargs)
+ Interval = property(GetInterval,doc="See `GetInterval`")
_misc_.TimerEvent_swigregister(TimerEvent)
class TimerRunner(object):
def __str__(self):
return self.Format().encode(wx.GetDefaultPyEncoding())
+ Days = property(GetDays,doc="See `GetDays`")
+ Hours = property(GetHours,doc="See `GetHours`")
+ Milliseconds = property(GetMilliseconds,doc="See `GetMilliseconds`")
+ Minutes = property(GetMinutes,doc="See `GetMinutes`")
+ Seconds = property(GetSeconds,doc="See `GetSeconds`")
+ Weeks = property(GetWeeks,doc="See `GetWeeks`")
_misc_.TimeSpan_swigregister(TimeSpan)
def TimeSpan_Milliseconds(*args, **kwargs):
"""
return _misc_.TextDataObject_SetText(*args, **kwargs)
+ Text = property(GetText,SetText,doc="See `GetText` and `SetText`")
+ TextLength = property(GetTextLength,doc="See `GetTextLength`")
_misc_.TextDataObject_swigregister(TextDataObject)
class PyTextDataObject(TextDataObject):
"""
return _windows_.TopLevelWindow_GetTmpDefaultItem(*args, **kwargs)
+ DefaultItem = property(GetDefaultItem,SetDefaultItem,doc="See `GetDefaultItem` and `SetDefaultItem`")
+ Icon = property(GetIcon,SetIcon,doc="See `GetIcon` and `SetIcon`")
+ Title = property(GetTitle,SetTitle,doc="See `GetTitle` and `SetTitle`")
+ TmpDefaultItem = property(GetTmpDefaultItem,SetTmpDefaultItem,doc="See `GetTmpDefaultItem` and `SetTmpDefaultItem`")
_windows_.TopLevelWindow_swigregister(TopLevelWindow)
cvar = _windows_.cvar
FrameNameStr = cvar.FrameNameStr
"""
return _windows_.TextEntryDialog_SetValue(*args, **kwargs)
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_windows_.TextEntryDialog_swigregister(TextEntryDialog)
class PasswordEntryDialog(TextEntryDialog):
return _controls_.TextAttr_Combine(*args, **kwargs)
Combine = staticmethod(Combine)
+ Alignment = property(GetAlignment,SetAlignment,doc="See `GetAlignment` and `SetAlignment`")
+ BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
+ Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`")
+ Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`")
+ LeftIndent = property(GetLeftIndent,SetLeftIndent,doc="See `GetLeftIndent` and `SetLeftIndent`")
+ LeftSubIndent = property(GetLeftSubIndent,doc="See `GetLeftSubIndent`")
+ RightIndent = property(GetRightIndent,SetRightIndent,doc="See `GetRightIndent` and `SetRightIndent`")
+ Tabs = property(GetTabs,SetTabs,doc="See `GetTabs` and `SetTabs`")
+ TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`")
_controls_.TextAttr_swigregister(TextAttr)
TextCtrlNameStr = cvar.TextCtrlNameStr
return _controls_.TextCtrl_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ DefaultStyle = property(GetDefaultStyle,SetDefaultStyle,doc="See `GetDefaultStyle` and `SetDefaultStyle`")
+ InsertionPoint = property(GetInsertionPoint,SetInsertionPoint,doc="See `GetInsertionPoint` and `SetInsertionPoint`")
+ LastPosition = property(GetLastPosition,doc="See `GetLastPosition`")
+ NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`")
+ Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
+ StringSelection = property(GetStringSelection,doc="See `GetStringSelection`")
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.TextCtrl_swigregister(TextCtrl)
def PreTextCtrl(*args, **kwargs):
"""GetURLEnd(self) -> long"""
return _controls_.TextUrlEvent_GetURLEnd(*args, **kwargs)
+ MouseEvent = property(GetMouseEvent,doc="See `GetMouseEvent`")
+ URLEnd = property(GetURLEnd,doc="See `GetURLEnd`")
+ URLStart = property(GetURLStart,doc="See `GetURLStart`")
_controls_.TextUrlEvent_swigregister(TextUrlEvent)
EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1)
return _controls_.ToggleButton_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_controls_.ToggleButton_swigregister(ToggleButton)
ToggleButtonNameStr = cvar.ToggleButtonNameStr
"""GetTreeCtrl(self) -> TreeCtrl"""
return _controls_.Treebook_GetTreeCtrl(*args, **kwargs)
+ TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
_controls_.Treebook_swigregister(Treebook)
def PreTreebook(*args, **kwargs):
"""Realize(self)"""
return _controls_.Toolbook_Realize(*args, **kwargs)
+ ToolBar = property(GetToolBar,doc="See `GetToolBar`")
_controls_.Toolbook_swigregister(Toolbook)
def PreToolbook(*args, **kwargs):
SetBitmap1 = SetNormalBitmap
SetBitmap2 = SetDisabledBitmap
+ Bitmap = property(GetBitmap,doc="See `GetBitmap`")
+ ClientData = property(GetClientData,SetClientData,doc="See `GetClientData` and `SetClientData`")
+ Control = property(GetControl,doc="See `GetControl`")
+ DisabledBitmap = property(GetDisabledBitmap,SetDisabledBitmap,doc="See `GetDisabledBitmap` and `SetDisabledBitmap`")
+ Id = property(GetId,doc="See `GetId`")
+ Kind = property(GetKind,doc="See `GetKind`")
+ Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ LongHelp = property(GetLongHelp,SetLongHelp,doc="See `GetLongHelp` and `SetLongHelp`")
+ NormalBitmap = property(GetNormalBitmap,SetNormalBitmap,doc="See `GetNormalBitmap` and `SetNormalBitmap`")
+ ShortHelp = property(GetShortHelp,SetShortHelp,doc="See `GetShortHelp` and `SetShortHelp`")
+ Style = property(GetStyle,doc="See `GetStyle`")
+ ToolBar = property(GetToolBar,doc="See `GetToolBar`")
_controls_.ToolBarToolBase_swigregister(ToolBarToolBase)
class ToolBarBase(_core.Control):
"""GetToolsCount(self) -> size_t"""
return _controls_.ToolBarBase_GetToolsCount(*args, **kwargs)
+ Margins = property(GetMargins,SetMargins,doc="See `GetMargins` and `SetMargins`")
+ MaxCols = property(GetMaxCols,doc="See `GetMaxCols`")
+ MaxRows = property(GetMaxRows,doc="See `GetMaxRows`")
+ ToolBitmapSize = property(GetToolBitmapSize,SetToolBitmapSize,doc="See `GetToolBitmapSize` and `SetToolBitmapSize`")
+ ToolMargins = property(GetToolMargins,doc="See `GetToolMargins`")
+ ToolPacking = property(GetToolPacking,SetToolPacking,doc="See `GetToolPacking` and `SetToolPacking`")
+ ToolSeparation = property(GetToolSeparation,SetToolSeparation,doc="See `GetToolSeparation` and `SetToolSeparation`")
+ ToolSize = property(GetToolSize,doc="See `GetToolSize`")
+ ToolsCount = property(GetToolsCount,doc="See `GetToolsCount`")
_controls_.ToolBarBase_swigregister(ToolBarBase)
class ToolBar(ToolBarBase):
args[0].thisown = 0
return val
+ Data = property(GetData,SetData,doc="See `GetData` and `SetData`")
+ Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
_controls_.TreeItemData_swigregister(TreeItemData)
#---------------------------------------------------------------------------
"""GetToolTip(self) -> String"""
return _controls_.TreeEvent_GetToolTip(*args, **kwargs)
+ Item = property(GetItem,SetItem,doc="See `GetItem` and `SetItem`")
+ KeyCode = property(GetKeyCode,doc="See `GetKeyCode`")
+ KeyEvent = property(GetKeyEvent,SetKeyEvent,doc="See `GetKeyEvent` and `SetKeyEvent`")
+ Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ OldItem = property(GetOldItem,SetOldItem,doc="See `GetOldItem` and `SetOldItem`")
+ Point = property(GetPoint,SetPoint,doc="See `GetPoint` and `SetPoint`")
+ ToolTip = property(GetToolTip,SetToolTip,doc="See `GetToolTip` and `SetToolTip`")
+ EditCancelled = property(IsEditCancelled,SetEditCanceled,doc="See `IsEditCancelled` and `SetEditCanceled`")
_controls_.TreeEvent_swigregister(TreeEvent)
#---------------------------------------------------------------------------
"""GetQuickBestSize(self) -> bool"""
return _controls_.TreeCtrl_GetQuickBestSize(*args, **kwargs)
+ Count = property(GetCount,doc="See `GetCount`")
+ EditControl = property(GetEditControl,doc="See `GetEditControl`")
+ FirstVisibleItem = property(GetFirstVisibleItem,doc="See `GetFirstVisibleItem`")
+ ImageList = property(GetImageList,SetImageList,doc="See `GetImageList` and `SetImageList`")
+ Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
+ QuickBestSize = property(GetQuickBestSize,SetQuickBestSize,doc="See `GetQuickBestSize` and `SetQuickBestSize`")
+ RootItem = property(GetRootItem,doc="See `GetRootItem`")
+ Selection = property(GetSelection,doc="See `GetSelection`")
+ Selections = property(GetSelections,doc="See `GetSelections`")
+ Spacing = property(GetSpacing,SetSpacing,doc="See `GetSpacing` and `SetSpacing`")
+ StateImageList = property(GetStateImageList,SetStateImageList,doc="See `GetStateImageList` and `SetStateImageList`")
_controls_.TreeCtrl_swigregister(TreeCtrl)
def PreTreeCtrl(*args, **kwargs):
UPDATE_UI_NONE = _core_.UPDATE_UI_NONE
UPDATE_UI_RECURSE = _core_.UPDATE_UI_RECURSE
UPDATE_UI_FROMIDLE = _core_.UPDATE_UI_FROMIDLE
+Layout_Default = _core_.Layout_Default
+Layout_LeftToRight = _core_.Layout_LeftToRight
+Layout_RightToLeft = _core_.Layout_RightToLeft
#---------------------------------------------------------------------------
class Object(object):
def GetLayoutDirection(*args, **kwargs):
"""
- GetLayoutDirection(self) -> wxLayoutDirection
+ GetLayoutDirection(self) -> int
Return the layout direction for the current locale.
"""
PrevControlId = staticmethod(PrevControlId)
def GetLayoutDirection(*args, **kwargs):
"""
- GetLayoutDirection(self) -> wxLayoutDirection
+ GetLayoutDirection(self) -> int
Get the layout direction (LTR or RTL) for this window. Returns
``wx.Layout_Default`` if layout direction is not supported.
def SetLayoutDirection(*args, **kwargs):
"""
- SetLayoutDirection(self, wxLayoutDirection dir)
+ SetLayoutDirection(self, int dir)
Set the layout direction (LTR or RTL) for this window.
"""
HelpText = property(GetHelpText,SetHelpText,doc="See `GetHelpText` and `SetHelpText`")
Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
Label = property(GetLabel,SetLabel,doc="See `GetLabel` and `SetLabel`")
+ LayoutDirection = property(GetLayoutDirection,SetLayoutDirection,doc="See `GetLayoutDirection` and `SetLayoutDirection`")
MaxHeight = property(GetMaxHeight,doc="See `GetMaxHeight`")
MaxSize = property(GetMaxSize,SetMaxSize,doc="See `GetMaxSize` and `SetMaxSize`")
MaxWidth = property(GetMaxWidth,doc="See `GetMaxWidth`")
#define SWIGTYPE_p_wxJPEGHandler swig_types[67]
#define SWIGTYPE_p_wxKeyEvent swig_types[68]
#define SWIGTYPE_p_wxLayoutConstraints swig_types[69]
-#define SWIGTYPE_p_wxLayoutDirection swig_types[70]
-#define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
-#define SWIGTYPE_p_wxMemoryFSHandler swig_types[72]
-#define SWIGTYPE_p_wxMenu swig_types[73]
-#define SWIGTYPE_p_wxMenuBar swig_types[74]
-#define SWIGTYPE_p_wxMenuBarBase swig_types[75]
-#define SWIGTYPE_p_wxMenuEvent swig_types[76]
-#define SWIGTYPE_p_wxMenuItem swig_types[77]
-#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
-#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
-#define SWIGTYPE_p_wxMouseEvent swig_types[80]
-#define SWIGTYPE_p_wxMoveEvent swig_types[81]
-#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
-#define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[84]
-#define SWIGTYPE_p_wxObject swig_types[85]
-#define SWIGTYPE_p_wxOutputStream swig_types[86]
-#define SWIGTYPE_p_wxPCXHandler swig_types[87]
-#define SWIGTYPE_p_wxPNGHandler swig_types[88]
-#define SWIGTYPE_p_wxPNMHandler swig_types[89]
-#define SWIGTYPE_p_wxPaintEvent swig_types[90]
-#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
-#define SWIGTYPE_p_wxPaperSize swig_types[92]
-#define SWIGTYPE_p_wxPoint swig_types[93]
-#define SWIGTYPE_p_wxPoint2D swig_types[94]
-#define SWIGTYPE_p_wxPropagateOnce swig_types[95]
-#define SWIGTYPE_p_wxPropagationDisabler swig_types[96]
-#define SWIGTYPE_p_wxPyApp swig_types[97]
-#define SWIGTYPE_p_wxPyCommandEvent swig_types[98]
-#define SWIGTYPE_p_wxPyDropTarget swig_types[99]
-#define SWIGTYPE_p_wxPyEvent swig_types[100]
-#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[101]
-#define SWIGTYPE_p_wxPyImageHandler swig_types[102]
-#define SWIGTYPE_p_wxPyInputStream swig_types[103]
-#define SWIGTYPE_p_wxPySizer swig_types[104]
-#define SWIGTYPE_p_wxPyValidator swig_types[105]
-#define SWIGTYPE_p_wxQuantize swig_types[106]
-#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
-#define SWIGTYPE_p_wxRealPoint swig_types[108]
-#define SWIGTYPE_p_wxRect swig_types[109]
-#define SWIGTYPE_p_wxRegion swig_types[110]
-#define SWIGTYPE_p_wxScrollEvent swig_types[111]
-#define SWIGTYPE_p_wxScrollWinEvent swig_types[112]
-#define SWIGTYPE_p_wxSetCursorEvent swig_types[113]
-#define SWIGTYPE_p_wxShowEvent swig_types[114]
-#define SWIGTYPE_p_wxSize swig_types[115]
-#define SWIGTYPE_p_wxSizeEvent swig_types[116]
-#define SWIGTYPE_p_wxSizer swig_types[117]
-#define SWIGTYPE_p_wxSizerItem swig_types[118]
-#define SWIGTYPE_p_wxStaticBox swig_types[119]
-#define SWIGTYPE_p_wxStaticBoxSizer swig_types[120]
-#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[121]
-#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[122]
-#define SWIGTYPE_p_wxTIFFHandler swig_types[123]
-#define SWIGTYPE_p_wxToolTip swig_types[124]
-#define SWIGTYPE_p_wxUpdateUIEvent swig_types[125]
-#define SWIGTYPE_p_wxValidator swig_types[126]
-#define SWIGTYPE_p_wxVisualAttributes swig_types[127]
-#define SWIGTYPE_p_wxWindow swig_types[128]
-#define SWIGTYPE_p_wxWindowCreateEvent swig_types[129]
-#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[130]
-#define SWIGTYPE_p_wxXPMHandler swig_types[131]
-#define SWIGTYPE_p_wxZipFSHandler swig_types[132]
-static swig_type_info *swig_types[134];
-static swig_module_info swig_module = {swig_types, 133, 0, 0, 0, 0};
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
+#define SWIGTYPE_p_wxMemoryFSHandler swig_types[71]
+#define SWIGTYPE_p_wxMenu swig_types[72]
+#define SWIGTYPE_p_wxMenuBar swig_types[73]
+#define SWIGTYPE_p_wxMenuBarBase swig_types[74]
+#define SWIGTYPE_p_wxMenuEvent swig_types[75]
+#define SWIGTYPE_p_wxMenuItem swig_types[76]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
+#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[78]
+#define SWIGTYPE_p_wxMouseEvent swig_types[79]
+#define SWIGTYPE_p_wxMoveEvent swig_types[80]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[83]
+#define SWIGTYPE_p_wxObject swig_types[84]
+#define SWIGTYPE_p_wxOutputStream swig_types[85]
+#define SWIGTYPE_p_wxPCXHandler swig_types[86]
+#define SWIGTYPE_p_wxPNGHandler swig_types[87]
+#define SWIGTYPE_p_wxPNMHandler swig_types[88]
+#define SWIGTYPE_p_wxPaintEvent swig_types[89]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
+#define SWIGTYPE_p_wxPaperSize swig_types[91]
+#define SWIGTYPE_p_wxPoint swig_types[92]
+#define SWIGTYPE_p_wxPoint2D swig_types[93]
+#define SWIGTYPE_p_wxPropagateOnce swig_types[94]
+#define SWIGTYPE_p_wxPropagationDisabler swig_types[95]
+#define SWIGTYPE_p_wxPyApp swig_types[96]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[97]
+#define SWIGTYPE_p_wxPyDropTarget swig_types[98]
+#define SWIGTYPE_p_wxPyEvent swig_types[99]
+#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[100]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[101]
+#define SWIGTYPE_p_wxPyInputStream swig_types[102]
+#define SWIGTYPE_p_wxPySizer swig_types[103]
+#define SWIGTYPE_p_wxPyValidator swig_types[104]
+#define SWIGTYPE_p_wxQuantize swig_types[105]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[106]
+#define SWIGTYPE_p_wxRealPoint swig_types[107]
+#define SWIGTYPE_p_wxRect swig_types[108]
+#define SWIGTYPE_p_wxRegion swig_types[109]
+#define SWIGTYPE_p_wxScrollEvent swig_types[110]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[111]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[112]
+#define SWIGTYPE_p_wxShowEvent swig_types[113]
+#define SWIGTYPE_p_wxSize swig_types[114]
+#define SWIGTYPE_p_wxSizeEvent swig_types[115]
+#define SWIGTYPE_p_wxSizer swig_types[116]
+#define SWIGTYPE_p_wxSizerItem swig_types[117]
+#define SWIGTYPE_p_wxStaticBox swig_types[118]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[119]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[120]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[121]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[122]
+#define SWIGTYPE_p_wxToolTip swig_types[123]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[124]
+#define SWIGTYPE_p_wxValidator swig_types[125]
+#define SWIGTYPE_p_wxVisualAttributes swig_types[126]
+#define SWIGTYPE_p_wxWindow swig_types[127]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[128]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[129]
+#define SWIGTYPE_p_wxXPMHandler swig_types[130]
+#define SWIGTYPE_p_wxZipFSHandler swig_types[131]
+static swig_type_info *swig_types[133];
+static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
arg1 = reinterpret_cast< wxPyApp * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxPyApp const *)arg1)->GetLayoutDirection();
+ result = (wxLayoutDirection)((wxPyApp const *)arg1)->GetLayoutDirection();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((new wxLayoutDirection(static_cast< const wxLayoutDirection& >(result))), SWIGTYPE_p_wxLayoutDirection, SWIG_POINTER_OWN | 0 );
+ resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
arg1 = reinterpret_cast< wxWindow * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = ((wxWindow const *)arg1)->GetLayoutDirection();
+ result = (wxLayoutDirection)((wxWindow const *)arg1)->GetLayoutDirection();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((new wxLayoutDirection(static_cast< const wxLayoutDirection& >(result))), SWIGTYPE_p_wxLayoutDirection, SWIG_POINTER_OWN | 0 );
+ resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
wxLayoutDirection arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
- void *argp2 ;
- int res2 = 0 ;
+ int val2 ;
+ int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char * kwnames[] = {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'");
}
arg1 = reinterpret_cast< wxWindow * >(argp1);
- {
- res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxLayoutDirection, 0 | 0);
- if (!SWIG_IsOK(res2)) {
- SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
- }
- if (!argp2) {
- SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
- } else {
- wxLayoutDirection * temp = reinterpret_cast< wxLayoutDirection * >(argp2);
- arg2 = *temp;
- if (SWIG_IsNewObj(res2)) delete temp;
- }
- }
+ ecode2 = SWIG_AsVal_int(obj1, &val2);
+ if (!SWIG_IsOK(ecode2)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
+ }
+ arg2 = static_cast< wxLayoutDirection >(val2);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetLayoutDirection(arg2);
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_wxLayoutDirection = {"_p_wxLayoutDirection", "wxLayoutDirection *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
&_swigt__p_wxJPEGHandler,
&_swigt__p_wxKeyEvent,
&_swigt__p_wxLayoutConstraints,
- &_swigt__p_wxLayoutDirection,
&_swigt__p_wxMaximizeEvent,
&_swigt__p_wxMemoryFSHandler,
&_swigt__p_wxMenu,
static swig_cast_info _swigc__p_wxJPEGHandler[] = { {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxLayoutConstraints[] = { {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_wxLayoutDirection[] = { {&_swigt__p_wxLayoutDirection, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMaximizeEvent[] = { {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMemoryFSHandler[] = { {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
_swigc__p_wxJPEGHandler,
_swigc__p_wxKeyEvent,
_swigc__p_wxLayoutConstraints,
- _swigc__p_wxLayoutDirection,
_swigc__p_wxMaximizeEvent,
_swigc__p_wxMemoryFSHandler,
_swigc__p_wxMenu,
SWIG_Python_SetConstant(d, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE)));
SWIG_Python_SetConstant(d, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE)));
SWIG_Python_SetConstant(d, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE)));
+ SWIG_Python_SetConstant(d, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default)));
+ SWIG_Python_SetConstant(d, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight)));
+ SWIG_Python_SetConstant(d, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft)));
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get, EmptyString_set);
SWIG_Python_SetConstant(d, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID)));
#---------------------------------------------------------------------------
-Layout_Default = _gdi_.Layout_Default
-Layout_LeftToRight = _gdi_.Layout_LeftToRight
-Layout_RightToLeft = _gdi_.Layout_RightToLeft
LANGUAGE_DEFAULT = _gdi_.LANGUAGE_DEFAULT
LANGUAGE_UNKNOWN = _gdi_.LANGUAGE_UNKNOWN
LANGUAGE_ABKHAZIAN = _gdi_.LANGUAGE_ABKHAZIAN
wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
- SWIG_Python_SetConstant(d, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default)));
- SWIG_Python_SetConstant(d, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight)));
- SWIG_Python_SetConstant(d, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft)));
SWIG_Python_SetConstant(d, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT)));
SWIG_Python_SetConstant(d, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN)));
SWIG_Python_SetConstant(d, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN)));
return _misc_.ToolTip_SetDelay(*args, **kwargs)
SetDelay = staticmethod(SetDelay)
+ Tip = property(GetTip,SetTip,doc="See `GetTip` and `SetTip`")
+ Window = property(GetWindow,doc="See `GetWindow`")
_misc_.ToolTip_swigregister(ToolTip)
def ToolTip_Enable(*args, **kwargs):
"""PreprocessTip(self, String tip) -> String"""
return _misc_.TipProvider_PreprocessTip(*args, **kwargs)
+ CurrentTip = property(GetCurrentTip,doc="See `GetCurrentTip`")
+ Tip = property(GetTip,doc="See `GetTip`")
_misc_.TipProvider_swigregister(TipProvider)
class PyTipProvider(TipProvider):
"""NO-OP: Timers must be destroyed by normal reference counting"""
pass
+ Id = property(GetId,doc="See `GetId`")
+ Interval = property(GetInterval,doc="See `GetInterval`")
+ Owner = property(GetOwner,SetOwner,doc="See `GetOwner` and `SetOwner`")
_misc_.Timer_swigregister(Timer)
# For backwards compatibility with 2.4
"""GetInterval(self) -> int"""
return _misc_.TimerEvent_GetInterval(*args, **kwargs)
+ Interval = property(GetInterval,doc="See `GetInterval`")
_misc_.TimerEvent_swigregister(TimerEvent)
class TimerRunner(object):
def __str__(self):
return self.Format().encode(wx.GetDefaultPyEncoding())
+ Days = property(GetDays,doc="See `GetDays`")
+ Hours = property(GetHours,doc="See `GetHours`")
+ Milliseconds = property(GetMilliseconds,doc="See `GetMilliseconds`")
+ Minutes = property(GetMinutes,doc="See `GetMinutes`")
+ Seconds = property(GetSeconds,doc="See `GetSeconds`")
+ Weeks = property(GetWeeks,doc="See `GetWeeks`")
_misc_.TimeSpan_swigregister(TimeSpan)
def TimeSpan_Milliseconds(*args, **kwargs):
"""
return _misc_.TextDataObject_SetText(*args, **kwargs)
+ Text = property(GetText,SetText,doc="See `GetText` and `SetText`")
+ TextLength = property(GetTextLength,doc="See `GetTextLength`")
_misc_.TextDataObject_swigregister(TextDataObject)
class PyTextDataObject(TextDataObject):
"""
return _windows_.TopLevelWindow_GetTmpDefaultItem(*args, **kwargs)
+ DefaultItem = property(GetDefaultItem,SetDefaultItem,doc="See `GetDefaultItem` and `SetDefaultItem`")
+ Icon = property(GetIcon,SetIcon,doc="See `GetIcon` and `SetIcon`")
+ Title = property(GetTitle,SetTitle,doc="See `GetTitle` and `SetTitle`")
+ TmpDefaultItem = property(GetTmpDefaultItem,SetTmpDefaultItem,doc="See `GetTmpDefaultItem` and `SetTmpDefaultItem`")
_windows_.TopLevelWindow_swigregister(TopLevelWindow)
cvar = _windows_.cvar
FrameNameStr = cvar.FrameNameStr
"""
return _windows_.TextEntryDialog_SetValue(*args, **kwargs)
+ Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
_windows_.TextEntryDialog_swigregister(TextEntryDialog)
class PasswordEntryDialog(TextEntryDialog):