]> git.saurik.com Git - wxWidgets.git/commitdiff
More properties
authorRobin Dunn <robin@alldunn.com>
Fri, 8 Sep 2006 01:08:36 +0000 (01:08 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 8 Sep 2006 01:08:36 +0000 (01:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

20 files changed:
wxPython/src/_constraints.i
wxPython/src/_control.i
wxPython/src/_cshelp.i
wxPython/src/_dirctrl.i
wxPython/src/_event.i
wxPython/src/_filesys.i
wxPython/src/_gauge.i
wxPython/src/_gbsizer.i
wxPython/src/_hyperlink.i
wxPython/src/_icon.i
wxPython/src/_image.i
wxPython/src/_imaglist.i
wxPython/src/_intl.i
wxPython/src/_joystick.i
wxPython/src/_listbox.i
wxPython/src/_listctrl.i
wxPython/src/_log.i
wxPython/src/_notebook.i
wxPython/src/_sizers.i
wxPython/src/_vscroll.i

index 1c0fd75f6d3aa682a9c51ad2c8ae2c81ccb8e2b8..2af1005bf312e0018ab813a3e06aff584803e6e3 100644 (file)
@@ -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`");
+    
 };
 
 
index 10b7b43f45ec73a79d5a464177361387f1f07b54..d755d752702c2d5dd6031c6a412e4323210b819b 100644 (file)
@@ -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`");
     
 };
 
index 9db181dfde7e942e42efae5da7e4dc7b994be437..2e4b493f65b410a5a74e45a4634efd8341858a75 100644 (file)
@@ -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`");
 };
 
 //---------------------------------------------------------------------------
index 0486a1bf4c0dfa8cce25bf31f6ccddf0f4eb45b2..a6084a88c6e80ba27f7de7ed736a90657ebdd03f 100644 (file)
@@ -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`");
 };
 
 
index bd71cffdb5ec883b17e5aeb5c5a56fb49093f41b..6d06bd26e9a386c531ef99a5d870c2bae0e65ee7 100644 (file)
@@ -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`");
-    
 };
 
 
index 4291d52077d074d196a586fbc6dda9b4226eab59..be1b01e81ac822badcd5cec219e511503bedde28 100644 (file)
@@ -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
index 942a1bc04e0d60632d33ac578aa10a75460a2207..71302de64427aed2ba8b50ccb95502c4246ddc6e 100644 (file)
@@ -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`");
+   
 };
 
 //---------------------------------------------------------------------------
index 412ad058e5c24615bb6bd316b817581eae611436..19a31686ea851f30315fb851647e53dcde22e0ad 100644 (file)
@@ -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);
     
-
 };
 
 
index eb4e898fe584d04267c400a8be0087847d735dfb..d84ab7ce647f13a4fbdaa73de2d4cb398c1ed226 100644 (file)
@@ -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`");
 };
 
 
index d117a99ff6abbc57c5e1cc58b476129978e9b309..2f91e9371b0b6aca1421e76c7e3fd51bda8bc980 100644 (file)
@@ -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`");
 };
 
 //---------------------------------------------------------------------------
index c183f2c9f2a0e66ad4d5a9c583d99e4f4b5b3e83..f083ba0d17afde21dd80bd93d10b3aedd3c880ca 100644 (file)
@@ -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`");
 };
 
 
index fafc8ae3e2e7a6432d6d33bb1c0b9d712cb37af6..d048849da2abbf3e8332294c300fcece15dcd18d 100644 (file)
@@ -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`");
 };
 
 //---------------------------------------------------------------------------
index 4b992086ee5642ed54dfe5657846e2f8454704f6..198fc8bfc2a86bc77830a7d11dfe513896699f21 100644 (file)
@@ -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`");
 };
 
 //---------------------------------------------------------------------------
index 252208e9e503aac02353767b51ebf22d7a975b34..88bb207276f57c707ca3f996cf39edd63654bfb6 100644 (file)
@@ -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`");
 };
 
 
index df526d3c42b8f83d02ccd2c3c471c01b9e29b62f..22960358a414391897da15b7b96abe01681b036c 100644 (file)
@@ -165,6 +165,8 @@ public:
 
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+    
+    %property(Selections, GetSelections, doc="See `GetSelections`");
 };
 
 
index 00b88bb0f530df129cdd984f4cfbb940f7eea312..a982f7154bed0aeaeb20fae8933a0aad4d0591dc 100644 (file)
@@ -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`");
 };
 
 
index f02bf3c39cd67566fbefb80ac6a422f1aa0a9679..f02fdb84677147e331ff6f212e25f38fe9e1ba24 100644 (file)
@@ -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`");    
 };
 
 
index 77c6a4cb27d5cda83fdfbb76cf9d77ea2d91bcbd..e62c154d4f910b3b857e2ef490411cc3c676ba5f 100644 (file)
@@ -374,6 +374,7 @@ public:
                 const wxString& name = wxPyEmptyString);
 
     wxListView* GetListView();
+    %property(ListView, GetListView, doc="See `GetListView`");
 };
 
 
index ad359886486cdddbd25042d48662ae5563975531..06485445431f8dbb74eb0e8a300083ae6858947d 100644 (file)
@@ -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`");
 };
 
 //---------------------------------------------------------------------------
index ce66f5cd2307b623b368db441376189146f34516..f1d3b7705fa5cac2332054e9a41460a5aee248a9 100644 (file)
@@ -596,6 +596,8 @@ public:
     wxFileSystem& GetFileSystem();
 
     void OnLinkClicked(size_t n, const wxHtmlLinkInfo& link);        
+
+    %property(FileSystem, GetFileSystem, doc="See `GetFileSystem`");
 };