wxMoveEvent(3)
π NAME π
wxMoveEvent β a move event holds information about window position change. That's it, that's the whole vibe bestie π
β¨ DESCRIPTION β¨
Okay so listen. These events? Right now they get generated for top level windows (peep wxTopLevelWindow) in all ports. Slay. But β and this is the messy part β they are not generated for the child windows in wxGTK. Not there. Not happening. Don't come for me, that's just how it is π
See also:
{X,Y}- Overview events
This class is derived, and can use functions, from:
wxEvent
wxWidgets docs: wxMoveEvent
Events
To subscribe to events of this type, use wxEvtHandler:connect/3 with wxMoveEventType. That's the whole ritual, go off π
π DATA TYPES π
wxMove()::#wxMove{}. β yeah that's the record, iconic β¨wxMoveEvent()::wx:wx_object(). β the event object itself, she's an object fr frwxMoveEventType()::move. β the type tag, literally justmove. Short. Sweet. Periodt π
π¦ FUNCTIONS π¦
getPosition(This) -> {X :: integer(), Y :: integer()}
getPosition(This) -> {X :: integer(), Y :: integer()}
when This :: wxMoveEvent().
Returns the position of the window generating the move change event. So like, the {X, Y} of the lil window that moved. Obsessed with her π«Ά
getRect(This) -> {X :: integer(), Y :: integer(), W :: integer(), H :: integer()}
getRect(This) ->
{X :: integer(),
Y :: integer(),
W :: integer(),
H :: integer()}
when This :: wxMoveEvent().
Yeah bestie, the original docs gave us the signature and then justβ¦ nothing. No description. A whole mystery. The signature is all we got and all we're passing along, no cap β so I'm not gonna make up what she does π
Heads up: the wxGTK child-window thing from up top? Still true. Not a drill. Lowkey important if you're out here wondering why your child windows are silent π
That's the whole page!! This icon was brought to you by Ericsson AB, rocking wx 2.6 β and yeah, this fine piece of documentation is the wxMoveEvent(3) page. Byee, go move some windows around β¨ππ
π¦ where this page comes from
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms