void SetOrientation(int orient);
void SetPosition(int pos);
+
+ %property(Orientation, GetOrientation, SetOrientation, doc="See `GetOrientation` and `SetOrientation`");
+ %property(Position, GetPosition, SetPosition, doc="See `GetPosition` and `SetPosition`");
};
void SetOrientation(int orient);
void SetPosition(int pos);
+
+ %property(Orientation, GetOrientation, SetOrientation, doc="See `GetOrientation` and `SetOrientation`");
+ %property(Position, GetPosition, SetPosition, doc="See `GetPosition` and `SetPosition`");
};
//---------------------------------------------------------------------------
bool , HasCursor() const,
"Returns true if the cursor specified by this event is a valid cursor.", "");
+ %property(Cursor, GetCursor, SetCursor, doc="See `GetCursor` and `SetCursor`");
+ %property(X, GetX, doc="See `GetX`");
+ %property(Y, GetY, doc="See `GetY`");
};
//---------------------------------------------------------------------------
}
}
-public:
wxSize m_size;
wxRect m_rect;
+
+ %property(Rect, GetRect, SetRect, doc="See `GetRect` and `SetRect`");
+ %property(Size, GetSize, SetSize, doc="See `GetSize` and `SetSize`");
};
void SetShow(bool show);
bool GetShow() const;
+ %property(Show, GetShow, SetShow, doc="See `GetShow` and `SetShow`");
};
void SetChangedWindow(wxWindow* win);
wxWindow* GetChangedWindow();
+ %property(ChangedWindow, GetChangedWindow, SetChangedWindow, doc="See `GetChangedWindow` and `SetChangedWindow`");
};
//---------------------------------------------------------------------------
"App should set this if it changes the palette.", "");
bool GetPaletteRealized() const;
+
+ %property(PaletteRealized, GetPaletteRealized, SetPaletteRealized, doc="See `GetPaletteRealized` and `SetPaletteRealized`");
};
//---------------------------------------------------------------------------