[Gtk-sharp-list] Bug in my code when deleting a tab in a Notebook.

LDel001 junkmail at semperfy.com
Sat Nov 12 11:48:35 EST 2011


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.


More information about the Gtk-sharp-list mailing list