The Tycho API


The Tycho API enables full manipulation of topics and notes, extension of Tycho, and programmatic control of the GUI. Some example calls:


    app = Tycho.new             # Start Tycho, load datastore
    DataStore.current           # Return the current topic object
    app.find_topic(key)         # Find/open topic named by str/regex
    app.new_topic(topic_name)   # Create a new top-level topic
    topic.new_topic(topic_name) # Create a new subtopic under topic
    topic.new_note(title,text)  # Create a new note under topic
    note.metadata.foo = val     # Change the foo metadata item
    topic.notes                 # List of Note objects for topic
      

<< >>