Sha256: 5d2fc8f693ea67b1b4b8fb823c446ed5bd8936db6b168fdb1a058cd6186a54d3
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
## Vedeu API Vedeu provides a simple DSL for the creation of terminal/console based applications. Below is a list of all the API methods. These can be accessed in your application by including Vedeu in your class or module or by calling them directly. ### API 'include' example Doing it this way will mean you can use any API method without the `Vedeu.` prefix. ```ruby class SomeClassInYourApplication include Vedeu ... ``` ### API direct example Doing it this way means you need to use the `Vedeu.` prefix. ```ruby class OtherClassInYourApplication ... def some_method Vedeu.some_api_method end ... ``` ... TODO ... ### API DSL methods Note: Nesting indicates where an API method is allowed/supposed to be used. #### Events - event - trigger - unevent #### Input - keypress - keys - key - interface #### Interfaces - interface - centred (or centred!) - colour - delay - group - height - name - style - use - width - x - y #### Views - render - views - view - view - colour - line - background - colour - foreground - stream - align - background - colour - foreground - style - text - width - style - name - style - use #### Menus - menu - items - name #### Miscellany - defined - focus - height - log - resize - width
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.2.4 | docs/api.md |