<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">El 17/3/23 a las 21:55, Alexandre
Rousseau via Cuis-dev escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAKmOay+eZdrahu99ZJR3BQFfJF1ekZ1y1_7cGTX_W9A+wmH63w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div>I need to pick someone's brains.</div>
<div><br>
</div>
<div>I'm trying to find the code (for purposes of theming)
used to build this row of browser buttons (see attached).<br>
</div>
<div><br>
</div>
<div>I doubt that clicking on every selector and reading its
code in the hope of landing on the answer -- as I have done
-- is the most efficient way.
<div><br>
</div>
<div>If you wanted to find the code that built this row of
buttons, what tool(s) or actions would you take?</div>
</div>
<div><br>
</div>
<div><img src="cid:part1.kab3spNo.TjulcMia@gmail.com"
alt="Screenshot 2023-03-17 at 8.49.11 PM.png" class=""
width="556" height="204"><br>
</div>
</div>
</div>
</blockquote>
<p>This is what I do some times: click on middle mouse button
several times to open the halos on the Morph I'm interested in.
Then click on the "Menu" halo, then "debug..." and "browse morph
class". Once I'm on the morph class, I look for references to that
class (context menu + "class refs (N)"). That gives me the list of
methods that instantiate that class of morphs.</p>
<p>Other times, I look for a "root" method from which I guess the
Morphs are being built from. Probably an #initialize method, and
then follow the code and try to find the code that builds some
part of the UI.</p>
<p>Other times I look for the senders of a method. Let's say you
suspect #createClassButton is being used for building a button in
the button row (context menu + "senders of ..(n)"). I may have to
do this several times too, look for the senders of the senders,
etc.<br>
</p>
<p>Not sure if that may help you.<br>
</p>
<p><br>
</p>
<p>Cheers,<br>
</p>
<p> Mariano<br>
</p>
</body>
</html>