User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99.2

Expand All
Contract All

Table of Contents

# wxTextDataObject

### MODULE

wxTextDataObject

### MODULE SUMMARY

See external documentation: wxTextDataObject.

### DESCRIPTION

See external documentation: wxTextDataObject.

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

### DATA TYPES

wxTextDataObject()

  An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

### EXPORTS

new() -> wxTextDataObject()

Equivalent to new([]).

new(Option::[Option]) -> wxTextDataObject()

Types:

Option = {text, chardata() (see module unicode)}

See external documentation.

getTextLength(This) -> integer()

Types:

This = wxTextDataObject()

See external documentation.

getText(This) -> charlist() (see module unicode)

Types:

This = wxTextDataObject()

See external documentation.

setText(This, Text) -> ok

Types:

This = wxTextDataObject()
Text = chardata() (see module unicode)

See external documentation.

destroy(This::wxTextDataObject()) -> ok

Destroys this object, do not use object again