View Events
Note: 'name' is a Symbol unless mentioned otherwise.
:\_maximise\_
Maximising an interface.
Vedeu.trigger(:_maximise_, name)
See Vedeu::Geometry::Geometry#maximise
:\_movement_refresh\_
When triggered, triggers additional events which aid the updating of the output. Used when moving an interface/view.
Vedeu.trigger(:_movement_refresh_, name)
At this time, triggering this event will:
- Clear the entire terminal (assuming at least one renderer is the default (Vedeu::Renderer::Terminal)). This action is performed when moving an interface/view so that there are no 'artefacts' left behind.
- Refresh the entire terminal (as above). This means all visible interfaces are re-rendered. This action is performed to ensure other views currently visible are rendered in their current position.
- Clears the named view. This action removes the named view from the terminal (or output).
- Refreshes the named view. This action adds the named view to the terminal (or output); in the new position.
:\_resize\_
When triggered will cause Vedeu to trigger the :_clear_ and
:_refresh_ events. Please see those events for their behaviour.
Vedeu.trigger(:_resize_)
:\_unmaximise\_
Unmaximising an interface.
Vedeu.trigger(:_unmaximise_, name)