Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: OpenerView (with cells?)

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

Such cells have the Cell option

ShowGroupOpener->True


--David


On Apr 25, 5:31 am, "J. McKenzie Alexander" <ja... at lse.ac.uk> 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:http://www.lse.ac.uk/collections/secretariat/legal/disclaim=
er.htm



  • 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?)