Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.6


Expand All
Contract All

Table of Contents

wxTreeEvent

MODULE

wxTreeEvent

MODULE SUMMARY

See external documentation: wxTreeEvent.

DESCRIPTION

See external documentation: wxTreeEvent.

Use wxEvtHandler:connect/3 with EventType:

command_tree_begin_drag, command_tree_begin_rdrag, command_tree_begin_label_edit, command_tree_end_label_edit, command_tree_delete_item, command_tree_get_info, command_tree_set_info, command_tree_item_expanded, command_tree_item_expanding, command_tree_item_collapsed, command_tree_item_collapsing, command_tree_sel_changed, command_tree_sel_changing, command_tree_key_down, command_tree_item_activated, command_tree_item_right_click, command_tree_item_middle_click, command_tree_end_drag, command_tree_state_image_click, command_tree_item_gettooltip, command_tree_item_menu

See also the message variant #wxTree{} event record type.

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

DATA TYPES

wxTreeEvent()

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

getKeyCode(This) -> integer()

Types:

This = wxTreeEvent()

getItem(This) -> integer()

Types:

This = wxTreeEvent()

getKeyEvent(This) -> wxKeyEvent() (see module wxKeyEvent)

Types:

This = wxTreeEvent()

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

Types:

This = wxTreeEvent()

getOldItem(This) -> integer()

Types:

This = wxTreeEvent()

getPoint(This) -> {X::integer(), Y::integer()}

Types:

This = wxTreeEvent()

isEditCancelled(This) -> boolean()

Types:

This = wxTreeEvent()

setToolTip(This, ToolTip) -> ok

Types:

This = wxTreeEvent()
ToolTip = chardata() (see module unicode)