Re: GTK architecture



On Fri, Feb 14, 2003 at 04:44:10PM -0500, Owen Taylor wrote:
> 
> Xt style hyper-configurability of event handling just means that you
> never get it _exactly_ right, because you can't represent all the

That's true. Xt programming is a pain and no two Xt programs behave the
same.

> fine details without code. (E.g, the menu handling in GTK+ doesn't
> remotely fall into the pattern of "invoke this action when you
> click on this widget with this button", it takes into account where
> the mouse is clicked, _when_ it is clicked, and how it is moved.)

That would be in menushell, right?

> The Tk approach of putting the event handling details in interpreted
> code is more reasonable, if you happen to have a standard interpreted
> language available.

That's closer to what I had in mind than the Xt approach.

> users don't change this stuff, and when application

Most users don't, no.

> developers change it, it's almost always a bad idea.

That's certainly true:)

Ernst




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]