Re: Can we redisgn GTK+ so drawing handled in theme engine completely?
- From: Thomas Wood <thos gnome org>
- To: Xu Tang <tangxu sh gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Can we redisgn GTK+ so drawing handled in theme engine completely?
- Date: Fri, 18 Sep 2009 11:48:24 +0100
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]