[REBOL] Re: Examining the layout object
From: brett:codeconscious at: 3-Jul-2002 13:52
Hi Carl,
As Anton has shown, it finds a face that has the specified shortcut key
defined on it. It is called by another part of VID to implement shortcut
keys for VID layouts. Based on the logic of this function I wrote a few face
search functions that find faces given a function that tests a condition:
http://www.codeconscious.com/rebsite/rebol-library/face-searches.r
In answer to the next question "what have you used these for?", I used them
in my "Play app" demos on Rebiste "Code. C.".
These demos were an experiment automating pre-existing view applications
.eg. Calculator, Effect lab. My demo uses the search functions to find
buttons and activate them, etc. finally taking a screen (face) capture of
the resulting screens.
Given your explorations of the face (and it pane) resulting from the Layout
function, I thought you might be interested.
Regards,
Brett