Re: Evolving ComboBox API



On Thu, 2003-04-24 at 17:56, Kristian Rietveld wrote:
> On Thu, 2003-04-24 at 18:24, Owen Taylor wrote:
> > I suppose one way of making it obvious that "columns" here doesn't
> > refer to the layout is to bite the bullet and do:
> > 
> >  _set_column_span_column()
> >  _set_row_span_column()
> 
> I would rather have a function which sets both columns at once (as in my
> proposal). This way we avoid having people who only set one of the
> columns and are then puzzled why things aren't working properly.

It seems to me that setting the two columns is pretty orthogonal;
in my original proposal, I even allowed -1 for "don't set this
value", if I recall correctly.

If the column column is unset you always use 1, if the row column
is unset, you always use 1.

Regards,
                                                Owen





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