Ok, I have played around a little more, and I found a method OBTextPanel&gt;&gt;yellowButtonMenu, where I was able to get the &quot;button&quot; in the right place, but I can&#39;t figure out the correct action for it :(.&nbsp; I am not sure if we are thinking of the same thing,&nbsp; If you need any clarification of my problem, I would be more than happy to explain it to you better :)<br>
<br><div class="gmail_quote">On Wed, Mar 5, 2008 at 1:10 AM, Damien Cassou &lt;<a href="mailto:damien.cassou@gmail.com">damien.cassou@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi David,<br>
<div class="Ih2E3d"><br>
On Wed, Mar 5, 2008 at 12:18 AM, David Zmick &lt;<a href="mailto:dz0004455@gmail.com">dz0004455@gmail.com</a>&gt; wrote:<br>
&gt; Where can I edit the menu that opens in the default squeak-dev image<br>
&gt; browser? &nbsp;I want to add an button to it, but I don&#39;t know where to do that.<br>
&gt; also, I am very new to morphic, so I might be having a hard time because I<br>
&gt; am not familiar with the common structure of things.<br>
<br>
<br>
</div>The default browsers in squeak-dev images are OmniBrowser based. In<br>
OmniBrowser, we don&#39;t create menus, we install commands. To install a<br>
new command:<br>
<br>
- Create a class which inherits from OBCommand<br>
- Implement #isActive, #execute and #label (look at the other subclasses)<br>
- In OBCodeBrowser implement a method whose name starts with &#39;cmd&#39;<br>
which returns the class you&#39;ve just created.<br>
- Open a new browser<br>
<br>
--<br>
<font color="#888888">Damien Cassou<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>David Zmick<br>/dz0004455\<br><a href="http://dz0004455.googlepages.com">http://dz0004455.googlepages.com</a>