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
Hi list,
I'm a beginner with a weird background: my main language is Lua, so I
found the chapters in "Squeak by Example" that are about the graphical
interface a bit hard to follow - I had to do all the exercises twice -
but in all the chapters about syntax and semantics everything made
sense immediately - or at least I believe so... I haven't read the
chapter about "Classes and Metaclasses" yet, I'll probably start it
tomorrow...
One thing that I would like to be able to implement in the next weeks
or months would be a way to rotate a wireframe figure using sliders
until I find a good viewpoint for it, and then I would export the
parameters of that viewpoint to TikZ using copy and paste. The figures
that I am working with are things like the .png below:
http://anggtwu.net/2022eev-svg.htmlhttp://anggtwu.net/IMAGES/2022eev-svg-sela.png
I explored the morphs a bit using
World => new morph => from alphabetical list
but I couldn't find anything that looked related to 3D, and AFAICS all
the results for this search
https://wiki.squeak.org/squeak/search?search=3D&casesensitive=true
are very old, and the pages say that they don't work in recent
Squeaks...
Do you have any recommendations of starting points? Some package
installable via Monticello, maybe?
Thanks in advance! =)
Eduardo Ochs
http://angg.twu.net/http://anggtwu.net/