Sha256: f06d7f55bfb3f6e62ee4d0322093456eeb240426c2166b2441df1125b671bf2e

Contents?: true

Size: 1.97 KB

Versions: 15

Compression:

Stored size: 1.97 KB

Contents

# @title Vedeu API

Vedeu provides a simple DSL for the creation of terminal/console based
applications. Below is a list of all the API methods:

```ruby
class OtherClassInYourApplication
  # ...

  def some_method
    Vedeu.some_api_method
  end

  # ...
```

Note: Nesting indicates where an API method is allowed/supposed to be used.

#### Borders

- Vedeu.border

#### Configuration

- Vedeu.configure
- Vedeu.configuration

#### Events

- Vedeu.bind
- Vedeu.trigger
- Vedeu.unbind

#### Geometry

- Vedeu.geometry

#### Groups

- Vedeu.group

#### Input

- Vedeu.keypress
- Vedeu.keymap
  - key
  - name
  - interface

#### Interfaces

- Vedeu.interface
  - background
  - border
  - cursor
  - colour
  - delay
  - focus!
  - foreground
  - geometry
    - centred (or centred!)
    - height
    - width
    - x
    - y
  - group
  - keymap
    - key
    - name
    - interface
  - line
  - name
  - style
  - use

#### Views

- Vedeu.renders
- Vedeu.render
  - view
    - colour
    - cursor
    - geometry
      - height
      - width
      - x
      - y
    - line
      - background
      - colour
      - foreground
      - stream
        - align
        - background
        - colour
        - foreground
        - style
        - text
        - width
      - streams
        - stream
      - text
      - style
    - lines
      - line
    - name
    - style
  - use
- Vedeu.views
  - ... as #renders

#### Menus

- Vedeu.menu
  - items
  - name

#### Renderers

- Vedeu.renderer
- Vedeu.renderers

#### Repositories

These are collections which you can access:

- Vedeu.background_colours
- Vedeu.foreground_colours
- Vedeu.borders
- Vedeu.buffers
- Vedeu.cursors
- Vedeu.events
- Vedeu.geometries
- Vedeu.groups
- Vedeu.interfaces
- Vedeu.keymaps
- Vedeu.menus

#### Miscellany

- Vedeu.cursor
- Vedeu.focus
- Vedeu.focus_by_name
- Vedeu.focussed?
- Vedeu.focus_next
- Vedeu.focus_previous
- Vedeu.height
- Vedeu.log
- Vedeu.log_stdout
- Vedeu.log_stderr
- Vedeu.resize
- Vedeu.timer
- Vedeu.width

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vedeu-0.4.59 docs/api.md
vedeu-0.4.58 docs/api.md
vedeu-0.4.57 docs/api.md
vedeu-0.4.56 docs/api.md
vedeu-0.4.55 docs/api.md
vedeu-0.4.54 docs/api.md
vedeu-0.4.53 docs/api.md
vedeu-0.4.52 docs/api.md
vedeu-0.4.51 docs/api.md
vedeu-0.4.50 docs/api.md
vedeu-0.4.49 docs/api.md
vedeu-0.4.48 docs/api.md
vedeu-0.4.47 docs/api.md
vedeu-0.4.46 docs/api.md
vedeu-0.4.45 docs/api.md