Sha256: e162020ebfcbdc2d68754d69ba4eacb16f81ffdfe3834949e0812b6905d8aa50

Contents?: true

Size: 1.36 KB

Versions: 8

Compression:

Stored size: 1.36 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

8 entries across 8 versions & 1 rubygems

Version Path
vedeu-0.6.68 docs/events/view.md
vedeu-0.6.67 docs/events/view.md
vedeu-0.6.66 docs/events/view.md
vedeu-0.6.65 docs/events/view.md
vedeu-0.6.64 docs/events/view.md
vedeu-0.6.63 docs/events/view.md
vedeu-0.6.62 docs/events/view.md
vedeu-0.6.61 docs/events/view.md