wxSashWindow(3erl)
π wxSashWindow (Erlang Module Definition) π
β¨ NAME β¨
wxSashWindow β Functions for wxSashWindow class. That's the whole name, bestie, and it's giving exactly what it says. π
πΈ DESCRIPTION πΈ
okay so 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. No cap, that's the whole vibe.
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 β iykyk. π¦
π₯ EVENTS π₯
Event types emitted from this class: sash_dragged.
That's the group-chat ping you're looking for, bestie. π£
π DATA TYPES π
wxSashWindow() = wx:wx_object()
β¨ EXPORTS β¨
here's every function on the menu, no skipping, no summarizing, periodt. π«Ά
new()
new() -> wxSashWindow()
Default ctor. π
new(Parent)
new(Parent) -> wxSashWindow()
Types:
Parent = wxWindow:wxWindow()
new(Parent, Options :: [Option])
new(Parent, Options :: [Option]) -> wxSashWindow()
Types:
Parent = wxWindow:wxWindow()
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. β¨
destroy(This :: wxSashWindow())
destroy(This :: wxSashWindow()) -> ok
Destructor. bye bestie π
getSashVisible(This, Edge)
getSashVisible(This, Edge) -> boolean()
Types:
This = wxSashWindow()Edge = wx:wx_enum()
Returns true if a sash is visible on the given edge, false otherwise. π«Ά
See: setSashVisible/3.
getMaximumSizeX(This)
getMaximumSizeX(This) -> integer()
Types:
This = wxSashWindow()
Gets the maximum window size in the x direction. π
getMaximumSizeY(This)
getMaximumSizeY(This) -> integer()
Types:
This = wxSashWindow()
Gets the maximum window size in the y direction. π
getMinimumSizeX(This)
getMinimumSizeX(This) -> integer()
Types:
This = wxSashWindow()
Gets the minimum window size in the x direction. π§
getMinimumSizeY(This)
getMinimumSizeY(This) -> integer()
Types:
This = wxSashWindow()
Gets the minimum window size in the y direction. πΈ
setMaximumSizeX(This, Min)
setMaximumSizeX(This, Min) -> ok
Types:
This = wxSashWindow()Min = integer()
Sets the maximum window size in the x direction. π₯
setMaximumSizeY(This, Min)
setMaximumSizeY(This, Min) -> ok
Types:
This = wxSashWindow()Min = integer()
Sets the maximum window size in the y direction. π
setMinimumSizeX(This, Min)
setMinimumSizeX(This, Min) -> ok
Types:
This = wxSashWindow()Min = integer()
Sets the minimum window size in the x direction. π
setMinimumSizeY(This, Min)
setMinimumSizeY(This, Min) -> ok
Types:
This = wxSashWindow()Min = integer()
Sets the minimum window size in the y direction. π¦
setSashVisible(This, Edge, Visible)
setSashVisible(This, Edge, Visible) -> ok
Types:
This = wxSashWindow()Edge = wx:wx_enum()Visible = boolean()
Call this function to make a sash visible or invisible on a particular edge. slay. β¨
See: getSashVisible/2.
made with π by the wxWidgets team β source/version vibes: wx 2.2.2.1, page wxSashWindow(3erl). π«Άπ
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms