wxSashWindow

wxSashWindow

wxSashWindow
Functions for wxSashWindow class

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.

Styles

This class supports the following styles:

See: wxSashEvent, wxSashLayoutWindow, Overview events

This class is derived (and can use functions) from: wxWindow wxEvtHandler

wxWidgets docs: wxSashWindow

Event types emitted from this class: sash_dragged

Types

Option =
    {id, integer()} |
    {pos, {X :: integer(), Y :: integer()}} |
    {size, {W :: integer(), H :: integer()}} |
    {style, integer()}

Constructs a sash window, which can be a child of a frame, dialog or any other non-control window.

Types

Gets the maximum window size in the x direction.

Types

Gets the maximum window size in the y direction.

Types

Gets the minimum window size in the x direction.

Types

Gets the minimum window size in the y direction.

Types

Min = integer()

Sets the maximum window size in the x direction.

Types

Min = integer()

Sets the maximum window size in the y direction.

Types

Min = integer()

Sets the minimum window size in the x direction.

Types

Min = integer()

Sets the minimum window size in the y direction.

Types

Visible = boolean()

Call this function to make a sash visible or invisible on a particular edge.

See: getSashVisible/2