Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (29 sloc) 1.23 KB
  1. Consider using this guiftw.swing/swing-quirks style sheet by default.

  2. Add function helpers for more convenient selecting objects at runtime. Like getting children of some object and selecting only those who belong to some group. (think of more)

  3. SWT: Add support for custom function running inside swt-loop to catch exceptions. Then user could write function like:

    (defn my-exception-handler [f]
      (try (f)
        (catch A a ...)
        (catch B b ...)
        (finally ...)))

    and invoke swt-loop like (swt-loop my-exception-handler)

    Alternative version: user writes only function that gets exceptions as a argument. (less likely, user have less control)

  4. TREE: Add support for composing gui structures of smaller ones. e.g. to write

    (let [a (swing [JButton])
          b (swing [JButton])]
     (swing [JFrame [] a b]))
  5. Consider caching computed styles for objects.

    It'll preserve style in a map in gui state so we could reuse it later. Needed for custom adders (we need to know *adder property of parent when creating children -- not possible atm).

  6. Throw meaningful exception when class is not found instead of NullPointerException.

Jump to Line
Something went wrong with that request. Please try again.