Simple html markup with Gtk::TextView

Hi everyone,

I would like to know if, in the same way than a Gtk::Label [1], there
exists
a simple way to use html markup with Gtk::TextView.

I’ve been browsing the api reference and didn’t find any simple method.

Any idea?

Thanks,
Mathieu.

[1] http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ALabel

Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

On 6/22/06, Mathieu B. [email protected] wrote:

Hi everyone,

I would like to know if, in the same way than a Gtk::Label [1], there exists
a simple way to use html markup with Gtk::TextView.

Seems that gtk developers don’t care of such a feature :frowning:

http://bugzilla.gnome.org/show_bug.cgi?id=59390


Guillaume C. - http://zarb.org/~gc/

Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Hi Guillaume,

Seems that gtk developers don’t care of such a feature :frowning:

Bug 59390 – load Pango Markup into GtkTextBuffer

Thanks for your answer. I think that it is pity because every
application has to duplicate the same code. That’s a very common need.

I guess the Ruby-GNOME2 development policy is to stick to the GTK API
but I think it would be worth adding a small extention to the
Gtk::TextView class, at least in samples/.


Mathieu B.
http://www.mblondel.org

Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642