How to use Pango::Attribute stuff?

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.

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

2009/2/27 Magicloud M. [email protected]

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. [email protected]

Hi,

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs