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:
Robin Dunn
2006-09-15 21:31:02 +00:00
parent 155acb0cc9
commit 994453b843
36 changed files with 619 additions and 299 deletions

View File

@@ -177,6 +177,16 @@ public:
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`");
};
//---------------------------------------------------------------------------
@@ -350,6 +360,14 @@ the client area origin nor scrolling. ", "",
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`");
};
//---------------------------------------------------------------------------
@@ -375,6 +393,10 @@ public:
// 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`");
};