##// END OF EJS Templates
ipy_leo: doc
Ville M. Vainio -
Show More
@@ -10,7 +10,7 b''
10 <find_panel_settings/>
10 <find_panel_settings/>
11 <vnodes>
11 <vnodes>
12 <v t="vivainio.20080222193236" a="E"><vh>Documentation</vh>
12 <v t="vivainio.20080222193236" a="E"><vh>Documentation</vh>
13 <v t="vivainio.20080223121915" a="E" tnodeList="vivainio.20080223121915,vivainio.20080222193236.1,vivainio.20080223133858,vivainio.20080223133922,vivainio.20080223133947,vivainio.20080223134018,vivainio.20080223134100,vivainio.20080223134118,vivainio.20080223134433,vivainio.20080223142207,vivainio.20080223134136"><vh>@nosent ileointro.txt</vh>
13 <v t="vivainio.20080223121915" a="E" tnodeList="vivainio.20080223121915,vivainio.20080222193236.1,vivainio.20080223133858,vivainio.20080223133922,vivainio.20080223133947,vivainio.20080223134018,vivainio.20080223134100,vivainio.20080223134118,vivainio.20080223134433,vivainio.20080223142207,vivainio.20080223134136"><vh>@nosent ILeo_doc.txt</vh>
14 <v t="vivainio.20080222193236.1" a="E"><vh>Documentation</vh>
14 <v t="vivainio.20080222193236.1" a="E"><vh>Documentation</vh>
15 <v t="vivainio.20080223133858"><vh>Introduction</vh></v>
15 <v t="vivainio.20080223133858"><vh>Introduction</vh></v>
16 <v t="vivainio.20080223133922"><vh>Installation</vh></v>
16 <v t="vivainio.20080223133922"><vh>Installation</vh></v>
@@ -319,13 +319,14 b' onwards), and access the contents as string list (IPython SList) through'
319 If you do 'wb.foo.v = 12' when node named 'foo' does not exist, the node titled
319 If you do 'wb.foo.v = 12' when node named 'foo' does not exist, the node titled
320 'foo' will be automatically created and assigned body 12.
320 'foo' will be automatically created and assigned body 12.
321
321
322 LeoNode also supports go() that focuses the node in the Leo window, ipush that
322 LeoNode also supports go() that focuses the node in the Leo window, and ipush()
323 simulates pressing alt+I on the node.
323 that simulates pressing alt+I on the node.
324
324
325 You can access unknownAttributes by .uA property dictionary. Unknown attributes
325 You can access unknownAttributes by .uA property dictionary. Unknown attributes
326 allow you to store arbitrary (pickleable) python objects in the Leo nodes;
326 allow you to store arbitrary (pickleable) python objects in the Leo nodes; the
327 the attributes are stored when you save the .leo document, and recreated when
327 attributes are stored when you save the .leo document, and recreated when you
328 you open the document again. Example::
328 open the document again. The attributes are not visible anywhere, but can be
329 used for domain-specific metatada. Example:
329
330
330 [C:leo/src]|12&gt; wb.spam.uA['coords'] = (12,222)
331 [C:leo/src]|12&gt; wb.spam.uA['coords'] = (12,222)
331 [C:leo/src]|13&gt; wb.spam.uA
332 [C:leo/src]|13&gt; wb.spam.uA
General Comments 0
You need to be logged in to leave comments. Login now