[MonoDevelop] RichTextBox for GTK#

Abhi arup281 at gmail.com
Tue Aug 7 07:39:22 UTC 2012


Hello,
is there any Richtextbox alternative for Monodevelop's GTK# widget?
actually Visual Studio has one, i want something like this for my program.
my program shows web search result from Bing (using Bing search API from
Azure marketplace) and display those results in a richtextbox under visual
studio.
display format is:

Title: <result title>
URL: <result url>
here Url displays as hyperlink (blue color) and when user click this
hyperlink it opens in browser.

Here is the code i wrote for richtextbox under visual studio:

*foreach (var result in webResults)
                    {
                        richTextBox1.Text = richTextBox1.Text +
(result.Title + " \nURL: " + result.Url + "\n\n");
                    }*

but there's only textview widget in GTK# and it can't handle richtext
properly, i mean it can show both title and url, but url displaying as
plain text, not as hyperlink like richtextbox.
so i need some help. is there any way to format textview so that it can
show URL as hyperlink just like richtextbox of Winform app? i'm a new user
of monodevelop, so little help will be nice for me. thanks in advance.
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120807/a9b5c765/attachment-0001.html>


More information about the Monodevelop-list mailing list