Re: GtkOrientable: Can widgets now be flipped?



Am Sonntag, den 08.02.2009, 21:57 +0100 schrieb Murray Cumming:
> On Sun, 2009-02-08 at 21:36 +0100, Mathias Hasselmann wrote:
> > Am Sonntag, den 08.02.2009, 21:04 +0100 schrieb Murray Cumming:
> > > On Sun, 2009-02-08 at 18:47 +0100, Mathias Hasselmann wrote:
> > > > Am Sonntag, den 08.02.2009, 18:36 +0100 schrieb Murray Cumming:
> > > > > On Sun, 2009-02-08 at 14:51 +0100, Sven Herzberg wrote:
> > > > > > AFAIR, you can flip it of you create a GtkBox/GtkScale, but not if you
> > > > > > create a Gtk[HV]{Box,Scale}... Mitch?
> > > > > 
> > > > > Ah. Were those base classes (GtkBox, etc) instantiable before?
> > > > > 
> > > > > If the base classes can now already do everything then shouldn't the V/H
> > > > > classes be deprecated already?
> > > 
> > > A deprecation doesn't force people to change anything. It's not (yet) a
> > > removal of the API, though I guess that is planned for the future. It is
> > > a useful hint and it explains the apparent duplication.
> > 
> > Still you have to react on deprecations better soon than later, if you
> > want to avoid drowning some day.
> 
> Yes, but surely that decision has been made already by the addition of
> GtkOrientable?
> 
> > Oh, from reading this thread I thought this would be the case, but
> > apparently it is not. Seems you really can change the orientation of
> > some Gtk[HV]Box now. Shocking.
> 
> Actually Christian Dywan says they can't flip. But I still think they
> are meant (by the developers who made the change) to be deprecated so
> that isn't very relevant anyway.

It is relevant, as I'd seriously question a decision to deprecate
classes as widely used as Gtk[HV]Box.

The community's effort to follow that little deprecation is close to
infiniteness. Keeping Gtk[HV]Box around costs exactly 54 lines of code
and four public symbols.

Ciao,
Mathias
-- 
Mathias Hasselmann <mathias hasselmann gmx de>
Personal Blog: http://taschenorakel.de/mathias/
Openismus GmbH: http://www.openismus.com/



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