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

wxErlang
Reference Manual
Version 0.98.7


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::wxTreeEvent()) -> integer()

getItem(This::wxTreeEvent()) -> integer()

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

getLabel(This::wxTreeEvent()) -> string()

getOldItem(This::wxTreeEvent()) -> integer()

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

isEditCancelled(This::wxTreeEvent()) -> bool()

setToolTip(This::wxTreeEvent(), ToolTip::string()) -> ok