On 03-Oct-2000 Angus Leeming wrote:

> So that I have a pointer to a (say) button AND a long argument telling me 
> that this callback is from that button?
> 

Yes!

> The only thing we'd gain by having a single InputCB() function that calls a 
> single input() function is code consistency. All the other xforms dialogs do 
> things this way now, so it makes it very easy for the developer to work out 
> what's going on. All those button-dependent things you do would stay in the 
> same functions as now, but be called from a single input() rather than 
> multiple static funcs.

Ok I understand that but you then would need some support functions to not
make the input() function a monster function, wouldn't you?

       Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Software, n.:
        Formal evening attire for female computer analysts.

Reply via email to