Re: Can we redisgn GTK+ so drawing handled in theme engine completely?



On Fri, 2009-09-18 at 10:53 +0800, Xu Tang wrote:
> Hello, everyone.
> Now we can use theme engine to draw widget besides text now. But why
> do we must preserve text drawing in GTK+ source code? Is it because
> the history reason only?

Not entirely true, GtkStyle has a vfunc called draw_layout, which can be
used to draw text (pango layouts) through the theme engine.

Regards,

Thomas



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