2
$\begingroup$

I want to dig into what this cell is doing:

i button cell

It's clearly an attached cell but I can't get at it. Here's what I've tried:

Cells (pretty obviously not gonna work, but worth the try

Dynamic[
 cellsAll =
  Nest[
   Cases[
     Union[#,
      Flatten@Map[FrontEndExecute@*FrontEnd`ObjectChildren, #]
      ],
     _CellObject
     ] &,
   FrontEndExecute@FrontEnd`ObjectChildren[$FrontEnd],
   15
   ];
 Select[cellsAll,
   ParentNotebook[#] =!= $Failed &&

     FrontEndExecute@FrontEnd`AttachedCellParent[#] =!= $Failed &
   ] // Length,
 UpdateInterval -> 5,
 TrackedSymbols :> {}
 ]

Obviously I waited for a round of the i button to pop up. Still nothing.

So... is there any way to get at these? (if you didn't get it when it was created)

$\endgroup$

1 Answer 1

3
$\begingroup$

That drop down menu is not an AttachedCell.

$\endgroup$
6
  • $\begingroup$ Fascinating. What is it then? Is it accessible within Mathematica? $\endgroup$
    – b3m2a1
    Commented Jul 27, 2017 at 17:30
  • 1
    $\begingroup$ It is a custom control, built in native code. I am not aware of any top level entry point for it. $\endgroup$
    – ihojnicki
    Commented Jul 27, 2017 at 17:36
  • $\begingroup$ Good to know, thanks. $\endgroup$
    – b3m2a1
    Commented Jul 27, 2017 at 17:37
  • $\begingroup$ Still haven't been able to figure out how one gets an attached cell without having captured it at creation time. Any hints there? $\endgroup$
    – b3m2a1
    Commented Jul 27, 2017 at 17:43
  • $\begingroup$ I do not believe that is possible. Is there a particular problem you are trying to solve? $\endgroup$
    – ihojnicki
    Commented Jul 27, 2017 at 18:24

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.