Dear Steven,
Please excuse my brevity.
On Thu, 2007-06-07 at 08:37 -0400, Steven Sheriff wrote:
> Paul:
>
> I can parse the individual words, but I don't understand
> what you did.
More verbosely then... recently (0.3.1, I think) Coot gained a function
generic-double-entry, which allowed you to pass parameters such as
button labels, hint texts and callback functions and would render for
you a dialog. This seemed to me to be an easy way to write simple guis.
For 0.3.2, I changed the interface to this function so that you need
extra arguments for a check-button (simply pass #f #f as these arguments
and the check button is not rendered). The call-back (action that
happens when the "Go" button is pressed) takes, as well as the normal 2
string arguments, an extra argument, which is the state (#t or #f) of
the check-button [e.g. see attached for the generated dialog].
Coot-0.3.2 will complain with a little green box of errors if your
callback to generic-double-entry does not take 3 arguments.
So the people affected by this are those who have extended Coot quite
recently by writing their own GUI dialog (a GUI dialog that uses the
generic-double-entry function).
> Moreover, when I click on the hypertext, it downloads one
> image, but you say "two masked maps are shown".
... yes.
> I would agree that I
> see a map in two different colors (or, perhaps, two maps in two
> different colors),
Yes, 2 maps, each in a different colour.
> one of which highlights a TRP.
Yes, and the other "un-hilights" the TRP. The density is suppressed.
(The original (unmasked) map is not shown).
This is a GUI for the function to which Roberto Steiner obliquely
referred a little while ago.
Paul.
> >Dear Coot GUI scripters,
> >
> >I have changed the interface to generic-double-entry so that it can now
> >show a check button.
> >
> >I needed it for map masking and I thought others may need it too
> >(generally, I try not to change the interfaces in this way (not
> >backwardsly-compatible)). This is an exception, so I'm letting you know.
> >Hopefully there won't be too much pain.
> >
> >Here's a example of the result of it in action - easy map mask
> >inversion:
> >
> >http://www.ysbl.york.ac.uk/~emsley/coot/screenshots/masking-example-regular-and-inverted.png
> >
> >(2 masked maps are shown)
> >
> >Paul.
> >
> >
>
|