Skip to content
Commits on Dec 16, 2011
  1. @daveray
  2. @daveray

    Major refactoring of option handling throughout Seesaw.

    The option handler map for each widget was constructed once and then
    stored in "meta" for the widget. Each call to config would lookup the
    map and use the setters/getters there. This made it tricky to use
    plain-old widgets with Seesaw since they weren't initially created by
    Seesaw. With the changes in this commit, handler maps are now looked up
    by type with an extra dispensation for layout type. So, you can create a
    widget, give it a layout, and the options for that layout magically
    become available. For example:
    
        (def lbl (label :text "hi"))
        (config! lbl :south (button))
        ;=> Exception complaining about unknown option :south
        (.setLayout lbl (BorderLayout.))
        (config! lbl :south (button))
        ; works! The button's now embedded in the label
    
    Additionally with this change it will be much easier to build layouts in
    a UI builder and then use them from Seesaw. More later.
    daveray committed Dec 14, 2011
Commits on Dec 15, 2011
  1. @daveray
  2. @daveray
Commits on Dec 14, 2011
  1. @daveray
  2. @daveray

    get/set-icon -> get/set-icon* to make it clear these are extension po…

    …ints, not public API.
    daveray committed Dec 14, 2011
  3. @daveray

    Improved option printing

    daveray committed Dec 13, 2011
Commits on Dec 13, 2011
  1. @daveray
  2. @daveray
  3. @daveray

    value! for jlist was missed

    daveray committed Dec 12, 2011
Commits on Dec 12, 2011
  1. @daveray

    Update README.md

    daveray committed Dec 12, 2011
  2. @daveray

    alphabetize.

    daveray committed Dec 12, 2011
  3. @daveray

    Update contributors.

    daveray committed Dec 12, 2011
  4. @daveray

    Merge pull request #70 from Quantalume/develop

    Fixed a-save-as function (spit).
    daveray committed Dec 11, 2011
  5. @quantalume
  6. @daveray

    Now that all the examples have a common interface, we can make a laun…

    …cher for them instead of starting manually from the command-line.
    
    lein run -m seesaw.test.examples.launcher
    daveray committed Dec 11, 2011
  7. @daveray

    Updated all the examples to use the new defexample macro. Now, when t…

    …hey're run from the command-line, they exit correctly, etc.
    daveray committed Dec 11, 2011
  8. @daveray
  9. @daveray

    Modified (frame) to default frame width and height to 0x0 if not give…

    …n. That way it's possible to tell whether a frame needs packing before display.
    daveray committed Dec 11, 2011
Commits on Dec 11, 2011
  1. @daveray

    Cleaned up custom dialog a bit. Use (seesaw.core/value) to grab dialo…

    …g result in one step.
    daveray committed Dec 11, 2011
  2. @daveray
  3. @daveray
  4. @daveray
Commits on Dec 10, 2011
  1. @daveray
  2. @daveray
  3. @daveray
  4. @daveray
  5. @daveray
  6. @daveray

    Moved :model out of default-options and added it individually to the …

    …widgets that support it.
    daveray committed Dec 9, 2011
Commits on Dec 9, 2011
  1. @daveray
  2. @daveray

    Starting to work on tools to make life easier in the repl. Given a cl…

    …ass or widget, print out info about all supported events.
    daveray committed Dec 8, 2011
  3. @daveray

    Fix for issue #67. Calling (text) or (text!) on something that doesn'…

    …t support it now throws an exception rather than StackOverflowError.
    
    Also extended combobox to support (text). It returns the (str (selection cb)) or nil.
    daveray committed Dec 8, 2011
  4. @daveray
  5. @daveray

    Update readme a bit

    daveray committed Dec 8, 2011
Commits on Dec 8, 2011
  1. @daveray

    Added font-families function to get a list of all the valid font fami…

    …ly names on the system.
    daveray committed Dec 7, 2011
Something went wrong with that request. Please try again.