Re: [gtk-list] Re: Window manager window placement and X modifiers/states



Paul Barton-Davis <pbd@op.net> writes:
> although i love GTK's adoption of the TeX glue+box model, the one area
> where it falls down is in the domain of widgets that actually have to
> be a certain size in order to work. when this size is a function of

I think what's falling down here is the widgets, rather than the
geometry model. i.e. the widgets should be able to give a more
intelligent size_request.
 
> the most egregious example of this is the GtkEntry widget used with a
> GtkSpinButton. This often ends up being a completely useless size,
> unrelated to the width necessary to display the value range of the
> associated adjustment.
>

Here for example a simple gtk_spin_button_size_for(spinbutton, text)
added to the API would solve the problem.

Havoc



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