Liking cljdoc? Tell your friends :D

seesaw.dev

Functions to aid development of Seesaw apps.

Functions to aid development of Seesaw apps.
raw docstring

debug!clj

(debug!)
(debug! f)

Install a custom exception handler which displays a window with event and stack trace info whenever an unhandled exception occurs in the UI thread. This is usually more friendly than the console, especially in a repl.

Calling with no args, enables default debugging. Otherwise, pass a two arg function that takes a java.awt.AWTEvent and a java.lang.Throwable. Passing nil disables debugging.

Install a custom exception handler which displays a window with event and
stack trace info whenever an unhandled exception occurs in the UI thread.
This is usually more friendly than the console, especially in a repl.

Calling with no args, enables default debugging. Otherwise, pass a two arg
function that takes a java.awt.AWTEvent and a java.lang.Throwable. Passing
nil disables debugging.
sourceraw docstring

show-eventsclj

(show-events v)

Given a class or instance, print information about all supported events. From there, you can look up javadocs, etc.

Examples:

(show-events javax.swing.JButton) ... lots of output ...

(show-events (button)) ... lots of output ...

Given a class or instance, print information about all supported events.
 From there, you can look up javadocs, etc.

Examples:

  (show-events javax.swing.JButton)
  ... lots of output ...

  (show-events (button))
  ... lots of output ...
sourceraw docstring

show-optionsclj

(show-options v)

Given an object, print information about the options it supports. These are all the options you can legally pass to (seesaw.core/config) and friends.

Given an object, print information about the options it supports. These
are all the options you can legally pass to (seesaw.core/config) and
friends.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close