.\" This is a wxWidgets manpage page generated from the XML docs .TH wxSashWindow 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxSashWindow \- Window with four optional sashes that can be dragged .SH DESCRIPTION wxSashWindow allows any of its edges to have a sash which can be dragged to resize the window. The actual content window will be created by the application as a child of wxSashWindow. The window (or an ancestor) will be notified of a drag via a wxSashEvent notification. .SH "PARENTS" wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/sashwin.h .SH MEMBERS .SS wxSashWindow () Default constructor. .SS wxSashWindow (wxWindow* parentwxWindowID idconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = wxCLIP_CHILDRENconst wxString& name = "sashWindow") Constructs a sash window, which can be a child of a frame, dialog or any other non-control window. .SS ~wxSashWindow () Destructor. .SS bool GetSashVisible (wxSashEdgePosition edge) Returns true if a sash is visible on the given edge, false otherwise. .SS int GetMaximumSizeX () Gets the maximum window size in the x direction. .SS int GetMaximumSizeY () Gets the maximum window size in the y direction. .SS int GetMinimumSizeX () Gets the minimum window size in the x direction. .SS int GetMinimumSizeY () Gets the minimum window size in the y direction. .SS bool HasBorder (wxSashEdgePosition edge) Returns true if the sash has a border, false otherwise. .SS void SetMaximumSizeX (int min) Sets the maximum window size in the x direction. .SS void SetMaximumSizeY (int min) Sets the maximum window size in the y direction. .SS void SetMinimumSizeX (int min) Sets the minimum window size in the x direction. .SS void SetMinimumSizeY (int min) Sets the minimum window size in the y direction. .SS void SetSashVisible (wxSashEdgePosition edgebool visible) Call this function to make a sash visible or invisible on a particular edge. .SS void SetSashBorder (wxSashEdgePosition edgebool hasBorder) Call this function to give the sash a border, or remove the border. .SH "WINDOW STYLES" .SS wxSW_3D Draws a 3D effect sash and border. .SS wxSW_3DSASH Draws a 3D effect sash. .SS wxSW_3DBORDER Draws a 3D effect border. .SS wxSW_BORDER Draws a thin black border. .SH EVENTS .SS EVT_SASH_DRAGGED(id, func) Process a wxEVT_SASH_DRAGGED event, when the user has finished dragging a sash. .SS EVT_SASH_DRAGGED_RANGE(id1, id2, func) Process a wxEVT_SASH_DRAGGED_RANGE event, when the user has finished dragging a sash. The event handler is called when windows with ids in the given range have their sashes dragged. .SH "SEE ALSO" wxWindow wxEvtHandler wxObject wxSashEvent wxSashLayoutWindow Event handling overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.