Sha256: bfc3cb937753b2e215f3e5a1727553914f62775cfda60150068342d17ce52fe2

Contents?: true

Size: 1.36 KB

Versions: 9

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::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)

See {Vedeu::Geometry::Geometry#unmaximise}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vedeu-0.6.60 docs/events/view.md
vedeu-0.6.59 docs/events/view.md
vedeu-0.6.58 docs/events/view.md
vedeu-0.6.57 docs/events/view.md
vedeu-0.6.56 docs/events/view.md
vedeu-0.6.54 docs/events/view.md
vedeu-0.6.53 docs/events/view.md
vedeu-0.6.52 docs/events/view.md
vedeu-0.6.51 docs/events/view.md