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

NAME

6       wxClipboardTextEvent - Functions for wxClipboardTextEvent class
7

DESCRIPTION

9       This  class  represents  the events generated by a control (typically a
10       wxTextCtrl but other windows can generate these events  as  well)  when
11       its content gets copied or cut to, or pasted from the clipboard.
12
13       There  are  three  types  of  corresponding events wxEVT_TEXT_COPY, wx‐
14       EVT_TEXT_CUT and wxEVT_TEXT_PASTE.
15
16       If any of these events is processed (without being skipped) by an event
17       handler,  the  corresponding  operation doesn't take place which allows
18       preventing the text from being copied from or pasted to a  control.  It
19       is  also  possible to examine the clipboard contents in the PASTE event
20       handler and transform it in some way before inserting in  a  control  -
21       for example, changing its case or removing invalid characters.
22
23       Finally  notice  that  a CUT event is always preceded by the COPY event
24       which makes it possible to only process the latter if it doesn't matter
25       if the text was copied or cut.
26
27       Note:  These events are currently only generated by wxTextCtrl in wxGTK
28       and wxOSX but are also generated by  wxComboBox  without  wxCB_READONLY
29       style in wxMSW.
30
31       See: wxClipboard
32
33       This  class is derived (and can use functions) from: wxCommandEvent wx‐
34       Event
35
36       wxWidgets docs: wxClipboardTextEvent
37

EVENTS

39       Use wxEvtHandler:connect/3 with wxClipboardTextEventType  to  subscribe
40       to events of this type.
41

DATA TYPES

43       wxClipboardTextEvent() = wx:wx_object()
44
45       wxClipboardText() =
46           #wxClipboardText{type =
47                                wxClipboardTextEvent:wxClipboardTextEventType()}
48
49       wxClipboardTextEventType() =
50           command_text_copy | command_text_cut | command_text_paste
51
52
53
54wxWidgets team.                    wx 2.1.4            wxClipboardTextEvent(3)
Impressum