[Gtk-sharp-list] applets, custom widget, web browsing.

Todd Berman tberman@off.net
Sat, 10 Jul 2004 12:30:04 -0400


On Sat, 2004-07-10 at 14:59 -0700, Maurizio Colucci wrote:
> Hello, I am investigating whether it is possible to port my applications 
> (http://logicaldesktop.sourceforge.net) to Mono+GTK#.
> 
> The requirements are:
> 
> 1) the app must be a gnome-panel applet.

This is possible in the 2.4 branch of gtk#, and when gtk-sharp 2.0 is
released (preview releases begin in late october, or early november).
The support currently is very beta, but the only large missing hole at
the moment is context menus, which I will be fixing soonish. :)

> 
> 2) the app must create its own a custom widget (inherit GtkWidget and override 
> expose, realize, etc). Reason: I need a listbox widget that word-wraps its 
> items on resize (see screenshots).
> 

Yup, this works great already. However, I don't think you need a custom
widget, I believe you might be able to write a CellRenderer that does
this.

> 3) The app must have integrated web browsing. ( I am not sure this is GTK# 
> related...)

There are two ways to do this.

#1) gtkhtml-sharp
#2) gecko-sharp

They both work, but you will most likely find that one meets your
applications needs more than the other. It is up to you.

--Todd