[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-beginners
Subject:    [Newbies] SelectorBrowser: where is the action of RET stored?
From:       Eduardo Ochs <eduardoochs () gmail ! com>
Date:       2023-01-29 4:42:32
Message-ID: CADs++6jW15GUML28z0jFyUDy1UKizgmZRt3aphgZr4P+hhQ37g () mail ! gmail ! com
[Download RAW message or body]

Hi list,

I am trying to learn how to control a SelectorBrowser from code...
I discovered that I can run the lines below one by one,

  sb := SelectorBrowser prototypicalToolWindow openInWorld.
  sb explore.
  (sb submorphs at: 4) editString: 'foo'.
  (sb submorphs at: 4) editString: 'bar'.

and the "editString:" messages will change the string in the top left
pane... I don't know its name yet, so let me call it the "search bar".

What happens when we type RET in the "seach bar" of a SelectorBrowser?
From the user's point of view what happens is that it performs a
search and all other panes are updated, but what happens in a lower
level? I spent hours today exploring the SelectorBrowser and a few
other related classes, but I could not find (yet) where is the method
that converts a RET there to an action, or what is the default method
associated to a RET in the search bar...

  Thanks in advance, and
  apologies for my newbieshness =S,
    Eduardo Ochs
    http://anggtwu.net/eev-squeak.html
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic