3
$\begingroup$

I would like to make an interactive "to do" list with a SetterBar where I can click on the Chapter, and get a list of tasks I can add to or delete within the associated chapter.

Here is the skeleton code. I click on whichever chapter I want to update.

Manipulate[
 "Place editable 'to do' list for chosen chapter here",
 {Chapter, {"Preface", "1", "2", "3", "Appendix"},
  ControlType -> Setter}]

But how do I make an editable list (such as a bullet list) within the Manipulate window such that edits are stored appropriately for each chapter?

$\endgroup$

1 Answer 1

3
$\begingroup$

A quick-and-dirty way using TabView (sorry no bullets:):

TabView[Thread[(Style[#, ShowStringCharacters -> False] & /@
      {"Preface", "1", "2", "3",  "Appendix"}) -> 
   Table[Pane[Grid[{{Placeholder[]}}, Alignment -> Left], ImageSize -> {300, 300}], {5}]]]

enter image description here

$\endgroup$
1
  • $\begingroup$ Thanks. Very helpful (+1)... but I was hoping for the manipulate framework. $\endgroup$ Jul 20, 2019 at 16:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.