GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
wxClipboardTextEvent(3) Erlang Module Definition wxClipboardTextEvent(3)

wxClipboardTextEvent - Functions for wxClipboardTextEvent class

This class represents the events generated by a control (typically a wxTextCtrl but other windows can generate these events as well) when its content gets copied or cut to, or pasted from the clipboard.

There are three types of corresponding events wxEVT_TEXT_COPY, wxEVT_TEXT_CUT and wxEVT_TEXT_PASTE.

If any of these events is processed (without being skipped) by an event handler, the corresponding operation doesn't take place which allows preventing the text from being copied from or pasted to a control. It is also possible to examine the clipboard contents in the PASTE event handler and transform it in some way before inserting in a control - for example, changing its case or removing invalid characters.

Finally notice that a CUT event is always preceded by the COPY event which makes it possible to only process the latter if it doesn't matter if the text was copied or cut.

Note: These events are currently only generated by wxTextCtrl in wxGTK and wxOSX but are also generated by wxComboBox without wxCB_READONLY style in wxMSW.

See: wxClipboard

This class is derived (and can use functions) from: wxCommandEvent wxEvent

wxWidgets docs: wxClipboardTextEvent

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

wxClipboardTextEvent() = wx:wx_object()

wxClipboardText() = 
    #wxClipboardText{type =
                         wxClipboardTextEvent:wxClipboardTextEventType()}

wxClipboardTextEventType() = 
    command_text_copy | command_text_cut | command_text_paste

wx 2.1.1 wxWidgets team.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.