Sha256: 8cbc221de44d7045bb1f9a75e0200824bc92e486fe8d1afbcebc82bd47f938ab
Contents?: true
Size: 1.35 KB
Versions: 6
Compression:
Stored size: 1.35 KB
Contents
# @title Vedeu View Events ## View Events Note: 'name' is a Symbol unless mentioned otherwise. ### `:_maximise_` Maximising an interface. Vedeu.trigger(:_maximise_, name) See {Vedeu::Geometries::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) See {Vedeu::Geometries::Geometry#unmaximise}
Version data entries
6 entries across 6 versions & 1 rubygems