On this page:
new-item
set-no-sublists
new-list
delete-item
get-items
open
close
toggle-open/ closed
is-open?
get-arrow-snip
Inherited methods:
from hierarchical-list-item<%>
click-select
get-allow-selection?
get-clickable-snip
get-editor
get-parent
is-selected?
select
set-allow-selection
user-data

Instantiate this interface via new-list.

method

(send a-hierarchical-list-compound-item new-item [mixin])

  (is-a?/c hierarchical-list-item<%>)
  mixin : 
((implementation?/c hierarchical-list-item<%>)
 . -> .
 (implementation?/c hierarchical-list-item<%>))
   = (lambda (%) %)

method

(send a-hierarchical-list-compound-item set-no-sublists no-sublists?)

  void?
  no-sublists? : any/c

method

(send a-hierarchical-list-compound-item new-list [mixin])

  (is-a?/c hierarchical-list-compound-item<%>)
  mixin : 
((implementation?/c hierarchical-list-compound-item<%>)
 . -> .
 (implementation?/c hierarchical-list-compound-item<%>))
   = (lambda (%) %)

method

(send a-hierarchical-list-compound-item delete-item i)  void?

  i : (is-a?/c hierarchical-list-item<%>)
Deletes immediate item or sub-list i from the sub-list.

method

(send a-hierarchical-list-compound-item get-items)

  (listof (is-a?/c hierarchical-list-item<%>))
Returns a list of all immediate items in the sub-list.

method

(send a-hierarchical-list-compound-item open)  void?

(send a-hierarchical-list-compound-item close)  void?
(send a-hierarchical-list-compound-item toggle-open/closed)
  void?
Shows or hides the items of this sub-list.

method

(send a-hierarchical-list-compound-item is-open?)  boolean?

Reports whether the items of this sub-list are visible.

method

(send a-hierarchical-list-compound-item get-arrow-snip)

  (is-a?/c snip%)
Returns a snip that corresponds to the arrow to hide/show items of the sub-list. The result is intended for use by automatic test suites.