Re: [gtkmm] get method inconsistencies

Ok, those you were agreeing are:
treemodelcolumn.h  TreeModelColumnRecord  types() -> get_types()
                   TreeModelColumnBase    type()  -> get_type()
                                          index() -> get_index()
color.h  Color  red_p()   -> get_red_p()
                green_p() -> get_green_p()
                blue_p()  -> get_blue_p()
quark.h  QueryQuark  id() -> get_id()

On Sat, 2002-08-03 at 16:16, Murray Cumming wrote:
> On Sat, 2002-08-03 at 01:46, Andreas Holzmann wrote: 
> > treemodelcolumn.h  TreeModelColumnRecord  size()  -> get_size()
> size() is STL-like. 

> > rgbcmap.h  RgbCmap  size()  -> get_size()
> size() is STL-like. 

I'm not sure about these. Just because in STL there exist size() methods
doesn't mean above classes are STL-like. I already left out those
classes that mimic STL container classes (that also have begin(), end(),
empty(), ... methods).

Am I too late now to change above method names (except the size() ones)?
You "sneaked out" the API freeze release just at a time where I had no
time to work on the gtkmm library :-)


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