How to use Pango::Attribute stuff?


#1

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.


#2

Sorry - I noticed this a couple of weeks ago and hadn’t got around to
submitting a patch.

2009/2/27 Magicloud M. removed_email_address@domain.invalid


#3

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. removed_email_address@domain.invalid


#4

Hi,

In removed_email_address@domain.invalid
“Re: [ruby-gnome2-devel-en] How to use Pango::Attribute stuff?” on
Fri, 27 Feb 2009 11:30:51 +0000,
Geoff Y. removed_email_address@domain.invalid 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


#5

Nice to see this
http://www.cheapest-caverta.com