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`");
+
};
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`");
};
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`");
};
//---------------------------------------------------------------------------
// 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`");
};
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 {
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`");
};
//---------------------------------------------------------------------------
must be called to check this.", "");
%property(LoggingOff, GetLoggingOff, SetLoggingOff, doc="See `GetLoggingOff` and `SetLoggingOff`");
- %property(Veto, GetVeto, doc="See `GetVeto`");
-
};
~wxFSFile();
wxInputStream *GetStream();
+ void DetachStream();
+
const wxString& GetMimeType();
const wxString& GetLocation();
const wxString& GetAnchor();
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
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`");
+
};
//---------------------------------------------------------------------------
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`");
};
position of.", "",
CheckForIntersectionPos);
-
};
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`");
};
// that the user clicked on.
wxString GetURL() const;
void SetURL(const wxString &url);
+
+ %property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
};
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`");
+
};
//---------------------------------------------------------------------------
#endif
}
}
+
+ %property(FileName, GetFileName, SetFileName, doc="See `GetFileName` and `SetFileName`");
+ %property(Index, GetIndex, SetIndex, doc="See `GetIndex` and `SetIndex`");
+
};
// 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`");
};
//---------------------------------------------------------------------------
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`");
};
%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`");
};
void, GetSize(int index, int& OUTPUT, int& OUTPUT),
"GetSize(index) -> (width,height)");
+ %property(ImageCount, GetImageCount, doc="See `GetImageCount`");
+ %property(Size, GetSize, doc="See `GetSize`");
};
//---------------------------------------------------------------------------
// 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`");
};
//---------------------------------------------------------------------------
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`");
};
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`");
};
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+ %property(Selections, GetSelections, doc="See `GetSelections`");
};
%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`");
};
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`");
};
// 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 */
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`");
};
void SetColumnImage(int col, int image);
void ClearColumnImage(int col);
+
+ %property(FocusedItem, GetFocusedItem, doc="See `GetFocusedItem`");
};
wxLog *GetOldLog() const;
bool IsPassingMessages() const;
void PassMessages(bool bDoPass);
+
+ %property(Frame, GetFrame, doc="See `GetFrame`");
+ %property(OldLog, GetOldLog, doc="See `GetOldLog`");
};
void PassMessages(bool bDoPass);
bool IsPassingMessages();
wxLog *GetOldLog();
+
+ %property(OldLog, GetOldLog, doc="See `GetOldLog`");
};
// log everything to a buffer
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`");
};
const wxString& name = wxPyEmptyString);
wxListView* GetListView();
+ %property(ListView, GetListView, doc="See `GetListView`");
};
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`");
};
//---------------------------------------------------------------------------
wxFileSystem& GetFileSystem();
void OnLinkClicked(size_t n, const wxHtmlLinkInfo& link);
+
+ %property(FileSystem, GetFileSystem, doc="See `GetFileSystem`");
};