Understanding (show-options) and (show-events)

19 views
Skip to first unread message

Amir Teymuri

unread,
Jan 23, 2016, 5:39:12 AM1/23/16
to seesaw-clj
Often when i call the (show-options) of a function it prints mostly the very same options as for other functions. For example calling (show-options (border-panel)) and (show-options (label)) and (show-options (toolbar)) all include a :text options, from which only (label) supports :text, from both others i get:    

java.lang.IllegalArgumentException
class seesaw.core.proxy$javax.swing.JToolBar$Tag$fd407141 does not
   support (seesaw.core/text!)

My question: how can i know which options are really supported, without having to check them to get exceptions or not?
Thanks
Reply all
Reply to author
Forward
0 new messages