Hi, With C or pygtk, I could set a foreground attribute with index. But as it turns out, in ruby-gtk, I cannot, since there is no way to change the index. So, any idea how to make part of the whole text in another color with pango layout? Thanks.
on 2009-02-27 04:17
on 2009-02-27 13:32
Sorry - I noticed this a couple of weeks ago and hadn't got around to submitting a patch. 2009/2/27 Magicloud M. <email@example.com>
on 2009-02-28 16:45
I see. Thanks for the hard work. And one another thing, something about file system changed in the new version of gtk2, so ruby-gtk failed building with the latest gtk2. 2009/2/27 Geoff Y. <firstname.lastname@example.org>
on 2009-03-07 15:59
Hi, In <email@example.com> "Re: [ruby-gnome2-devel-en] How to use Pango::Attribute stuff?" on Fri, 27 Feb 2009 11:30:51 +0000, Geoff Y. <firstname.lastname@example.org> wrote: > Sorry - I noticed this a couple of weeks ago and hadn't got around to > submitting a patch. I've added the features described in your patch. Thanks, -- kou