Re: GtkOrientable: Can widgets now be flipped?



Am Sonntag, den 08.02.2009, 13:07 +0100 schrieb Murray Cumming:
> The new GtkOrientable's documentation
> http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#gtk-Orientable.description
> says:
> "Historically, such widgets have been realized as subclasses of a common
> base class (e.g GtkBox/GtkHBox/GtkVBox and
> GtkScale/GtkHScale/GtkVScale). GtkOrientable is more flexible in that it
> allows the orientation to be changed at runtime, allowing the widgets to
> 'flip'.
> 
> All those old widgets do now implement GtkOrientation:
> http://library.gnome.org/devel/gtk/unstable/gtk-Orientable.html#gtk-Orientable.implementations
> 
> So can they actully be flipped at runtime now? The documentation seems
> to suggest that they can't if they still use the old common base
> classes.

AFAIR, you can flip it of you create a GtkBox/GtkScale, but not if you
create a Gtk[HV]{Box,Scale}... Mitch?

Regards,
  Sven



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