wxTreeEvent

See external documentation: wxTreeEvent.

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

Types


wxTreeEvent() = wx:wx_object()

Functions


getKeyCode(This) -> integer()

  • This = wxTreeEvent()

See external documentation.

getItem(This) -> integer()

  • This = wxTreeEvent()

See external documentation.

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

  • This = wxTreeEvent()

See external documentation.

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

  • This = wxTreeEvent()

See external documentation.

getOldItem(This) -> integer()

  • This = wxTreeEvent()

See external documentation.

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

  • This = wxTreeEvent()

See external documentation.

isEditCancelled(This) -> boolean()

  • This = wxTreeEvent()

See external documentation.

setToolTip(This, ToolTip) -> ok

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

See external documentation.