I have a nine textboxes nested inside of vertical panels that I want grab the text from and use. For convenience, I'm just using select
to grab them by class, then applying them to the constructor of a record. Basically something like:
(ns example.core
(:require [seesaw.core :as sc]))
(apply ->RecordConstructor
(sc/select root [:.textbox]))
This seems to work as I expect, but I haven't been able to find anything official on what defines the order that select
returns its elements in.
It seems to be based on the order that the elements were given to their parent. Is this correct?