Re: Simple Html-View widget

2011-09-11 Thread Dov Grobgeld
Just use gtk_label_set_markup().

Regards,
Dov

On Sat, Sep 10, 2011 at 20:35, Craig craigbakal...@verizon.net wrote:

 Hi,

 I am not expert on this issue, but isn't Pango the way to go.  I think
 you should look up the Pango functions or how gtk deals with the Pango
 thing.

 Craig Bakalian

  Hello,
 
  in my application I store some Text data in xml files.
  Some nodes are displayed via a gtk-label or an gtk-entry, others are
 displayed via a gtk text-view.
 
  Now I want to extend the text-view (and storage) with the capability to
 handle some formated text.
  I just need things like bold text, linefeed, maybe headers and colors.
  Since I don't want to create a own text storage format and I am using
 already xml for text storing
  html would be nearby.
 
  Is there some Gtk-Widget like the textview/buffer which can render simple
 HTML Tags?
  If not, what is your recommendation for my problem.
 
  regards
 Arne


 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Simple Html-View widget,

2011-09-09 Thread Arne Pagel

Hello,

in my application I store some Text data in xml files.
Some nodes are displayed via a gtk-label or an gtk-entry, others are displayed 
via a gtk text-view.

Now I want to extend the text-view (and storage) with the capability to handle 
some formated text.
I just need things like bold text, linefeed, maybe headers and colors.
Since I don't want to create a own text storage format and I am using already xml for text storing 
html would be nearby.


Is there some Gtk-Widget like the textview/buffer which can render simple HTML 
Tags?
If not, what is your recommendation for my problem.

regards
  Arne
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list