Hi Chris,

I'm interested in the code that the buttons use to message.
I'd like to generate my own buttons.  I'm suprised it is not
more obvious.

Chris


On Mon, 2006-05-15 at 08:50 -0700, Chris Muller wrote:
> Greetings Chris,
> 
> I don't know whether you are more interested in the code or the end
> result but..  another way to get these "buttons" without any code is to
> make a duplicate of the menu/tool button via Morphics "duplicate" halo.
> 
> 1.  click on the desktop, World menu appears.
> 2.  click on "open..." - open menu appears
> 3.  middle-click (or command+click) on a particular menu item TWICE
> (once for the entire menu, again for the menu item) - Morphic halos
> appear around that menu item.
> 4.  click and drag out from the green "duplicate" halo.
> 
> The same procedure can be applied to the ones on the tools flap.
> 
>  - Chris
> 
> --- Chris Kassopulo <[EMAIL PROTECTED]> wrote:
> 
> > Greetings,
> > 
> > Using the SimpleButtonMorph class I can create a button
> > that opens something like so:
> > 
> > MySimpleButtonMorph new
> >   send: #open to: Transcript;
> >   label: 'Transcript';
> >   openInHand.
> > 
> > send: #open to: Transcript
> > send: #open to: Workspace
> > send: #open to: ProcessBrowser
> > send: #open to: Celeste
> > send: #open to: Scamper
> > send: #openBrowser to: PackagePaneBrowser
> > send: #openBrowser to: Browser            "System Browser"
> > 
> > all work.
> > 
> > How do I get at the other items in the Tools flap?
> > 
> > Thanks,
> > Chris
> > 
> > _______________________________________________
> > Beginners mailing list
> > [email protected]
> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
> > 
> > 
> 
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[email protected]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to