More properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -231,6 +231,16 @@ button label.", "");
|
||||
int , GetEdge(wxEdge which, wxWindow *thisWin, wxWindow *other) const,
|
||||
"Get the value of this edge or dimension, or if this\n"
|
||||
"is not determinable, -1.", "");
|
||||
|
||||
%property(Done, GetDone, SetDone, doc="See `GetDone` and `SetDone`");
|
||||
%property(Margin, GetMargin, SetMargin, doc="See `GetMargin` and `SetMargin`");
|
||||
%property(MyEdge, GetMyEdge, doc="See `GetMyEdge`");
|
||||
%property(OtherEdge, GetOtherEdge, doc="See `GetOtherEdge`");
|
||||
%property(OtherWindow, GetOtherWindow, doc="See `GetOtherWindow`");
|
||||
%property(Percent, GetPercent, doc="See `GetPercent`");
|
||||
%property(Relationship, GetRelationship, SetRelationship, doc="See `GetRelationship` and `SetRelationship`");
|
||||
%property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`");
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@@ -288,7 +288,12 @@ slightly more natural for controls which support multiple selection.", "");
|
||||
for i in items:
|
||||
self.Append(i)
|
||||
}
|
||||
%property(Items, GetItems, SetItems);
|
||||
|
||||
%property(Count, GetCount, doc="See `GetCount`");
|
||||
%property(Items, GetItems, SetItems, doc="See `GetItems` and `SetItems`");
|
||||
%property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
|
||||
%property(StringSelection, GetStringSelection, SetStringSelection, doc="See `GetStringSelection` and `SetStringSelection`");
|
||||
%property(Strings, GetStrings, doc="See `GetStrings`");
|
||||
|
||||
};
|
||||
|
||||
|
@@ -119,6 +119,10 @@ appropriately.", "");
|
||||
void , SetOrigin(Origin origin),
|
||||
"", "");
|
||||
|
||||
%property(Link, GetLink, SetLink, doc="See `GetLink` and `SetLink`");
|
||||
%property(Origin, GetOrigin, SetOrigin, doc="See `GetOrigin` and `SetOrigin`");
|
||||
%property(Position, GetPosition, SetPosition, doc="See `GetPosition` and `SetPosition`");
|
||||
%property(Target, GetTarget, SetTarget, doc="See `GetTarget` and `SetTarget`");
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@@ -134,6 +134,15 @@ leaf), done is set to True.
|
||||
// Collapse & expand the tree, thus re-creating it from scratch:
|
||||
virtual void ReCreateTree();
|
||||
|
||||
%property(DefaultPath, GetDefaultPath, SetDefaultPath, doc="See `GetDefaultPath` and `SetDefaultPath`");
|
||||
%property(FilePath, GetFilePath, doc="See `GetFilePath`");
|
||||
%property(Filter, GetFilter, SetFilter, doc="See `GetFilter` and `SetFilter`");
|
||||
%property(FilterIndex, GetFilterIndex, SetFilterIndex, doc="See `GetFilterIndex` and `SetFilterIndex`");
|
||||
%property(FilterListCtrl, GetFilterListCtrl, doc="See `GetFilterListCtrl`");
|
||||
%property(Path, GetPath, SetPath, doc="See `GetPath` and `SetPath`");
|
||||
%property(RootId, GetRootId, doc="See `GetRootId`");
|
||||
%property(ShowHidden, GetShowHidden, ShowHidden, doc="See `GetShowHidden` and `ShowHidden`");
|
||||
%property(TreeCtrl, GetTreeCtrl, doc="See `GetTreeCtrl`");
|
||||
};
|
||||
|
||||
|
||||
|
@@ -1327,7 +1327,8 @@ Note that in Unicode build, the returned value is meaningful only if
|
||||
the user entered a character that can be represented in current
|
||||
locale's default charset. You can obtain the corresponding Unicode
|
||||
character using `GetUnicodeKey`.", "");
|
||||
%pythoncode { KeyCode = GetKeyCode }
|
||||
|
||||
// %pythoncode { KeyCode = GetKeyCode } this will be hidden by the property
|
||||
|
||||
|
||||
%extend {
|
||||
@@ -1408,6 +1409,15 @@ public:
|
||||
|
||||
wxUint32 m_rawCode;
|
||||
wxUint32 m_rawFlags;
|
||||
|
||||
%property(KeyCode, GetKeyCode, doc="See `GetKeyCode`");
|
||||
%property(Modifiers, GetModifiers, doc="See `GetModifiers`");
|
||||
%property(Position, GetPosition, doc="See `GetPosition`");
|
||||
%property(RawKeyCode, GetRawKeyCode, doc="See `GetRawKeyCode`");
|
||||
%property(RawKeyFlags, GetRawKeyFlags, doc="See `GetRawKeyFlags`");
|
||||
%property(UnicodeKey, GetUnicodeKey, SetUnicodeKey, doc="See `GetUnicodeKey` and `SetUnicodeKey`");
|
||||
%property(X, GetX, doc="See `GetX`");
|
||||
%property(Y, GetY, doc="See `GetY`");
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -1811,8 +1821,6 @@ code wishes to force the application to exit, and so this function
|
||||
must be called to check this.", "");
|
||||
|
||||
%property(LoggingOff, GetLoggingOff, SetLoggingOff, doc="See `GetLoggingOff` and `SetLoggingOff`");
|
||||
%property(Veto, GetVeto, doc="See `GetVeto`");
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@@ -38,6 +38,8 @@ public:
|
||||
~wxFSFile();
|
||||
|
||||
wxInputStream *GetStream();
|
||||
void DetachStream();
|
||||
|
||||
const wxString& GetMimeType();
|
||||
const wxString& GetLocation();
|
||||
const wxString& GetAnchor();
|
||||
@@ -158,6 +160,10 @@ public:
|
||||
static void AddHandler(wxFileSystemHandler *handler);
|
||||
%cleardisown(wxFileSystemHandler *handler);
|
||||
|
||||
// Removes FS handler
|
||||
%newobject RemoveHandler;
|
||||
static wxFileSystemHandler* RemoveHandler(wxFileSystemHandler *handler);
|
||||
|
||||
static void CleanUpHandlers();
|
||||
|
||||
// Returns the file URL for a native path
|
||||
|
@@ -71,6 +71,12 @@ public:
|
||||
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
|
||||
%property(BezelFace, GetBezelFace, SetBezelFace, doc="See `GetBezelFace` and `SetBezelFace`");
|
||||
%property(Range, GetRange, SetRange, doc="See `GetRange` and `SetRange`");
|
||||
%property(ShadowWidth, GetShadowWidth, SetShadowWidth, doc="See `GetShadowWidth` and `SetShadowWidth`");
|
||||
%property(Value, GetValue, SetValue, doc="See `GetValue` and `SetValue`");
|
||||
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@@ -393,6 +393,10 @@ is successful and after the next Layout() the item will be resized.
|
||||
void , SetGBSizer(wxGridBagSizer* sizer),
|
||||
"Set the sizer this item is a member of.", "");
|
||||
|
||||
%property(EndPos, GetEndPos, doc="See `GetEndPos`");
|
||||
%property(GBSizer, GetGBSizer, SetGBSizer, doc="See `GetGBSizer` and `SetGBSizer`");
|
||||
%property(Pos, GetPos, SetPos, doc="See `GetPos` and `SetPos`");
|
||||
%property(Span, GetSpan, SetSpan, doc="See `GetSpan` and `SetSpan`");
|
||||
};
|
||||
|
||||
|
||||
@@ -599,7 +603,6 @@ for intersection, for example it may be the item we are checking the
|
||||
position of.", "",
|
||||
CheckForIntersectionPos);
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@@ -81,6 +81,11 @@ public:
|
||||
void SetVisited(bool visited = true);
|
||||
bool GetVisited() const;
|
||||
|
||||
%property(HoverColour, GetHoverColour, SetHoverColour, doc="See `GetHoverColour` and `SetHoverColour`");
|
||||
%property(NormalColour, GetNormalColour, SetNormalColour, doc="See `GetNormalColour` and `SetNormalColour`");
|
||||
%property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
|
||||
%property(Visited, GetVisited, SetVisited, doc="See `GetVisited` and `SetVisited`");
|
||||
%property(VisitedColour, GetVisitedColour, SetVisitedColour, doc="See `GetVisitedColour` and `SetVisitedColour`");
|
||||
};
|
||||
|
||||
|
||||
@@ -101,6 +106,8 @@ public:
|
||||
// that the user clicked on.
|
||||
wxString GetURL() const;
|
||||
void SetURL(const wxString &url);
|
||||
|
||||
%property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
|
||||
};
|
||||
|
||||
|
||||
|
@@ -78,6 +78,11 @@ public:
|
||||
void CopyFromBitmap(const wxBitmap& bmp);
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||
|
||||
%property(Depth, GetDepth, SetDepth, doc="See `GetDepth` and `SetDepth`");
|
||||
%property(Height, GetHeight, SetHeight, doc="See `GetHeight` and `SetHeight`");
|
||||
%property(Width, GetWidth, SetWidth, doc="See `GetWidth` and `SetWidth`");
|
||||
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -124,6 +129,10 @@ public:
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
%property(FileName, GetFileName, SetFileName, doc="See `GetFileName` and `SetFileName`");
|
||||
%property(Index, GetIndex, SetIndex, doc="See `GetIndex` and `SetIndex`");
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -159,6 +168,8 @@ public:
|
||||
// returns the icon with size wxSYS_ICON_[XY]; if no such icon exists,
|
||||
// returns the first icon in the bundle
|
||||
const wxIcon& GetIcon( const wxSize& size ) const;
|
||||
|
||||
%property(Icon, GetIcon, doc="See `GetIcon`");
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@@ -54,6 +54,11 @@ public:
|
||||
void SetExtension(const wxString& extension);
|
||||
void SetType(long type);
|
||||
void SetMimeType(const wxString& mimetype);
|
||||
|
||||
%property(Extension, GetExtension, SetExtension, doc="See `GetExtension` and `SetExtension`");
|
||||
%property(MimeType, GetMimeType, SetMimeType, doc="See `GetMimeType` and `SetMimeType`");
|
||||
%property(Name, GetName, SetName, doc="See `GetName` and `SetName`");
|
||||
%property(Type, GetType, SetType, doc="See `GetType` and `SetType`");
|
||||
};
|
||||
|
||||
|
||||
@@ -983,6 +988,17 @@ range -1.0..1.0 where -1.0 is -360 degrees and 1.0 is 360 degrees", "");
|
||||
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||
|
||||
%property(AlphaBuffer, GetAlphaBuffer, SetAlphaBuffer, doc="See `GetAlphaBuffer` and `SetAlphaBuffer`");
|
||||
%property(AlphaData, GetAlphaData, SetAlphaData, doc="See `GetAlphaData` and `SetAlphaData`");
|
||||
%property(Data, GetData, SetData, doc="See `GetData` and `SetData`");
|
||||
%property(DataBuffer, GetDataBuffer, SetDataBuffer, doc="See `GetDataBuffer` and `SetDataBuffer`");
|
||||
%property(Height, GetHeight, doc="See `GetHeight`");
|
||||
%property(MaskBlue, GetMaskBlue, doc="See `GetMaskBlue`");
|
||||
%property(MaskGreen, GetMaskGreen, doc="See `GetMaskGreen`");
|
||||
%property(MaskRed, GetMaskRed, doc="See `GetMaskRed`");
|
||||
%property(Size, GetSize, doc="See `GetSize`");
|
||||
%property(Width, GetWidth, doc="See `GetWidth`");
|
||||
};
|
||||
|
||||
|
||||
|
@@ -66,6 +66,8 @@ public:
|
||||
void, GetSize(int index, int& OUTPUT, int& OUTPUT),
|
||||
"GetSize(index) -> (width,height)");
|
||||
|
||||
%property(ImageCount, GetImageCount, doc="See `GetImageCount`");
|
||||
%property(Size, GetSize, doc="See `GetSize`");
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@@ -466,6 +466,13 @@ public:
|
||||
// Returns the current short name for the locale
|
||||
const wxString& GetName() const;
|
||||
|
||||
|
||||
%property(CanonicalName, GetCanonicalName, doc="See `GetCanonicalName`");
|
||||
%property(Language, GetLanguage, doc="See `GetLanguage`");
|
||||
%property(Locale, GetLocale, doc="See `GetLocale`");
|
||||
%property(Name, GetName, doc="See `GetName`");
|
||||
%property(String, GetString, doc="See `GetString`");
|
||||
%property(SysName, GetSysName, doc="See `GetSysName`");
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@@ -158,6 +158,38 @@ public:
|
||||
bool ReleaseCapture();
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.IsOk() }
|
||||
|
||||
%property(ButtonState, GetButtonState, doc="See `GetButtonState`");
|
||||
%property(ManufacturerId, GetManufacturerId, doc="See `GetManufacturerId`");
|
||||
%property(MaxAxes, GetMaxAxes, doc="See `GetMaxAxes`");
|
||||
%property(MaxButtons, GetMaxButtons, doc="See `GetMaxButtons`");
|
||||
%property(MovementThreshold, GetMovementThreshold, SetMovementThreshold, doc="See `GetMovementThreshold` and `SetMovementThreshold`");
|
||||
%property(NumberAxes, GetNumberAxes, doc="See `GetNumberAxes`");
|
||||
%property(NumberButtons, GetNumberButtons, doc="See `GetNumberButtons`");
|
||||
%property(NumberJoysticks, GetNumberJoysticks, doc="See `GetNumberJoysticks`");
|
||||
%property(POVCTSPosition, GetPOVCTSPosition, doc="See `GetPOVCTSPosition`");
|
||||
%property(POVPosition, GetPOVPosition, doc="See `GetPOVPosition`");
|
||||
%property(PollingMax, GetPollingMax, doc="See `GetPollingMax`");
|
||||
%property(PollingMin, GetPollingMin, doc="See `GetPollingMin`");
|
||||
%property(Position, GetPosition, doc="See `GetPosition`");
|
||||
%property(ProductId, GetProductId, doc="See `GetProductId`");
|
||||
%property(ProductName, GetProductName, doc="See `GetProductName`");
|
||||
%property(RudderMax, GetRudderMax, doc="See `GetRudderMax`");
|
||||
%property(RudderMin, GetRudderMin, doc="See `GetRudderMin`");
|
||||
%property(RudderPosition, GetRudderPosition, doc="See `GetRudderPosition`");
|
||||
%property(UMax, GetUMax, doc="See `GetUMax`");
|
||||
%property(UMin, GetUMin, doc="See `GetUMin`");
|
||||
%property(UPosition, GetUPosition, doc="See `GetUPosition`");
|
||||
%property(VMax, GetVMax, doc="See `GetVMax`");
|
||||
%property(VMin, GetVMin, doc="See `GetVMin`");
|
||||
%property(VPosition, GetVPosition, doc="See `GetVPosition`");
|
||||
%property(XMax, GetXMax, doc="See `GetXMax`");
|
||||
%property(XMin, GetXMin, doc="See `GetXMin`");
|
||||
%property(YMax, GetYMax, doc="See `GetYMax`");
|
||||
%property(YMin, GetYMin, doc="See `GetYMin`");
|
||||
%property(ZMax, GetZMax, doc="See `GetZMax`");
|
||||
%property(ZMin, GetZMin, doc="See `GetZMin`");
|
||||
%property(ZPosition, GetZPosition, doc="See `GetZPosition`");
|
||||
};
|
||||
|
||||
|
||||
@@ -214,6 +246,12 @@ public:
|
||||
m_buttonState = property(GetButtonState, SetButtonState)
|
||||
m_joyStick = property(GetJoystick, SetJoystick)
|
||||
}
|
||||
|
||||
%property(ButtonChange, GetButtonChange, SetButtonChange, doc="See `GetButtonChange` and `SetButtonChange`");
|
||||
%property(ButtonState, GetButtonState, SetButtonState, doc="See `GetButtonState` and `SetButtonState`");
|
||||
%property(Joystick, GetJoystick, SetJoystick, doc="See `GetJoystick` and `SetJoystick`");
|
||||
%property(Position, GetPosition, SetPosition, doc="See `GetPosition` and `SetPosition`");
|
||||
%property(ZPosition, GetZPosition, SetZPosition, doc="See `GetZPosition` and `SetZPosition`");
|
||||
};
|
||||
|
||||
|
||||
|
@@ -165,6 +165,8 @@ public:
|
||||
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
|
||||
%property(Selections, GetSelections, doc="See `GetSelections`");
|
||||
};
|
||||
|
||||
|
||||
|
@@ -176,6 +176,10 @@ public:
|
||||
|
||||
%pythonAppend Destroy "args[0].thisown = 0"
|
||||
%extend { void Destroy() { delete self; } }
|
||||
|
||||
%property(BackgroundColour, GetBackgroundColour, SetBackgroundColour, doc="See `GetBackgroundColour` and `SetBackgroundColour`");
|
||||
%property(Font, GetFont, SetFont, doc="See `GetFont` and `SetFont`");
|
||||
%property(TextColour, GetTextColour, SetTextColour, doc="See `GetTextColour` and `SetTextColour`");
|
||||
};
|
||||
|
||||
|
||||
@@ -245,6 +249,19 @@ public:
|
||||
int m_format; // left, right, centre
|
||||
int m_width; // width of column
|
||||
|
||||
%property(Align, GetAlign, SetAlign, doc="See `GetAlign` and `SetAlign`");
|
||||
%property(Attributes, GetAttributes, doc="See `GetAttributes`");
|
||||
%property(BackgroundColour, GetBackgroundColour, SetBackgroundColour, doc="See `GetBackgroundColour` and `SetBackgroundColour`");
|
||||
%property(Column, GetColumn, SetColumn, doc="See `GetColumn` and `SetColumn`");
|
||||
%property(Data, GetData, SetData, doc="See `GetData` and `SetData`");
|
||||
%property(Font, GetFont, SetFont, doc="See `GetFont` and `SetFont`");
|
||||
%property(Id, GetId, SetId, doc="See `GetId` and `SetId`");
|
||||
%property(Image, GetImage, SetImage, doc="See `GetImage` and `SetImage`");
|
||||
%property(Mask, GetMask, SetMask, doc="See `GetMask` and `SetMask`");
|
||||
%property(State, GetState, SetState, doc="See `GetState` and `SetState`");
|
||||
%property(Text, GetText, SetText, doc="See `GetText` and `SetText`");
|
||||
%property(TextColour, GetTextColour, SetTextColour, doc="See `GetTextColour` and `SetTextColour`");
|
||||
%property(Width, GetWidth, SetWidth, doc="See `GetWidth` and `SetWidth`");
|
||||
};
|
||||
|
||||
|
||||
@@ -285,6 +302,20 @@ public:
|
||||
// was label editing canceled? (for wxEVT_COMMAND_LIST_END_LABEL_EDIT only)
|
||||
bool IsEditCancelled() const;
|
||||
void SetEditCanceled(bool editCancelled);
|
||||
|
||||
%property(CacheFrom, GetCacheFrom, doc="See `GetCacheFrom`");
|
||||
%property(CacheTo, GetCacheTo, doc="See `GetCacheTo`");
|
||||
%property(Column, GetColumn, doc="See `GetColumn`");
|
||||
%property(Data, GetData, doc="See `GetData`");
|
||||
%property(Image, GetImage, doc="See `GetImage`");
|
||||
%property(Index, GetIndex, doc="See `GetIndex`");
|
||||
%property(Item, GetItem, doc="See `GetItem`");
|
||||
%property(KeyCode, GetKeyCode, doc="See `GetKeyCode`");
|
||||
%property(Label, GetLabel, doc="See `GetLabel`");
|
||||
%property(Mask, GetMask, doc="See `GetMask`");
|
||||
%property(Point, GetPoint, doc="See `GetPoint`");
|
||||
%property(Text, GetText, doc="See `GetText`");
|
||||
|
||||
};
|
||||
|
||||
/* List control event types */
|
||||
@@ -814,6 +845,18 @@ any.", "",
|
||||
|
||||
static wxVisualAttributes
|
||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||
|
||||
%property(ColumnCount, GetColumnCount, doc="See `GetColumnCount`");
|
||||
%property(CountPerPage, GetCountPerPage, doc="See `GetCountPerPage`");
|
||||
%property(EditControl, GetEditControl, doc="See `GetEditControl`");
|
||||
%property(FocusedItem, GetFocusedItem, doc="See `GetFocusedItem`");
|
||||
%property(ImageList, GetImageList, SetImageList, doc="See `GetImageList` and `SetImageList`");
|
||||
%property(ItemCount, GetItemCount, SetItemCount, doc="See `GetItemCount` and `SetItemCount`");
|
||||
%property(MainWindow, GetMainWindow, doc="See `GetMainWindow`");
|
||||
%property(SelectedItemCount, GetSelectedItemCount, doc="See `GetSelectedItemCount`");
|
||||
%property(TextColour, GetTextColour, SetTextColour, doc="See `GetTextColour` and `SetTextColour`");
|
||||
%property(TopItem, GetTopItem, doc="See `GetTopItem`");
|
||||
%property(ViewRect, GetViewRect, doc="See `GetViewRect`");
|
||||
};
|
||||
|
||||
|
||||
@@ -866,6 +909,8 @@ public:
|
||||
|
||||
void SetColumnImage(int col, int image);
|
||||
void ClearColumnImage(int col);
|
||||
|
||||
%property(FocusedItem, GetFocusedItem, doc="See `GetFocusedItem`");
|
||||
};
|
||||
|
||||
|
||||
|
@@ -200,6 +200,9 @@ public:
|
||||
wxLog *GetOldLog() const;
|
||||
bool IsPassingMessages() const;
|
||||
void PassMessages(bool bDoPass);
|
||||
|
||||
%property(Frame, GetFrame, doc="See `GetFrame`");
|
||||
%property(OldLog, GetOldLog, doc="See `GetOldLog`");
|
||||
};
|
||||
|
||||
|
||||
@@ -211,6 +214,8 @@ public:
|
||||
void PassMessages(bool bDoPass);
|
||||
bool IsPassingMessages();
|
||||
wxLog *GetOldLog();
|
||||
|
||||
%property(OldLog, GetOldLog, doc="See `GetOldLog`");
|
||||
};
|
||||
|
||||
// log everything to a buffer
|
||||
@@ -220,11 +225,13 @@ public:
|
||||
wxLogBuffer();
|
||||
|
||||
// get the string contents with all messages logged
|
||||
const wxString& GetBuffer() const { return m_str; }
|
||||
const wxString& GetBuffer() const;
|
||||
|
||||
// show the buffer contents to the user in the best possible way (this uses
|
||||
// wxMessageOutputMessageBox) and clear it
|
||||
virtual void Flush();
|
||||
|
||||
%property(Buffer, GetBuffer, doc="See `GetBuffer`");
|
||||
};
|
||||
|
||||
|
||||
|
@@ -374,6 +374,7 @@ public:
|
||||
const wxString& name = wxPyEmptyString);
|
||||
|
||||
wxListView* GetListView();
|
||||
%property(ListView, GetListView, doc="See `GetListView`");
|
||||
};
|
||||
|
||||
|
||||
|
@@ -1245,6 +1245,11 @@ define extra space between all children.", "");
|
||||
cols = (nitems + rows - 1) / rows
|
||||
return (rows, cols)
|
||||
}
|
||||
|
||||
%property(Cols, GetCols, SetCols, doc="See `GetCols` and `SetCols`");
|
||||
%property(HGap, GetHGap, SetHGap, doc="See `GetHGap` and `SetHGap`");
|
||||
%property(Rows, GetRows, SetRows, doc="See `GetRows` and `SetRows`");
|
||||
%property(VGap, GetVGap, SetVGap, doc="See `GetVGap` and `SetVGap`");
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
@@ -596,6 +596,8 @@ public:
|
||||
wxFileSystem& GetFileSystem();
|
||||
|
||||
void OnLinkClicked(size_t n, const wxHtmlLinkInfo& link);
|
||||
|
||||
%property(FileSystem, GetFileSystem, doc="See `GetFileSystem`");
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user