On Fri, Sep 16, 2011 at 10:09 AM, Terry Brown <[email protected]> wrote:
> On Fri, 16 Sep 2011 09:58:35 -0500
> Kent Tenney <[email protected]> wrote:
>
>> Right, but if that series of actions could be described in a config
>> file I wouldn't have to remember the process, and config files could
>> be provided, obviating any need to understand.
>
> Surely setting up a layout with a mouse is easier than describing it in
> a textual way?

Maybe setting up is easier, but it's harder to attach mouse actions
to an email, or put them under version control, or select them from
a dropdown list ...

>
>> hmm, where is the file generated by "Save Layout" ?
>
> Ha, files, that's so 2010 ;-)

:-]

Ha, obscure proprietary config, that's so Windows Registry :-P

>
> It's in g.app.db.
>
> import pprint
> g.es(pprint.pformat(g.app.db['ns_layouts']))
>
> {'Bookmarks': {'content': [{'content': ['_leo_pane:outlineFrame',
>                                        '_leo_pane:logFrame'],
>                            'orientation': 2,
>                            'sizes': [548, 226]},
>                           {'content': ['_leo_bookmarks_show:',
>                                        '_leo_pane:bodyFrame'],
>                            'orientation': 2,
>                            'sizes': [31, 743]}],
>               'orientation': 1,
>               'sizes': [387, 964]},
>  'Default': {'content': [{'content': ['_leo_pane:outlineFrame',
>                                      '_leo_pane:logFrame'],
>                          'orientation': 2,
>                          'sizes': [394, 394]},
>                         '_leo_pane:bodyFrame'],
>             'orientation': 1,
>             'sizes': [384, 968]},
>  'Edit DML': {'content': [{'content': ['_leo_pane:outlineFrame'],
>                           'orientation': 2,
>                           'sizes': [797]},
>                          {'content': ['_leo_pane:bodyFrame',
>                                       {'content': ['_leo_tab:Attribs',
>                                                    '_leo_tab:Links',
>                                                    '_leo_pane:logFrame'],
>                                        'orientation': 1,
>                                        'sizes': [321, 434, 321]}],
>                           'orientation': 2,
>                           'sizes': [457, 334]}],
>              'orientation': 1,
>              'sizes': [425, 1092]},
>  'Main': {'content': [{'content': ['_leo_pane:outlineFrame'],
>                       'orientation': 2,
>                       'sizes': [764]},
>                      {'content': ['_leo_bookmarks_show:',
>                                   '_leo_pane:bodyFrame',
>                                   '_leo_pane:logFrame'],
>                       'orientation': 2,
>                       'sizes': [53, 475, 224]}],
>          'orientation': 1,
>          'sizes': [380, 946]},
>  'RST Long': {'content': [{'content': [{'content': ['_leo_bookmarks_show:',
>                                                    '_leo_pane:bodyFrame'],
>                                        'orientation': 2,
>                                        'sizes': [31, 549]},
>                                       {'content': ['_leo_pane:logFrame'],
>                                        'orientation': 2,
>                                        'sizes': [586]}],
>                           'orientation': 1,
>                           'sizes': [961, 386]},
>                          '_leo_pane:outlineFrame'],
>              'orientation': 2,
>              'sizes': [594, 184]},
>  'ToDo': {'content': [{'content': ['_leo_pane:outlineFrame'],
>                       'orientation': 2,
>                       'sizes': [832]},
>                      {'content': ['_leo_pane:bodyFrame',
>                                   {'content': ['_leo_tab:Task',
>                                                '_leo_pane:logFrame'],
>                                    'orientation': 1,
>                                    'sizes': [374, 374]}],
>                       'orientation': 2,
>                       'sizes': [568, 258]}],
>          'orientation': 1,
>          'sizes': [450, 762]},
>  'graph': {'content': [{'content': ['_leo_pane:outlineFrame',
>                                    '_leo_pane:logFrame'],
>                        'orientation': 2,
>                        'sizes': [394, 163]},
>                       {'content': ['_leo_tab:Graph',
>                                    '_leo_pane:bodyFrame'],
>                        'orientation': 2,
>                        'sizes': [279, 278]}],
>           'orientation': 1,
>           'sizes': [387, 963]}}
>
> --
> You received this message because you are subscribed to the Google Groups 
> "leo-editor" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/leo-editor?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to