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: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Jump to
- LiveCode Community
- ↳ Announcements
- ↳ Developer Services Marketplace
- ↳ User Groups and Events
- ↳ SoCal LiveCode Group
- ↳ Greater Toronto Area LiveCode Users Group
- ↳ Off-Topic
- ↳ Made With LiveCode
- Getting Started With LiveCode
- ↳ 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
- Developing With LiveCode
- ↳ Talking LiveCode
- ↳ Databases
- ↳ Games
- ↳ Internet
- ↳ Multimedia
- ↳ Software Engineering
- ↳ Version Control
- ↳ Feature Proposals
- ↳ Bug Triage
- ↳ Legacy Project: MetaCard
- Extending LiveCode
- ↳ Using Plugins for Customizing the LiveCode IDE
- ↳ Using Externals
- ↳ Making IDE Plugins
- ↳ Building Externals
- ↳ LiveCode Builder
- Platform Specific
- ↳ Windows
- ↳ Mac OS
- ↳ Linux
- ↳ iOS Deployment
- ↳ Android Deployment
- ↳ CGIs and the Server
- ↳ HTML5
- ↳ Raspberry Pi
- Academic Endeavors
- ↳ Teaching with LiveCode
- ↳ Research and Post Secondary
- ↳ LiveCode University
- ↳ Educational Outreach
- Livecode Open Source Archived Forum- closed to posting
- ↳ Engine Contributors
- ↳ IDE Contributors
- ↳ Documentation and Tutorials
- ↳ Brainstorms
- ↳ Community Projects
- ↳ rIDE
- Third Party Extension Support
- ↳ Marketing Your Products
- ↳ Animation Engine
- ↳ chartsEngine
- ↳ MobGUI
- ↳ lcTaskList
- ↳ SQL Yoga
- ↳ MergEXT
- ↳ Data Grid Helper
- ↳ idea2app and Coding School
- ↳ Admin Archive
- LiveCode Hosting
- Forum Archives
- ↳ Archived: Third Party Extension Support
- ↳ rTree
- ↳ rGrid
- ↳ Data Tree
- ↳ Archived: LiveCode Open Source
- ↳ LiveCode Global Jam
- ↳ Testing Support
- ↳ Archived: Academic Endeavors
- ↳ September Academy
- ↳ Summer School 2013
- ↳ Archived: Project Specific
- ↳ Business and Kiosks
- ↳ Digital Art and Portfolios