1wxMoveEvent(3)             Erlang Module Definition             wxMoveEvent(3)
2
3
4

NAME

6       wxMoveEvent - Functions for wxMoveEvent class
7

DESCRIPTION

9       A move event holds information about window position change.
10
11       These  events are currently generated for top level (see wxTopLevelWin‐
12       dow) windows in all ports, but are not generated for the child  windows
13       in wxGTK.
14
15       See: {X,Y}, Overview events
16
17       This class is derived (and can use functions) from: wxEvent
18
19       wxWidgets docs: wxMoveEvent
20

EVENTS

22       Use  wxEvtHandler:connect/3 with wxMoveEventType to subscribe to events
23       of this type.
24

DATA TYPES

26       wxMoveEvent() = wx:wx_object()
27
28       wxMove() =
29           #wxMove{type = wxMoveEvent:wxMoveEventType(),
30                   pos = {X :: integer(), Y :: integer()},
31                   rect =
32                       {X :: integer(),
33                        Y :: integer(),
34                        W :: integer(),
35                        H :: integer()}}
36
37       wxMoveEventType() = move
38

EXPORTS

40       getPosition(This) -> {X :: integer(), Y :: integer()}
41
42              Types:
43
44                 This = wxMoveEvent()
45
46              Returns the position of the window generating  the  move  change
47              event.
48
49       getRect(This) ->
50                  {X :: integer(),
51                   Y :: integer(),
52                   W :: integer(),
53                   H :: integer()}
54
55              Types:
56
57                 This = wxMoveEvent()
58
59
60
61wxWidgets team.                    wx 2.2.1                     wxMoveEvent(3)
Impressum