rTree is poorly documented so I'm going to start collecting information that I need to understand and work with rTree that I had to search for.
I want to send a message to my main application's engine when the user expands a node, so I used the nodeExpanded handler in the rTree object's script. But how to get the node's ID? Well, in the "TODO LIST" comments in the rTreeBehavior button in the engine card in the rTreeEngine stack there's a list of handlers AND their arguments. There's some other interesting stuff in there but at the moment this is what I'm looking for.
# deleteNode theNodeID, theTreeID.
# nodeDown theButton, theNodeID, theTreeID. WORKING. DOCUMENTED.
# nodeUp theButton, theNodeID, theTreeID. WORKING. DOCUMENTED.
# nodeDoubleDown theButton, theNodeID, theTreeID. WORKING. DOCUMENTED.
# nodeDoubleUp theButton, theNodeID, theTreeID. WORKING. DOCUMENTED.
# nodeEnter theNodeID, theTreeID. WORKING. DOCUMENTED.
# nodeLeave theNodeID, theTreeID. WORKING. DOCUMENTED.
# nodeNameChanged oldName, newName, nodeID, TreeID. WORKING.
# nodeExpanded theNodeID, newValue, theTreeID. WORKING. DOCUMENTED.
# nodeCollapsed theNodeID, newValue, theTreeID. WORKING. DOCUMENTED.
# newNode theNodeID, theTreeID. WORKING.
# dragNodeStart theNodeID, theTreeID. WORKING. DOCUMENTED.
# dragNodeMove theNodeID, theTreeID. WORKING. DOCUMENTED.
# dragNodeDrop theNodeID, theTreeID. WORKING. DOCUMENTED.
# dragNodeEnd theNodeID, theTreeID. WORKING. DOCUMENTED.
# moveSomeNodes theNodeID, theTreeID. WORKING.
# startScanNode theNodeID, theTreeID. WORKING.
# finnishedScanNode theNodeID, theTreeID. WORKING.
# startCalculateTree theTreeID. WORKING.
# finishedCalculateTree theTreeID theNumberOfNodes. WORKING.
# startRenderTree theTreeID. WORKING. DOCUMENTED.
# finnishedRenderTree theTreeID. WORKING. DOCUMENTED.
rTree documentation
This is a forum focused on providing support for rTree
Moderators: heatherlaine, robinmiller, kevinmiller, wilstrand
Jump to
- General
- ↳ Announcements
- ↳ Off-Topic
- ↳ Feature Requests
- ↳ User Groups and Gatherings
- ↳ SoCal LiveCode Group
- ↳ Greater Toronto Area LiveCode Users Group
- ↳ Developer Services Marketplace
- Getting Started
- ↳ Getting Started with LiveCode - Complete Beginners
- ↳ Getting Started with LiveCode - Experienced Developers
- ↳ Converting to LiveCode
- ↳ App Building Course
- ↳ Simple Messages
- ↳ Calculator
- ↳ Notes
- ↳ Clock
- ↳ Web Browser
- ↳ Weather
- ↳ Compass
- ↳ Photos
- Intermediate
- ↳ Talking LiveCode
- ↳ Rich Media
- ↳ Internet
- ↳ Databases
- ↳ Using Environment Extensions
- ↳ Using Externals and Plugins
- Advanced
- ↳ Extending LiveCode
- ↳ Building Externals/Plugins
- ↳ Software Development Cycles
- ↳ LiveCode Builder
- Platform Specific
- ↳ Windows
- ↳ Linux
- ↳ Mac OS
- ↳ iOS Deployment
- ↳ CGIs and the Server
- ↳ Android Deployment
- ↳ Raspberry Pi
- ↳ HTML5
- Project Specific
- ↳ Creating Games
- ↳ Digital Art and Portfolios
- ↳ Business and Kiosks
- Academic Endeavors
- ↳ Teaching with LiveCode
- ↳ Research and Post Secondary
- ↳ September Academy
- ↳ LiveCode University
- ↳ Summer School 2013
- ↳ Educational Outreach
- Third Party Extension Support
- ↳ Marketing Your Products
- ↳ Animation Engine
- ↳ chartsEngine
- ↳ Data Tree
- ↳ rTree
- ↳ MobGUI
- ↳ lcTaskList
- ↳ SQL Yoga
- ↳ MergEXT
- ↳ Data Grid Helper
- ↳ rGrid
- ↳ LiveCode Factory
- ↳ idea2app and Coding School
- Livecode Open Source
- ↳ Engine Contributors
- ↳ IDE Contributors
- ↳ Version Control
- ↳ Learning Resources
- ↳ Brainstorms
- ↳ LiveCode Global Jam
- ↳ Testing Support
- ↳ Bug Triage
- ↳ Community Projects
- ↳ rIDE
- LiveCode Hosting
- LiveCode for FM
- LC Connect