API Overview - GUI FTW! ()


Declarative GUI framework for Clojure



guiftw.events

Detailed API documentation
Functions and macros in guiftw.events handle generation of event
handlers code.
Public variables and functions: adder event-handler event-spec? listener listener&method-names


guiftw.examples.swing.basic

Detailed API documentation

  
  
  
  Public variables and functions:
  


guiftw.examples.swing.custom-adders

Detailed API documentation

  
  
  
  Public variables and functions:
  


guiftw.examples.swt.basic

Detailed API documentation

  
  
  
  Public variables and functions:
  


guiftw.props

Detailed API documentation

  
  
  
  Public variables and functions:
  get-value property-name set-on setter-name 


guiftw.special

Detailed API documentation

  
  
  
  Public variables and functions:
  special-merge special-spec? 


guiftw.styles

Detailed API documentation
Styles handling. Look in stylesheet macro doc for syntax.
Public variables and functions: CascadeSheet applies-to? cascade stylesheet


guiftw.swing

Detailed API documentation
Functions for Happy Swing User.
Public variables and functions: default-adder lafs set-laf swing swing-create swing-quirks

Variables and functions in guiftw.swing.canvas: gen-canvas


guiftw.swt

Detailed API documentation
Functions for Happy SWT User.
Public variables and functions: async-exec default-display message ok? swt swt-create swt-loop swt-thread


guiftw.tree

Detailed API documentation
Core of GUI tree stucture parsing. The parse-gui macro is heart of it.

Syntax for GUI structure:

[class1 [prop1 value1, prop2 value2, ...]
 [class2 [prop3 value3, ...] ...]
 [class3 [prop4 value4, ...] ...]
 ...]

Each node begins with class name followed by private style sheet and
any number of children. Syntax for style sheets is described in
guiftw.styles doc. Uses extra properties:

*id -- unique identifier of the object,
*groups -- seq of groups identifiers where this object belongs.

These properties are ignored when used in stylesheets created by
guiftw.styles/stylesheet macro.

Various functions return so-called GUI state wich is a map wrapped
in atom. This map contains predefined keys:

:ids -- a map with objects indentified by their :*id property given
        in style sheet.
:groups -- a map with lists of objects grouped by :*group property
           given in the style sheet,
:root -- top-level object in GUI tree (usually window).

User can add any custom key/values at will. They will be preserved.
Public variables and functions: constructor gui-creator gui-creator-args-dispatch merge-guis parse-gui


guiftw.utils

Detailed API documentation

  
  
  
  Public variables and functions:
  CamelCase camelCase-small 
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.