[MonoDevelop] Closable tabs/pages on a notebook

Chris Howie cdhowie at gmail.com
Sun Dec 7 01:23:56 EST 2008


On Fri, Dec 5, 2008 at 2:21 PM, Vladimir Giszpenc <vgiszpenc at dsci.com> wrote:
> Hi,
>
> The tabs that MonoDevelop uses per file are closable (and have a nice
> icon). I looked and the notebook widget that we get does not have things
> like Icon or IconPath and IsClosable or some such property. Since the
> GNOME HIG recommend this type of thing, is there any chance of rolling
> it into MD so everyone else can make pretty apps too (easily without
> going through the MD source)?

Since you can put any widget in the tab label area instead of just a
Label, this can be done pretty easily by packing in a Label and a
Button into an HBox and adding that to the label area instead.  There
is unfortunately no prepackaged way to do this, but I don't think it's
MD's place to implement new GTK+ widgets.  I'd take it upstream if you
really want something provided for you.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Monodevelop-list mailing list