|
Public Member Functions |
| Window (wxWindow *wxobj, bool owns=false) |
| Window (const wxWindow &wxobj, bool owns=false) |
| Window (IN(RWindow) parent, int id, IN(RPoint) pos=Point::defaultPosition(), IN(RSize) size=Size::defaultSize()) |
void | initDispatch () |
int | getId () |
void | setId (int id) |
RString | getName () const |
void | setName (IN(RString) name) |
bool | close (bool force=false) |
bool | destroy () |
bool | destroyChildren () |
void | dragAcceptFiles (bool accept) |
bool | isBeingDeleted () const |
void | setTitle (IN(RString) title) |
RString | getTitle () |
void | raise () |
void | lower () |
bool | show (bool showit) |
bool | enable (bool doenable=true) |
virtual void | SetFocusFromKbd () |
virtual int | getWindowStyleFlag () const |
void | setWindowStyle (int style) |
int | getWindowStyle () const |
bool | hasFlag (int flag) |
bool | isRetained () const |
void | setExtraStyle (int exStyle) |
int | getExtraStyle () const |
void | makeModal (bool modal=true) |
void | setThemeEnabled (bool enableTheme) |
bool | getThemeEnabled () const |
void | setFocus () |
void | setFocusFromKbd () |
bool | acceptsFocus () const |
bool | acceptsFocusFromKeyboard () const |
RWindow | getDefaultItem () const |
RWindow | setDefaultItem (IN(RWindow) child) |
void | setTmpDefaultItem (IN(RWindow) win) |
RWindowArray | getChildren () |
RWindow | getParent () const |
RWindow | getGrandParent () const |
bool | isTopLevel () const |
void | setParent (IN(RWindow) parent) |
bool | reparent (IN(RWindow) newParent) |
void | addChild (IN(RWindow) child) |
void | removeChild (IN(RWindow) child) |
RWindow | findWindow (int id) |
RWindow | findWindow (IN(RString) name) |
REvtHandler | getEventHandler () const |
void | setEventHandler (IN(REvtHandler) handler) |
void | pushEventHandler (IN(REvtHandler) handler) |
REvtHandler | popEventHandler (bool deleteHandler=false) |
bool | removeEventHandler (IN(REvtHandler) handler) |
void | setValidator (IN(RValidator) validator) |
RValidator | getValidator () |
void | getPosition (OUT(int) x, OUT(int) y) const |
RPoint | getPosition () const |
RRect | getRect () const |
void | getSize (OUT(int) width, OUT(int) height) const |
RSize | getSize () const |
RSize | getClientSize () const |
void | setSize (int x, int y, int width, int height, int sizeFlags=SizeAuto) |
void | setSize (IN(RRect) rect) |
void | setSize (int width, int height) |
void | setSize (IN(RSize) size) |
void | fit () |
void | fitInside () |
RSize | getBestSize () const |
bool | validate () |
bool | transferDataToWindow () |
bool | transferDataFromWindow () |
void | initDialog () |
RPoint | convertPixelsToDialog (IN(RPoint) pt) |
RPoint | convertDialogToPixels (IN(RPoint) pt) |
RSize | convertPixelsToDialog (IN(RSize) sz) |
RSize | convertDialogToPixels (IN(RSize) sz) |
void | warpPointer (int x, int y) |
void | captureMouse () |
void | releaseMouse () |
bool | hasCapture () const |
void | refresh (bool eraseBackground=true, IN(RRect) rect=Nil) |
void | refreshRect (IN(RRect) rect) |
void | update () |
void | clear () |
void | freeze () |
void | thaw () |
void | prepareDC (IN(RDC) dc) |
RRegion | getUpdateRegion () const |
RRect | getUpdateClientRect () const |
bool | isExposed (int x, int y) |
bool | isExposed (int x, int y, int w, int h) |
bool | isExposed (IN(RPoint) pt) |
bool | isExposed (IN(RRect) rect) |
bool | setBackgroundColour (IN(RColour) colour) |
bool | setForegroundColour (IN(RColour) colour) |
bool | setBackgroundColour (IN(RString) colour) |
bool | setForegroundColour (IN(RString) colour) |
RColour | getBackgroundColour () const |
RColour | getForegroundColour () const |
virtual bool | setCursor (IN(RCursor) cursor) |
RCursor | getCursor () const |
bool | setFont (IN(RFont) font) |
RFont | getFont () |
int | getCharHeight () const |
int | getCharWidth () const |
void | clientToScreen (OUT(int) x, OUT(int) y) |
void | screenToClient (OUT(int) x, OUT(int) y) |
RPoint | clientToScreen (IN(RPoint) pt) |
RPoint | screenToClient (IN(RPoint) pt) |
HitTest | hitTest (int x, int y) |
HitTest | hitTest (IN(RPoint) pt) |
Border | getBorder () const |
void | updateWindowUI () |
bool | hasScrollbar (int orient) |
void | setScrollbar (int orient, int pos, int thumbvisible, int range, bool refresh=true) |
void | setScrollPos (int orient, int pos, bool refresh=true) |
int | getScrollPos (int orient) |
int | getScrollThumb (int orient) |
int | getScrollRange (int orient) |
void | scrollWindow (int dx, int dy, IN(RRect) rect=Nil) |
bool | scrollLines (int lines) |
bool | scrollPages (int pages) |
bool | lineUp () |
bool | lineDown () |
bool | pageUp () |
bool | pageDown () |
void | setDropTarget (IN(RDropTarget) dropTarget) |
RDropTarget | getDropTarget () const |
void | setConstraints (IN(RLayoutConstraints) constraints) |
RLayoutConstraints | getConstraints () const |
void | unsetConstraints (IN(RLayoutConstraints) c) |
void | addConstraintReference (IN(RWindow) otherWin) |
void | removeConstraintReference (IN(RWindow) otherWin) |
void | deleteRelatedConstraints () |
void | resetConstraints () |
void | setConstraintSizes (bool recurse) |
bool | layoutPhase1 (OUT(int) noChanges) |
bool | layoutPhase2 (OUT(int) noChanges) |
bool | doPhase (int phase) |
void | setSizeConstraint (int x, int y, int w, int h) |
void | moveConstraint (int x, int y) |
void | getSizeConstraint (OUT(int) w, OUT(int) h) |
void | getClientSizeConstraint (OUT(int) w, OUT(int) h) |
void | getPositionConstraint (OUT(int) x, OUT(int) y) |
void | centre (int direction=OrientBoth) |
void | centreOnParent (int direction=OrientBoth) |
void | centreOnScreen (int direction=OrientBoth) |
void | setAutoLayout (bool autoLayout) |
bool | getAutoLayout () const |
bool | layout () |
void | setSizer (IN(RSizer) sizer, bool deleteOld=true) |
void | setSizerAndFit (IN(RSizer) sizer, bool deleteOld=true) |
RSizer | getSizer () const |
void | setContainingSizer (IN(RSizer) sizer) |
RSizer | getContainingSizer () const |
Static Public Member Functions |
RWindow | FindFocus () |
RWindow | findWindowById (int id, IN(RWindow) parent=Nil) |
RWindow | findWindowByName (IN(RString) name, IN(RWindow) parent=Nil) |
RWindow | findWindowByLabel (IN(RString) label, IN(RWindow) parent=Nil) |
RWindow | getCapture () |
int | messageBox (IN(RString) message, IN(RString) caption=Message, int style=MbOk, IN(RWindow) parent=Nil, int x=-1, int y=-1) |
| Displays a Message Box.
|