wxMoveEvent(3erl)
π wxMoveEvent(3erl) β Erlang Module Definition π
πΈ NAME πΈ
okay so bestie, this page is literally about wxMoveEvent β Functions for wxMoveEvent class. that's the name section and it ate. π
β¨ DESCRIPTION β¨
a move event holds information about window position change. periodt.
- these events are currently generated for top level (see
wxTopLevelWindow) windows in all ports, but are not generated for the child windows inwxGTK. yes, that's the whole plot twist. π - See:
{X,Y}, Overview events. - this class is derived (and can use functions) from:
wxEvent. inheritance slay. - wxWidgets docs:
wxMoveEvent.
π EVENTS π
use wxEvtHandler:connect/3 with wxMoveEventType to subscribe to events of this type. that's the subscription ritual, no cap. π₯
π§ DATA TYPES π§
here's the whole type situation, bestie:
wxMoveEvent() = wx:wx_object()
wxMove() =
#wxMove{type = wxMoveEvent:wxMoveEventType(),
pos = {X :: integer(), Y :: integer()},
rect =
{X :: integer(),
Y :: integer(),
W :: integer(),
H :: integer()}}
wxMoveEventType() = move
so wxMoveEventType() is literally move β lowercase, iconic, no notes. slay π
π EXPORTS π
π getPosition(This) π
getPosition(This) -> {X :: integer(), Y :: integer()}
Types:
This = wxMoveEvent()
returns the position of the window generating the move change event. get that position, bestie πβ¨
π¦ getRect(This) π¦
getRect(This) ->
{X :: integer(),
Y :: integer(),
W :: integer(),
H :: integer()}
Types:
This = wxMoveEvent()
that's the signature + type the page gives us β no extra description lore here, and that's okay. π«Ά
mwah π β footer source/version/date check: wxWidgets team. β’ version wx 2.2.2.1 β’ wxMoveEvent(3erl) β’ date line: not listed, bestie. π
π¦ 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