86 lines
3.0 KiB
XML
86 lines
3.0 KiB
XML
<classes>
|
|
<class name='Application' singleton='1'>
|
|
<method name='editor' retval='Editor'/>
|
|
<method name='quit'/>
|
|
|
|
<method name='dialog' retval='variant' kwargs='1'/>
|
|
</class>
|
|
|
|
<class name='Editor' singleton='1'>
|
|
<method name='active_document' retval='Document'/>
|
|
<method name='set_active_document'>
|
|
<param name='doc' type='Document'/>
|
|
</method>
|
|
<method name='active_window' retval='DocumentWindow'/>
|
|
<method name='set_active_window'>
|
|
<param name='window' type='DocumentWindow'/>
|
|
</method>
|
|
|
|
<method name='documents' retval='list'/>
|
|
<method name='windows' retval='list'/>
|
|
|
|
<method name='get_document_by_path' retval='Document'>
|
|
<param name='path' type='string'/>
|
|
</method>
|
|
<method name='get_document_by_uri' retval='Document'>
|
|
<param name='uri' type='string'/>
|
|
</method>
|
|
|
|
<method name='new_window' retval='DocumentWindow'/>
|
|
<method name='new_document' retval='Document' param-name='window' param-type='DocumentWindow' param-optional='1'/>
|
|
|
|
<method name='new_file' retval='Document'>
|
|
<param name='file' type='string' optional='1'/>
|
|
<param name='encoding' type='string' optional='1'/>
|
|
<param name='window' type='DocumentWindow' optional='1'/>
|
|
</method>
|
|
<method name='open_files'>
|
|
<param name='files' type='list'/>
|
|
<param name='window' type='DocumentWindow' optional='1'/>
|
|
</method>
|
|
<method name='open_uris'>
|
|
<param name='uris' type='list'/>
|
|
<param name='window' type='DocumentWindow' optional='1'/>
|
|
</method>
|
|
<method name='open_file' retval='Document'>
|
|
<param name='file' type='string'/>
|
|
<param name='encoding' type='string' optional='1'/>
|
|
<param name='window' type='DocumentWindow' optional='1'/>
|
|
</method>
|
|
<method name='open_uri' retval='Document'>
|
|
<param name='file' type='string'/>
|
|
<param name='encoding' type='string' optional='1'/>
|
|
<param name='window' type='DocumentWindow' optional='1'/>
|
|
</method>
|
|
<method name='reload'>
|
|
<param name='doc' type='Document'/>
|
|
</method>
|
|
<method name='save' retval='bool'>
|
|
<param name='doc' type='Document'/>
|
|
</method>
|
|
<method name='save_as' retval='bool'>
|
|
<param name='doc' type='Document'/>
|
|
<param name='filename' type='string' optional='1'/>
|
|
</method>
|
|
|
|
<method name='close' retval='bool' param-name='doc' param-type='Document'/>
|
|
<method name='close_documents' retval='bool' param-name='docs' param-type='list'/>
|
|
<method name='close_window' retval='bool' param-name='window' param-type='DocumentWindow'/>
|
|
|
|
<signal name='document-save-before'>
|
|
<param name='doc' type='Document'/>
|
|
<param name='path' type='string'/>
|
|
<param name='encoding' type='string'/>
|
|
</signal>
|
|
<signal name='document-save-after'>
|
|
<param name='doc' type='Document'/>
|
|
</signal>
|
|
</class>
|
|
|
|
<class name='Document' gobject='MooEdit'>
|
|
<method name='filename' retval='string'/>
|
|
<method name='uri' retval='string'/>
|
|
<method name='basename' retval='string'/>
|
|
</class>
|
|
</classes>
|