[MonoDevelop] Stripped down GTK# notebook tabs for monodevelop

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Apr 17 12:52:09 EDT 2009


On Fri, Apr 17, 2009 at 3:05 AM, Anirudh <anirudh at anirudhsanjeev.org> wrote:
>
> I got a demo of the screen space saving tab implementation nearly working,
> just have a small GTK# issue.
>
> The tab label is derived from a GTK# HBox. I have to remove and re-enable
> the icon and close button on the fly. I tried deleting and re-creating them
> but gtk# threw up some error regarding Reparenting of widgets, so now I'm
> changing the visibility, which makes it work, though there's still a small
> bit of padding left behind.
>
> Can someone who's worked with it tell me which is the optimum way of dealing
> with a GTK# Hbox? I'm not able to find any documentation on how to
> manipulate the GtkContainer objects?

What error are you getting? Using the parent container's Remove/Pack*
methods should work fine.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list