In a nutshell I set a variable of type integer, named nbpages to be the same
as NPages when a new tab is created.

I then create the tab label as a horizontal box which includes a close
button.

I have delegated the following to delete the tab when the button is clicked.
                        
closebtn.Clicked += delegate (object sender, EventArgs e)
{
     RemovePage(nbPages);
};

This does work, however, not properly, if I delete a tab which still has
existing tabs to its right, then the tabs to the right do not close when I
try to close them... any ideas?

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Bug-in-my-code-when-deleting-a-tab-in-a-Notebook-tp4034829p4034829.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to