moo.EditWindow - document window object
Prev | Chapter 1. medit Lua API | Next

## moo.EditWindow - document window object

    moo.Window
      |
      +-- moo.EditWindow

### signal before-close

    before-close()

`Returns:` `moo.CloseResponse`

### signal will-close

    will-close()

### close()

    window.close()

`Returns:` `bool`

### close_all()

    window.close_all()

`Returns:` `bool`

### get_active_doc()

    window.get_active_doc()

`Returns:` `moo.Edit`

### get_active_tab()

    window.get_active_tab()

`Returns:` `moo.EditTab`

### get_active_view()

    window.get_active_view()

`Returns:` `moo.EditView`

### get_docs()

    window.get_docs()

`Returns:` list of `moo.Edit` objects

### get_editor()

    window.get_editor()

`Returns:` `moo.Editor`

### get_n_tabs()

    window.get_n_tabs()

`Returns:` `integer`

### get_output()

    window.get_output()

Get the output pane, create it if necessary. This function does not open the pane, use `moo.EditWindow.present_output()` for that.

`Returns:` an output pane, as `moo.CmdView` object.

### get_tabs()

    window.get_tabs()

`Returns:` list of `moo.EditTab` objects

### get_views()

    window.get_views()

`Returns:` list of `moo.EditView` objects

### present_output()

    window.present_output()

Open the output pane.

### set_active_doc()

    window.set_active_doc(doc)

`doc` : | `moo.Edit`

### set_active_tab()

    window.set_active_tab(tab)

`tab` : | `moo.EditTab`

### set_active_view()

    window.set_active_view(view)

`view` : | `moo.EditView`

Prev | Up | Next
moo.EditView - document view object | Home | moo.Editor - editor object