wxSashWindowwxSashWindow 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. Derived from
wxWindow Include files <wx/sashwin.h> Window styles The following styles apply in addition to the normal wxWindow styles.
See also window styles overview. Event handling
Data types
See also wxSashEvent, wxSashLayoutWindow, Event handling overview Members
wxSashWindow::wxSashWindow
wxSashWindow::wxSashWindowwxSashWindow() Default constructor. wxSashWindow(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCLIP_CHILDREN | wxSW_3D, const wxString& name = "sashWindow") Constructs a sash window, which can be a child of a frame, dialog or any other non-control window. Parameters parent
id
pos
size
style
name
wxSashWindow::~wxSashWindow~wxSashWindow() Destructor.
wxSashWindow::GetSashVisiblebool GetSashVisible(wxSashEdgePosition edge) const Returns true if a sash is visible on the given edge, false otherwise. Parameters edge
See also
wxSashWindow::GetMaximumSizeXint GetMaximumSizeX() const Gets the maximum window size in the x direction.
wxSashWindow::GetMaximumSizeYint GetMaximumSizeY() const Gets the maximum window size in the y direction.
wxSashWindow::GetMinimumSizeXint GetMinimumSizeX() Gets the minimum window size in the x direction.
wxSashWindow::GetMinimumSizeYint GetMinimumSizeY() const Gets the minimum window size in the y direction.
wxSashWindow::HasBorderbool HasBorder(wxSashEdgePosition edge) const Returns true if the sash has a border, false otherwise. This function is obsolete since the sash border property is unused. Parameters edge
See also
wxSashWindow::SetMaximumSizeXvoid SetMaximumSizeX(int min) Sets the maximum window size in the x direction.
wxSashWindow::SetMaximumSizeYvoid SetMaximumSizeY(int min) Sets the maximum window size in the y direction.
wxSashWindow::SetMinimumSizeXvoid SetMinimumSizeX(int min) Sets the minimum window size in the x direction.
wxSashWindow::SetMinimumSizeYvoid SetMinimumSizeY(int min) Sets the minimum window size in the y direction.
wxSashWindow::SetSashVisiblevoid SetSashVisible(wxSashEdgePosition edge, bool visible) Call this function to make a sash visible or invisible on a particular edge. Parameters edge
visible
See also
wxSashWindow::SetSashBordervoid SetSashBorder(wxSashEdgePosition edge, bool hasBorder) Call this function to give the sash a border, or remove the border. This function is obsolete since the sash border property is unused. Parameters edge
hasBorder
See also
|