Skip to content
Browse files

1.4.1 doc update

  • Loading branch information...
1 parent a6d21ef commit 6fa04e0cc110457be16f4e63b13e792598e48a1d @daveray committed
Showing with 8 additions and 8 deletions.
  1. +4 −4 index.clj
  2. +2 −2 seesaw.core-api.html
  3. +1 −1 seesaw.event-api.html
  4. +1 −1 seesaw.invoke-api.html
View
8 index.clj
@@ -1153,7 +1153,7 @@
:line 112,
:var-type "var",
:doc
- "Alias of seesaw.event/listen:\n\n*note: use seesaw.core/listen rather than calling this directly*\n\nInstall listeners for one or more events on the given target. For example:\n\n (listen (button \"foo\")\n :mouse-entered (fn [e] ...)\n :focus-gained (fn [e] ...)\n :key-pressed (fn [e] ...)\n :mouse-wheel-moved (fn [e] ...))\n\none function can be registered for multiple events by using a set\nof event names instead of one:\n\n (listen (text)\n #{:remove-update insert-update} (fn [e] ...))\n\nNote in this case that it's smart enough to add a document listener\nto the JTextFields document.\n\nSimilarly, an event can be registered for all events in a particular swing\nlistener interface by just using the keyword-ized prefix of the interface\nname. For example, to get all callbacks in the MouseListener interface:\n\n (listen my-widget :mouse (fn [e] ...))\n\nReturns a function which, when called, removes all listeners registered\nwith this call.\n\nWhen the target is a JTable and listener type is :selection, only\nrow selection events are reported. Also note that the source table is\n*not* retrievable from the event object.\n",
+ "Alias of seesaw.event/listen:\n\n*note: use seesaw.core/listen rather than calling this directly*\n\nInstall listeners for one or more events on the given target. For example:\n\n (listen (button \"foo\")\n :mouse-entered (fn [e] ...)\n :focus-gained (fn [e] ...)\n :key-pressed (fn [e] ...)\n :mouse-wheel-moved (fn [e] ...))\n\none function can be registered for multiple events by using a set\nof event names instead of one:\n\n (listen (text)\n #{:remove-update :insert-update} (fn [e] ...))\n\nNote in this case that it's smart enough to add a document listener\nto the JTextFields document.\n\nSimilarly, an event can be registered for all events in a particular swing\nlistener interface by just using the keyword-ized prefix of the interface\nname. For example, to get all callbacks in the MouseListener interface:\n\n (listen my-widget :mouse (fn [e] ...))\n\nReturns a function which, when called, removes all listeners registered\nwith this call.\n\nWhen the target is a JTable and listener type is :selection, only\nrow selection events are reported. Also note that the source table is\n*not* retrievable from the event object.\n",
:name "listen"}
{:arglists ([v]),
:name "make-widget",
@@ -1538,7 +1538,7 @@
:raw-source-url nil,
:wiki-url "/seesaw.core-api.html#seesaw.core/styled-text",
:doc
- "Create a text pane.\nSupports the following options:\n\n :text text content.\n :wrap-lines? If true wraps lines.\n This only works if the styled text is wrapped\n in (seesaw.core/scrollable). Doing so will cause\n a grey area to appear to the right of the text.\n This can be avoided by calling\n (.setBackground (.getViewport s) java.awt.Color/white)\n on the scrollable s.\n :styles Define styles, should be a list of vectors of form:\n [identifier & options]\n Where identifier is a string or keyword\n Options supported:\n :font See (seesaw.font/to-font)\n :size An integer.\n :color See (seesaw.color/to-color)\n :background See (seesaw.color/to-color)\n :bold bold if true.\n :italic italic if true.\n :underline underline if true.\n\nSee:\n (seesaw.core/style-text!)\n http://download.oracle.com/javase/6/docs/api/javax/swing/JTextPane.html\n",
+ "Create a text pane.\nSupports the following options:\n\n :text text content.\n :wrap-lines? If true wraps lines.\n This only works if the styled text is wrapped\n in (seesaw.core/scrollable). Doing so will cause\n a grey area to appear to the right of the text.\n This can be avoided by calling\n (.setBackground (.getViewport s) java.awt.Color/white)\n on the scrollable s.\n :styles Define styles, should be a list of vectors of form:\n [identifier & options]\n Where identifier is a string or keyword\n Options supported:\n :font A font family name as keyword or string.\n :size An integer.\n :color See (seesaw.color/to-color)\n :background See (seesaw.color/to-color)\n :bold bold if true.\n :italic italic if true.\n :underline underline if true.\n\nSee:\n (seesaw.core/style-text!)\n http://download.oracle.com/javase/6/docs/api/javax/swing/JTextPane.html\n",
:var-type "function",
:line 1474,
:file "src/seesaw/core.clj"}
@@ -1974,7 +1974,7 @@
:raw-source-url nil,
:wiki-url "/seesaw.event-api.html#seesaw.event/listen",
:doc
- "\n*note: use seesaw.core/listen rather than calling this directly*\n\nInstall listeners for one or more events on the given target. For example:\n\n (listen (button \"foo\")\n :mouse-entered (fn [e] ...)\n :focus-gained (fn [e] ...)\n :key-pressed (fn [e] ...)\n :mouse-wheel-moved (fn [e] ...))\n\none function can be registered for multiple events by using a set\nof event names instead of one:\n\n (listen (text)\n #{:remove-update insert-update} (fn [e] ...))\n\nNote in this case that it's smart enough to add a document listener\nto the JTextFields document.\n\nSimilarly, an event can be registered for all events in a particular swing\nlistener interface by just using the keyword-ized prefix of the interface\nname. For example, to get all callbacks in the MouseListener interface:\n\n (listen my-widget :mouse (fn [e] ...))\n\nReturns a function which, when called, removes all listeners registered\nwith this call.\n\nWhen the target is a JTable and listener type is :selection, only\nrow selection events are reported. Also note that the source table is\n*not* retrievable from the event object.\n",
+ "\n*note: use seesaw.core/listen rather than calling this directly*\n\nInstall listeners for one or more events on the given target. For example:\n\n (listen (button \"foo\")\n :mouse-entered (fn [e] ...)\n :focus-gained (fn [e] ...)\n :key-pressed (fn [e] ...)\n :mouse-wheel-moved (fn [e] ...))\n\none function can be registered for multiple events by using a set\nof event names instead of one:\n\n (listen (text)\n #{:remove-update :insert-update} (fn [e] ...))\n\nNote in this case that it's smart enough to add a document listener\nto the JTextFields document.\n\nSimilarly, an event can be registered for all events in a particular swing\nlistener interface by just using the keyword-ized prefix of the interface\nname. For example, to get all callbacks in the MouseListener interface:\n\n (listen my-widget :mouse (fn [e] ...))\n\nReturns a function which, when called, removes all listeners registered\nwith this call.\n\nWhen the target is a JTable and listener type is :selection, only\nrow selection events are reported. Also note that the source table is\n*not* retrievable from the event object.\n",
:var-type "function",
:line 470,
:file "src/seesaw/event.clj"}
@@ -2329,7 +2329,7 @@
:raw-source-url nil,
:wiki-url "/seesaw.invoke-api.html#seesaw.invoke/invoke-later",
:doc
- "Equivalent to SwingUtilities/invokeLater. Executes the given body sometime\nin the future on the Swing UI thread. For example,\n\n (invoke-later\n (config! my-label :text \"New Text\"))\n\nNotes:\n\n (seesaw.core/invoke-now) is an alias of this macro.\n\nSee:\n\n http://download.oracle.com/javase/6/docs/api/javax/swing/SwingUtilities.html#invokeLater(java.lang.Runnable) \n",
+ "Equivalent to SwingUtilities/invokeLater. Executes the given body sometime\nin the future on the Swing UI thread. For example,\n\n (invoke-later\n (config! my-label :text \"New Text\"))\n\nNotes:\n\n (seesaw.core/invoke-later) is an alias of this macro.\n\nSee:\n\n http://download.oracle.com/javase/6/docs/api/javax/swing/SwingUtilities.html#invokeLater(java.lang.Runnable) \n",
:var-type "macro",
:line 30,
:file "src/seesaw/invoke.clj"}
View
4 seesaw.core-api.html
@@ -1386,7 +1386,7 @@ <h2 id="seesaw.core/listen">listen</h2>
of event names instead of one:
(listen (text)
- #{:remove-update insert-update} (fn [e] ...))
+ #{:remove-update :insert-update} (fn [e] ...))
Note in this case that it's smart enough to add a document listener
to the JTextFields document.
@@ -2359,7 +2359,7 @@ <h2 id="seesaw.core/styled-text">styled-text</h2>
[identifier &amp; options]
Where identifier is a string or keyword
Options supported:
- :font See (seesaw.font/to-font)
+ :font A font family name as keyword or string.
:size An integer.
:color See (seesaw.color/to-color)
:background See (seesaw.color/to-color)
View
2 seesaw.event-api.html
@@ -115,7 +115,7 @@ <h2 id="seesaw.event/listen">listen</h2>
of event names instead of one:
(listen (text)
- #{:remove-update insert-update} (fn [e] ...))
+ #{:remove-update :insert-update} (fn [e] ...))
Note in this case that it's smart enough to add a document listener
to the JTextFields document.
View
2 seesaw.invoke-api.html
@@ -93,7 +93,7 @@ <h2 id="seesaw.invoke/invoke-later">invoke-later</h2>
Notes:
- (seesaw.core/invoke-now) is an alias of this macro.
+ (seesaw.core/invoke-later) is an alias of this macro.
See:

0 comments on commit 6fa04e0

Please sign in to comment.
Something went wrong with that request. Please try again.