MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: OpenerView (with cells?)

  • To: mathgroup at
  • Subject: [mg88145] Re: OpenerView (with cells?)
  • From: David Reiss <dbreiss at>
  • Date: Sat, 26 Apr 2008 03:44:01 -0400 (EDT)
  • References: <fus8d0$82k$>

Such cells have the Cell option



On Apr 25, 5:31 am, "J. McKenzie Alexander" <ja... at> wrote:
> In the Mathematica documentation viewer, it looks as though sections  
> and subsection headers are implemented using an OpenerView that can  
> contain cells. At least when you click on the disclosure triangle next  =

> to sections like "Examples", "More Information", "Options", and so on,  =

> the view reveals a number of input, output, and text cells.
> How are those section headers implemented?  An ordinary OpenerView, as =
> far as I can tell, cannot contain cells (although you can fake it a  
> little bit using DisplayForm).  I looked at the cell expression for  
> one using Show Expression but what I found was just a reference to a  
> stylesheet:
> Cell[TextData[{
>   "Basic Examples",
>   "  ",
>   Cell["(4)", "ExampleCount"]}], "ExampleSection",
>   CellID->454094506]
> Any ideas on how that effect is achieved? I'd like to use something  
> similar in my own notebooks.
> Many thanks,
> Jason
> --
> Dr. J. McKenzie Alexander
> Department of Philosophy, Logic and Scientific Method
> London School of Economics and Political Science
> Houghton Street, London, WC2A 2AE
> Please access the attached hyperlink for an important electronic communica=
tions disclaimer:

  • Prev by Date: Re: OpenerView (with cells?)
  • Next by Date: Re: Re: Re: Print[Plot] vs Print[text,Plot]? (*now Do and Table*)
  • Previous by thread: Re: OpenerView (with cells?)
  • Next by thread: Re: OpenerView (with cells?)