[MonoDevelop] RichTextBox for GTK#
arup281 at gmail.com
Tue Aug 7 07:39:22 UTC 2012
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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list