Re: Gtk Rtl patch



Havoc Pennington <hp redhat com> writes:

> Robert Brady <robert suse co uk> writes: 
> > Argh. So it does. How does this sound - 
> >   add guint flippable : 1; to GtkRange, initialise this to 0 in
> >   gtk_range_new, have the flipping be conditional on this, and have
> >   GtkHScale's _new set it to 1.
> > 
> 
> A class variable would be cleaner, but isn't language-bindable, so
> maybe a virtual method flippable() with a default implementation that
> returns FALSE?

I think, in this case, the class variable is probably OK, since
I don't see deriving new types from GtkRange as very useful -
it would basically be an implementation detail, and that
would be fine to be C-specific.

Regards,
                                        Owen




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