added more properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1662,6 +1662,15 @@ class TextAttr(object):
|
||||
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
|
||||
|
||||
@@ -1938,6 +1947,13 @@ class TextCtrl(_core.Control):
|
||||
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):
|
||||
@@ -1985,6 +2001,9 @@ class TextUrlEvent(_core.CommandEvent):
|
||||
"""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)
|
||||
@@ -2778,6 +2797,7 @@ class ToggleButton(_core.Control):
|
||||
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
|
||||
|
||||
@@ -3335,6 +3355,7 @@ class Treebook(BookCtrlBase):
|
||||
"""GetTreeCtrl(self) -> TreeCtrl"""
|
||||
return _controls_.Treebook_GetTreeCtrl(*args, **kwargs)
|
||||
|
||||
TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
|
||||
_controls_.Treebook_swigregister(Treebook)
|
||||
|
||||
def PreTreebook(*args, **kwargs):
|
||||
@@ -3393,6 +3414,7 @@ class Toolbook(BookCtrlBase):
|
||||
"""Realize(self)"""
|
||||
return _controls_.Toolbook_Realize(*args, **kwargs)
|
||||
|
||||
ToolBar = property(GetToolBar,doc="See `GetToolBar`")
|
||||
_controls_.Toolbook_swigregister(Toolbook)
|
||||
|
||||
def PreToolbook(*args, **kwargs):
|
||||
@@ -3560,6 +3582,18 @@ class ToolBarToolBase(_core.Object):
|
||||
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):
|
||||
@@ -3881,6 +3915,15 @@ 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):
|
||||
@@ -4965,6 +5008,8 @@ class TreeItemData(object):
|
||||
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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -5082,6 +5127,14 @@ class TreeEvent(_core.NotifyEvent):
|
||||
"""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)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -5450,6 +5503,17 @@ class TreeCtrl(_core.Control):
|
||||
"""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):
|
||||
|
@@ -678,6 +678,9 @@ MOD_ALL = _core_.MOD_ALL
|
||||
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):
|
||||
@@ -6788,7 +6791,7 @@ class PyApp(EvtHandler):
|
||||
|
||||
def GetLayoutDirection(*args, **kwargs):
|
||||
"""
|
||||
GetLayoutDirection(self) -> wxLayoutDirection
|
||||
GetLayoutDirection(self) -> int
|
||||
|
||||
Return the layout direction for the current locale.
|
||||
"""
|
||||
@@ -7932,7 +7935,7 @@ class Window(EvtHandler):
|
||||
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.
|
||||
@@ -7941,7 +7944,7 @@ class Window(EvtHandler):
|
||||
|
||||
def SetLayoutDirection(*args, **kwargs):
|
||||
"""
|
||||
SetLayoutDirection(self, wxLayoutDirection dir)
|
||||
SetLayoutDirection(self, int dir)
|
||||
|
||||
Set the layout direction (LTR or RTL) for this window.
|
||||
"""
|
||||
@@ -9991,6 +9994,7 @@ class Window(EvtHandler):
|
||||
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`")
|
||||
|
@@ -2533,71 +2533,70 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
|
||||
#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)
|
||||
|
||||
@@ -27787,11 +27786,11 @@ SWIGINTERN PyObject *_wrap_PyApp_GetLayoutDirection(PyObject *SWIGUNUSEDPARM(sel
|
||||
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;
|
||||
@@ -30736,11 +30735,11 @@ SWIGINTERN PyObject *_wrap_Window_GetLayoutDirection(PyObject *SWIGUNUSEDPARM(se
|
||||
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;
|
||||
@@ -30753,8 +30752,8 @@ SWIGINTERN PyObject *_wrap_Window_SetLayoutDirection(PyObject *SWIGUNUSEDPARM(se
|
||||
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[] = {
|
||||
@@ -30767,19 +30766,11 @@ SWIGINTERN PyObject *_wrap_Window_SetLayoutDirection(PyObject *SWIGUNUSEDPARM(se
|
||||
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);
|
||||
@@ -55813,7 +55804,6 @@ static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItem
|
||||
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};
|
||||
@@ -55948,7 +55938,6 @@ static swig_type_info *swig_type_initial[] = {
|
||||
&_swigt__p_wxJPEGHandler,
|
||||
&_swigt__p_wxKeyEvent,
|
||||
&_swigt__p_wxLayoutConstraints,
|
||||
&_swigt__p_wxLayoutDirection,
|
||||
&_swigt__p_wxMaximizeEvent,
|
||||
&_swigt__p_wxMemoryFSHandler,
|
||||
&_swigt__p_wxMenu,
|
||||
@@ -56083,7 +56072,6 @@ static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWith
|
||||
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}};
|
||||
@@ -56218,7 +56206,6 @@ static swig_cast_info *swig_cast_initial[] = {
|
||||
_swigc__p_wxJPEGHandler,
|
||||
_swigc__p_wxKeyEvent,
|
||||
_swigc__p_wxLayoutConstraints,
|
||||
_swigc__p_wxLayoutDirection,
|
||||
_swigc__p_wxMaximizeEvent,
|
||||
_swigc__p_wxMemoryFSHandler,
|
||||
_swigc__p_wxMenu,
|
||||
@@ -57391,6 +57378,9 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
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)));
|
||||
|
@@ -2342,9 +2342,6 @@ def FontEnumerator_IsValidFacename(*args, **kwargs):
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
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
|
||||
|
@@ -33551,9 +33551,6 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
|
||||
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)));
|
||||
|
@@ -791,6 +791,8 @@ class ToolTip(_core.Object):
|
||||
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):
|
||||
@@ -1227,6 +1229,8 @@ class TipProvider(object):
|
||||
"""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):
|
||||
@@ -1312,6 +1316,9 @@ class Timer(_core.EvtHandler):
|
||||
"""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
|
||||
@@ -1339,6 +1346,7 @@ class TimerEvent(_core.Event):
|
||||
"""GetInterval(self) -> int"""
|
||||
return _misc_.TimerEvent_GetInterval(*args, **kwargs)
|
||||
|
||||
Interval = property(GetInterval,doc="See `GetInterval`")
|
||||
_misc_.TimerEvent_swigregister(TimerEvent)
|
||||
|
||||
class TimerRunner(object):
|
||||
@@ -4325,6 +4333,12 @@ class TimeSpan(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):
|
||||
@@ -4982,6 +4996,8 @@ class TextDataObject(DataObjectSimple):
|
||||
"""
|
||||
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):
|
||||
|
@@ -463,6 +463,10 @@ class TopLevelWindow(_core.Window):
|
||||
"""
|
||||
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
|
||||
@@ -2598,6 +2602,7 @@ class TextEntryDialog(Dialog):
|
||||
"""
|
||||
return _windows_.TextEntryDialog_SetValue(*args, **kwargs)
|
||||
|
||||
Value = property(GetValue,SetValue,doc="See `GetValue` and `SetValue`")
|
||||
_windows_.TextEntryDialog_swigregister(TextEntryDialog)
|
||||
|
||||
class PasswordEntryDialog(TextEntryDialog):
|
||||
|
Reference in New Issue
Block a user